Date: Sat, 23 Mar 2013 14:27:43 -0700 From: David Wolfskill <david@catwhisker.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: arch@freebsd.org, David Wolfskill <david@catwhisker.org> Subject: Re: VM_BCACHE_SIZE_MAX on i386 Message-ID: <20130323212743.GN42912@albert.catwhisker.org> In-Reply-To: <20130323211001.GN3794@kib.kiev.ua> References: <20130323211001.GN3794@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--h1Kgj0J7YauQlxie Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 23, 2013 at 11:10:01PM +0200, Konstantin Belousov wrote: > ... > The resolution I propose is to change the VM_BCACHE_SIZE_MAX on i386 > !PAE case, to make it equal to the exact max size of the buffer cache. > Note that maxbcache can be tuned from the loader prompt, so the effect > of the change would be only on the i386 machines with tuned buffer > cache. >=20 > Also, the patch doubles the size of the transient map to 1/5 of the > max buffer cache. This gives 180 parallel remapped i/os in flight, > since I consider the re-caclulated 90 i/os too small even for i386. >=20 > The patch was tested by dwh, please comment. I intend to commit it in > several days. >=20 > http://people.freebsd.org/~kib/misc/i386_maxbcache.1.patch For those interested, the testing involved (after new kernel built @r248612M with the patch) running X with the nvidia driver while performing a "make -j 4 buildworld kernel ... installworld" while I was doing my usual Friday afternoon work-related "stuff" on the machine (which mostly involved running xterms executing on various remote machines, but displaying on the laptop). Subsequently (as in "this morning"), I did my usual daily update of (head) /usr/src & rebuilt -- again while running X with nvidia (as I normally do). That slice is now running FreeBSD 10.0-CURRENT #846 r248645M/248646: Sat Mar 23 06:24:53 PDT 2013. If I encounter issues, I fully expect to "squawk" about it -- most likely, in current@. That said: no issues since applying the patch. :-) Peace, david (aka dhw@freebsd.org) --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --h1Kgj0J7YauQlxie Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFOHk8ACgkQmprOCmdXAD25rQCeIte5SDcGH+sM8+cZHnsfvD4u T1MAnixuBFQvhNVLk57bMz3rqLHIGt6p =3kpN -----END PGP SIGNATURE----- --h1Kgj0J7YauQlxie--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130323212743.GN42912>