msgbuf default size...

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Aug 28 21:33:37 UTC 2006


In message <20060828204908.GI37035 at funkthat.com>, John-Mark Gurney writes:

>I believe we should make the default 64k, and let other platforms,
>like arm, use DEFAULTS to change it to smaller values if necessary...

Better idea:

	if (ram <= 16MB)
		msgbuf_size = 8k
	else if (ram <= 64MB)
		msgbuf_size = 16k
	else if (ram <= 512MB)
		msgbuf_size = 32k
	else
		msgbuf_size = 64k


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list