On Tue, May 27, 2003 at 03:33:14PM -0300, Marcelo Tosatti wrote: > u > > On Tue, 27 May 2003, Andrea Arcangeli wrote: > > > On Tue, May 27, 2003 at 08:08:43PM +0200, Marc-Christian Petersen wrote: > > > On Tuesday 27 May 2003 19:57, Marcelo Tosatti wrote: > > > > > > Hi Marcelo, > > > > > > > > I do, people I know do also, numbers of those people only _I_ know are > > > > > about ~30. I've reported this problem over a year ago while 2.4.19-pre > > > > > time. > > > > Can you please try to reproduce it with -aa? > > > not again ;) > > > > > > I've tried almost all known kernel tree's around, every kernel has the same > > > effect. I even tried SuSE and Redhat Kernels. > > > > > > I've 'wasted' tons of time just find a solution for it. > > > > > > Andrea introduced, to address _exact_ this problem (pauses, stops, mouse is > > > dead etc.), his lowlatency elevator. Side effect: decreases i/o throughput, > > > > not exactly decreases I/O throughput, the latest I/O benchmarks I seen > > from Randy (dbench/tiotest/bonnie/etc..) were still the fastest and it > > included the lowlatency elevator patch. So it may not help latency but > > it doesn't hurt in the numbers, at least not in the high end (that in > > theory is the one that needs the overkill length in the I/O queue most). > > > > However it definitely helps latency for me and I had a number of > > positive reports. > > > > Also make sure that you elvtune -r 0 -w 0 /dev/hda, also the journaling > > may affect the latency so you can try with plain ext2 to be sure it's > > not a fs issue. > > > > the lowlatency elevator patch may not be perfect but it definitely seems > > to work better here. especially since there's no apparent throughput > > loss, it makes lots of sense to keep it applied, or it would waste lots > > of ram for apparently no gain. > > Andrea, > > It seems your "fix-pausing" patch is fixing a potential wakeup > miss, right? (I looked quickly throught it). Could you explain me the yes, not just one but multiple of them, all similar. lots of boxes were hanging in a weird manner until I found and fixed this glitch. > problem its trying to fix and how? I'm attaching the old email, it should have all the explanataions. but don't use that old patch (that was the first revision and it missed one last race in wait_for_request noticed by Chris or Andrew [or both?]), use this one instead (seems just the second revision, should be that one plus that last race fix): http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.21rc2aa1/9980_fix-pausing-2 thanks, > > Its too late to fix that in 2.4.21 (rc5 is going out in hours). Andrea