Re: Errors in the VM - detailed

From: Jens Axboe (axboe@suse.de)
Date: Sat Feb 02 2002 - 09:44:49 EST


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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:22 EST