lkml.org 
[lkml]   [2004]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CONFIG_PREEMPT and server workloads
At Fri, 19 Mar 2004 08:46:47 -0500,
Chris Mason wrote:
>
> > - in write_ordered_buffers().
> >
> > i still don't figure out where. we have already cond_resched()
> > check in the loops. this one is triggered when i write bulk data
> > in parallel (1GB write with 20 threads at the same time), resulting
> > in up to 2ms.
> >
> Hmmm, is this a lock latency or just noticing that write() takes a long
> time?
>
> It's probably this:
> if (chunk.nr == 0 && need_resched) {
>
> I'll bet the latencies go away when you drop the chunk.nr test.

i'll give a try. thanks for hints.


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.167 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site