svn commit: r184471 - in head/bin: cat cp

Ulrich Spoerlein uspoerlein at gmail.com
Sun Nov 2 11:50:41 PST 2008


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.


More information about the svn-src-all mailing list