On Friday 01 July 2005 03:56, Suparna Bhattacharya wrote: > Has anyone else noticed major throughput regressions for random > reads/writes with aio-stress in 2.6.12 ? > Or have there been any other FS/IO regressions lately ? > > On one test system I see a degradation from around 17+ MB/s to 11MB/s > for random O_DIRECT AIO (aio-stress -o3 testext3/rwfile5) from 2.6.11 > to 2.6.12. It doesn't seem filesystem specific. Not good :( > > BTW, Chris/Ben, it doesn't look like the changes to aio.c have had an > impact (I copied those back to my 2.6.11 tree and tried the runs with no > effect) So it is something else ... > > Ideas/thoughts/observations ?
Lets try to narrow it down a bit: aio-stress -o 3 -d 1 will set the depth to 1, (io_submit then wait one request at a time). This doesn't take the aio subsystem out of the picture, but it does make the block layer interaction more or less the same as non-aio benchmarks. If this is slow, I would suspect something in the block layer, and iozone -I -i 2 -w -f testext3/rwfile5 should also show the regression. If it doesn't regress, I would suspect something in the aio core. My first attempts at the context switch reduction patches caused this kind of regression. There was too much latency in sending the events up to userland. Other options: Try different elevators Try O_SYNC aio random writes Try aio random reads Try buffers random reads -chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/