Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2006 21:33:31 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        freebsd-arch@FreeBSD.org
Subject:   Re: msgbuf default size... 
Message-ID:  <7781.1156800811@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 28 Aug 2006 13:49:08 MST." <20060828204908.GI37035@funkthat.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20060828204908.GI37035@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7781.1156800811>