Messages in this thread | | | Date | Wed, 11 Jul 2001 19:32:56 +0530 | From | Dipankar Sarma <> | Subject | Re: io_request_lock patch? |
| |
On Wed, Jul 11, 2001 at 10:53:39AM +0200, Jens Axboe wrote: > The queue lengths should always be long enough to keep the hw busy of > course. And in addition, the bigger the queues the bigger the chance of > skipping seeks due to reordering. But don't worry, I've scaled the queue > lengths so I'm pretty sure that they are always on the safe side in > size. > > It's pretty easy to test for yourself if you want, just change > QUEUE_NR_REQUESTS in blkdev.h. It's currently 8192, the request slots > are scaled down from this value. 8k will give you twice the amount of > slots that you have RAM in mb, ie 2048 on a 1gig machine. > > block: queued sectors max/low 683554kB/552482kB, 2048 slots per queue
Hmm.. The tiobench run was done on a 1GB machine and we still ran out of request slots. Will investigate.
Thanks Dipankar -- Dipankar Sarma <dipankar@sequent.com> Project: http://lse.sourceforge.net Linux Technology Center, IBM Software Lab, Bangalore, India. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |