lkml.org 
[lkml]   [2000]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Weirdness in block device queues.
Eric, sorry for the late reply.

On Thu, 7 Sep 2000, Eric Youngdale wrote:

> The oddness is this. We were observing stalls in the processing of
>commands that was traced to the fact that the queue had remained plugged
>for an excessive amount of time. The stalls last for about 5 seconds or
>so.

If during the stalls the disk is writing to disk at full speed (not idle),
then I agree the right fix is to unplug the queue before putting kflushd
to sleep (after all it makes sense to do the I/O while the disk is
otherwise idle).

However I'm also worried by the size of the queues, maybe the high latency
is a sign that the queue is too big (5 seconds at 20mbyte/sec are
100mbytes of stuff into the I/O queue, are you really waiting 5 seconds
while the disk is writing?).

Andrea

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

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