Re: Errors in the VM - detailed

Jens Axboe (axboe@suse.de)
Sat, 2 Feb 2002 15:44:49 +0100


On Sat, Feb 02 2002, Roy Sigurd Karlsbakk wrote:
> > Jens said earlier "Roy, please try and change
> > the queue_nr_requests assignment in ll_rw_blk:blk_dev_init() to
> > something like 2048." - Roy have you tested this too?
>
> No ... Where do I change it?

drivers/block/ll_rw_blk.c:blk_dev_init()
{
queue_nr_requests = 64;
if (total_ram > MB(32))
queue_nr_requests = 256;

Change the 256 to 2048.

-- 
Jens Axboe

- 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/