Re: [PATCH] slabify iocontext + request_queue

From: Jens Axboe
Date: Sat May 15 2004 - 14:32:08 EST


On Sat, May 15 2004, Christoph Hellwig wrote:
> this just went in:
>
> > From: Jens Axboe <axboe@xxxxxxx>
> >
> > Move both request_queue and io_context allocation to a slab cache.
> >
> > This is mainly a space-saving exercise. Some setups have a lot of disks
> > and the kmalloc rounding-up can consume significant amounts of memory.
>
> While I agree on the io_context part, slabifying request_queue is a space
> waste on most machines out there. The averange desktop has less than a
> handfull of these, and even for smaller servers it doesn't exactly look
> like a gain.

See the thread last week on queue congestion threshold calculations,
there were some numbers in there.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/