Messages in this thread | | | Date | Thu, 30 Nov 2006 11:28:04 -0500 | From | Yaroslav Halchenko <> | Subject | Re: kswapd/tg3 issue |
| |
On another box which has 4 times more RAM or a bit more than twice total memory, it had twice as high vm.min_free_kbytes on another node with even more RAM it is 13821..
hm - so what is the algorithm which sets it? percent of available RAM?
For now I am adjusting it on that server to be twice from default.
Thanks everyone for your help
On Thu, 30 Nov 2006, Avi Kivity wrote:
> Alan wrote: > >Under heavy network or I/O pressure it may not have time to swap to get > >the memory. Thus adding swap won't usually help. Adding RAM may do but > >its often not the best answer. Arjan's suggestion should sort it, and - > >yes typically boxes with very high I/O and network load need more of a > >pool of memory free for immediate use than other systems.
> It could be nice if the kernel could autotune this, for example by raising the free memory goal when memory shortage is detected, and lowering it > gradually when not.
> The sysctl could be a minimum from which this is calculated. -- Yaroslav Halchenko Research Assistant, Psychology Department, Rutgers-Newark Student Ph.D. @ CS Dept. NJIT Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171 101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102 WWW: http://www.linkedin.com/in/yarik - 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/
| |