Date: Thu, 28 May 2009 17:17:38 +0200 From: cpghost <cpghost@cordula.ws> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-questions@freebsd.org Subject: Re: superpages? Message-ID: <20090528151738.GC1259@phenom.cordula.ws> In-Reply-To: <alpine.BSF.2.00.0905281447040.60042@wojtek.tensor.gdynia.pl> References: <alpine.BSF.2.00.0905281447040.60042@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 28, 2009 at 02:50:16PM +0200, Wojciech Puchar wrote: > maybe not new news but i just found this: > > http://www.h-online.com/open/FreeBSD-7-2-released-now-with-Superpages--/news/113204 > > It says about pages 4KB and 4MB and that it's done > automatically. > > Two questions: > > 1) is it on all architectures including amd64? As amd64 supports 4KB, 2MB > and 1GB pages it sounds inconsistent with the above. > > 2) how does this "automatic" selection work. By just having program with > large continous data space (like squid proxy) will it put that data on 2MB > pages. The following excerpt from: http://www.freebsd.org/releases/7.2R/relnotes-detailed.html may be helpful: [amd64, i386] The FreeBSD virtual memory subsystem now supports fully transparent use of superpages for application memory; application memory pages are dynamically promoted to or demoted from superpages without any modification to application code. This change offers the benefit of large page sizes such as improved virtual memory efficiency and reduced TLB (translation lookaside buffer) misses without downsides like application changes and virtual memory inflexibility. This is disabled by default and can be enabled by setting a loader tunable vm.pmap.pg_ps_enabled to 1. > if it's true i would be enough reason to upgrade to 7.2 on 2 computers. -cpghost. -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090528151738.GC1259>