summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2003-05-10 08:05:58 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-10 08:05:58 -0700
commitac062f74f4b054cb70bfbd32d0bae4e1a413e1f8 (patch)
tree9f447ddc365e554c34b5149e8fe7301f08a5b8e9 /include/linux/kernel.h
parent0975ab2aa71b367f9d32ee5822a6a67090cca7e0 (diff)
[PATCH] dynamic request allocation
This patch adds dynamic allocation of request structures. Right now we are reserving 256 requests per initialized queue, which adds up to quite a lot of memory for even a modest number of queues. For the quoted 4000 disk systems, it's a disaster. Instead, we mempool 4 requests per queue and put an upper limit on the number of requests that we will put in-flight as well. I've kept the 128 read/write max in-flight limit for now. It is trivial to experiement with larger queue sizes now, but I want to change one thing at the time (the truncate scenario doesn't look all that good with a huge number of requests, for instance). Patch has been in -mm for a while, I'm running it here against stock 2.5 as well. Additionally, it actually kills quite a bit of code as well
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions