* Re: [PATCH 00/17] per device dirty throttling -v7
@ 2007-07-18 12:27 Martin Knoblauch
0 siblings, 0 replies; 4+ messages in thread
From: Martin Knoblauch @ 2007-07-18 12:27 UTC (permalink / raw)
To: linux-kernel
Miklos Szeredi wrote:
>> Latest version of the per bdi dirty throttling patches.
>>
>> Most of the changes since last time are little cleanups and more
>> detail in the split out of the floating proportion into their
>> own little lib.
>>
>> Patches are against 2.6.22-rc4-mm2
>>
>> A rollup of all this against 2.6.21 is available here:
>>
http://programming.kicks-ass.net/kernel-patches/balance_dirty_pages/2.6.21-per_bdi_dirty_pages.patch
>>
>> This patch-set passes the starve an USB stick test..
>
>I've done some testing of several problem cases.
just curious - what are the plans towards inclusion in mainline?
Cheers
Martin
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 00/17] per device dirty throttling -v7
@ 2007-06-14 21:58 Peter Zijlstra
2007-06-14 23:14 ` Andrew Morton
2007-07-17 10:10 ` Miklos Szeredi
0 siblings, 2 replies; 4+ messages in thread
From: Peter Zijlstra @ 2007-06-14 21:58 UTC (permalink / raw)
To: linux-mm, linux-kernel
Cc: miklos, akpm, neilb, dgc, tomoki.sekiyama.qu, a.p.zijlstra,
nikita, trond.myklebust, yingchao.zhou, andrea
Latest version of the per bdi dirty throttling patches.
Most of the changes since last time are little cleanups and more
detail in the split out of the floating proportion into their
own little lib.
Patches are against 2.6.22-rc4-mm2
A rollup of all this against 2.6.21 is available here:
http://programming.kicks-ass.net/kernel-patches/balance_dirty_pages/2.6.21-per_bdi_dirty_pages.patch
This patch-set passes the starve an USB stick test..
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 00/17] per device dirty throttling -v7
2007-06-14 21:58 Peter Zijlstra
@ 2007-06-14 23:14 ` Andrew Morton
2007-07-17 10:10 ` Miklos Szeredi
1 sibling, 0 replies; 4+ messages in thread
From: Andrew Morton @ 2007-06-14 23:14 UTC (permalink / raw)
To: Peter Zijlstra
Cc: linux-mm, linux-kernel, miklos, neilb, dgc, tomoki.sekiyama.qu,
a.p.zijlstra, nikita, trond.myklebust, yingchao.zhou, andrea
> On Thu, 14 Jun 2007 23:58:17 +0200 Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
> Latest version of the per bdi dirty throttling patches.
Thanks. I've got some travel coming up and will be rather intermittent and
laggy for a week or two. I'll save this patchset for when the in-flight
movies get dull ;)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 00/17] per device dirty throttling -v7
2007-06-14 21:58 Peter Zijlstra
2007-06-14 23:14 ` Andrew Morton
@ 2007-07-17 10:10 ` Miklos Szeredi
1 sibling, 0 replies; 4+ messages in thread
From: Miklos Szeredi @ 2007-07-17 10:10 UTC (permalink / raw)
To: a.p.zijlstra
Cc: linux-mm, linux-kernel, miklos, akpm, neilb, dgc,
tomoki.sekiyama.qu, a.p.zijlstra, nikita, trond.myklebust,
yingchao.zhou, andrea
> Latest version of the per bdi dirty throttling patches.
>
> Most of the changes since last time are little cleanups and more
> detail in the split out of the floating proportion into their
> own little lib.
>
> Patches are against 2.6.22-rc4-mm2
>
> A rollup of all this against 2.6.21 is available here:
> http://programming.kicks-ass.net/kernel-patches/balance_dirty_pages/2.6.21-per_bdi_dirty_pages.patch
>
> This patch-set passes the starve an USB stick test..
I've done some testing of several problem cases.
1) fuse writable mmap patches + bash_shared_mapping
2) writes in a setup involving a loop dev
a) ext3 over loop over ext3
b) ext3 over loop over fuse-passthrough over ext3
c) ext3 over loop over ntfs-3g
Without the patch, in all the cases I've seen deadlocks or long
stalls. With the patch, I could not reproduce this in any of the
cases. As predicted, the patch is performing well in this respect :)
2a is the simplest to reproduce (2.6.22, dual core, 1GB ram)
dd if=/dev/zero of=/tmp/p5 bs=1M seek=4999 count=1
mkfs.ext3 -F /tmp/p5
mkdir /tmp/m5
mount -oloop /tmp/p5 /tmp/m5
dd if=/dev/zero of=/tmp/m5/foo bs=1M count=4000
The second dd can stall for indefinite amounts of time. Kicking it
with sync can get it moving, but it relapses after some time.
Even with the per-device-throttling patch, case 2 shows an nr_dirty
elevated far above the 10% limit, reaching 40% or higher. I believe,
this is due to a missing balance_dirty_pages() call in the loop
device. And indeed the anomaly can be solved by adding this patch:
http://lkml.org/lkml/2007/3/24/101
Miklos
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-18 12:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-18 12:27 [PATCH 00/17] per device dirty throttling -v7 Martin Knoblauch
-- strict thread matches above, loose matches on Subject: below --
2007-06-14 21:58 Peter Zijlstra
2007-06-14 23:14 ` Andrew Morton
2007-07-17 10:10 ` Miklos Szeredi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).