public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE:    [PATCH 0/7] Per-bdi writeback flusher threads
@ 2009-04-07 14:03 Jos Houtman
  2009-04-08  0:44 ` Wu Fengguang
  0 siblings, 1 reply; 7+ messages in thread
From: Jos Houtman @ 2009-04-07 14:03 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org, Wu Fengguang


I tried the write-back branch from the 2.6-block tree.

And I can atleast confirm that it works, atleast in relation to the
writeback not keeping up when the device was congested before it wrote a
1024 pages. 

See: http://lkml.org/lkml/2009/3/22/83  for a bit more information.


But the second problem seen in that thread, a write-starve-read problem does
not seem to solved. In this problem the writes of the writeback algorithm
starve the ongoing reads, no matter what io-scheduler is picked.

For good measure I also applied the blk-latency patches on top of the
writeback branch, this did not improve anything. Nor did lowering
max_sectors_kb, as linus suggested in the IO latency thread.


As for a reproducible test-case: the simplest I could come up with was
modifying the fsync-tester not to fsync, but letting the normal writeback
handle it. And starting a separate process that tries to sequentially read a
file from the same device. The read performance drops to a bare minimum as
soon as the writeback algorithm kicks in.


Jos






^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/7] Per-bdi writeback flusher threads
@ 2009-03-12 14:33 Jens Axboe
  0 siblings, 0 replies; 7+ messages in thread
From: Jens Axboe @ 2009-03-12 14:33 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel; +Cc: chris.mason, david, npiggin

Hi,

This is something I've wanted to play with for a while, and I finally
got it hacked up a few days ago. Consider it a playground for writeback
performance/behaviour testing :-)

There's a full description in the next few patches. They are against
current -git.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-09 11:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 14:03 [PATCH 0/7] Per-bdi writeback flusher threads Jos Houtman
2009-04-08  0:44 ` Wu Fengguang
2009-04-08  6:20   ` Jens Axboe
2009-04-08  8:57     ` Jos Houtman
2009-04-08  9:13       ` Jens Axboe
2009-04-09 11:37         ` Jos Houtman
  -- strict thread matches above, loose matches on Subject: below --
2009-03-12 14:33 Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox