lkml.org 
[lkml]   [1999]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux-2.2.0 bad VM behaviour "dd if=/dev/zero of=/dev/hdc bs=256k"
Date
Me:
>> I guess there is something wrong with the 2.2.0 vm... when I try this:
>>
>> dd if=/dev/zero of=/dev/hdc bs=256k
>>
>> the system becomes very lazy...


Stephen:
>Can you try the patch below (made against 2.2.2-pre2)? The key is to
>recognise that when we wake up bdflush, we need to take into account how
>many dirty buffers there are ...

>The patch also includes the previously posted code to allow both sync
>and bdflush to refile unlocked buffers on the locked list back onto the
>clean list, to tidy up after async IO.


Good work!

Now the kernel behaves as it shoud. dd running background can be hardly
noticed, with no impact on interactive feeling. Without this patch
the machine becomes useless within a couple of seconds.

I have tried it on a single machine (Pentium II, 328Mb)
so far, on monday I will make a torture test.

Thanks,

Petri




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

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