Avishay, First thing to look at - statistics gathering code in vm_pageout.c. It collects basic usage information upon which various decisions are made. Then pageout thread basically does GCing based on memory pressure. Used to be that depedning on pass number [vm_pageout(int pass)] system would either force or not force GC. Logic is that is system recovered enough pages in one pass, pressure in not too high. IS. PS I am not 100% function names are accurate, but as far as I remember that's the basic idea.
-----Original Message----- From: Avishay Traeger <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Thu, 15 Jul 2004 12:51:22 -0400 (EDT) Subject: Self-tuning parameters > > I am currently looking into how various operating systems self-tune their > memory-related parameters (automatically adjusting parameters such as how > much memory is allocated for various caches, buffer flushing rates, etc.). > I have read a few posts indicating that FreeBSD self-tunes many of these > parameters. I was wondering if you could provide me with specific > information (or point me at source code) about where and how FreeBSD does > this. > > Thanks in advance, > Avishay Traeger > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > http://Mail.Ru - лучшая почта с неограниченным объемом почтового ящика! _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

