Re: VM tuning

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jun 09 2000 - 11:38:36 EST


> So, how can linux be "tuned" to guarantee a preallocation of X number of
> buffers? Given an understanding of the queues in the machine, its not
> difficult to estimate. In 'BSD we can allocate 8000 buffers and limit the
> software so that memory will never be exhaused. Can this be done in linux?
> Memory is cheap, there is no reason for 500 or even 3000 buffers to cripple
> a router.

Memory for stuff like socket buffers is drawn from the common pools and
returned to it. If you are basically just routing then it is feasible to
modify kfree_skb() to keep at least a certain amount of buffers handy.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:40 EST