Date: Thu, 15 Jul 2004 21:16:10 +0400 From: Igor Shmukler <shmukler@mail.ru> To: Avishay Traeger <atraeger@cs.sunysb.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: Self-tuning parameters Message-ID: <E1Bl9q6-000JOY-00.shmukler-mail-ru@f7.mail.ru> In-Reply-To: <Pine.GSO.4.53.0407151244290.18538@compserv1>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <atraeger@cs.sunysb.edu> To: freebsd-hackers@freebsd.org 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 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > http://Mail.Ru - лучшая почта с неограниченным объемом почтового ящика!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Bl9q6-000JOY-00.shmukler-mail-ru>