Date: Sun, 2 Nov 2008 20:11:27 +0100 From: Ulrich Spoerlein <uspoerlein@gmail.com> To: Ivan Voras <ivoras@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r184471 - in head/bin: cat cp Message-ID: <20081102191127.GB1487@roadrunner.spoerlein.net> In-Reply-To: <200810301405.m9UE5wwZ053250@svn.freebsd.org> References: <200810301405.m9UE5wwZ053250@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 30.10.2008 at 14:05:58 +0000, Ivan Voras wrote: > Author: ivoras > Date: Thu Oct 30 14:05:57 2008 > New Revision: 184471 > URL: http://svn.freebsd.org/changeset/base/184471 > > Log: > Teach cat(1) and cp(1) to use a larger buffer if enough memory is present > in the system. A simple heuristics is used to detect what is "enough" > memory: if number of physmem pages is greater than 32k (equalling 128 MB > on machines with 4 kB pages). Hi Ivan, curiosity speaking: Isn't amd64 and the superpages work by alc@ making it possible, to have pages of dynamic size, and of sizes > 1MB. If so, how are these static (?) macros affected. Not that it would matter performance wise ... Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081102191127.GB1487>