Re: msgbuf default size...



In message <20060828204908.GI37035@xxxxxxxxxxxx>, 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@xxxxxxxxxxx | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: linker scripts
    ... An example of a Flash/RAM setup (for an embedded ARM): ... I am trying to figure out how to get symbols defined in a linker ... tauno voipio iki fi ...
    (comp.os.linux.embedded)
  • Re: stack hogs in kernel
    ... systems with a lot less than 1GB ram :-) ... FreeBSD committer | BSD since 4.3-tahoe ... Never attribute to malice what can adequately be explained by incompetence. ...
    (freebsd-current)
  • Re: seeking graphical LCD with built-in controller
    ... i.e. if it's for instance an ARM with a good chunk of RAM ... and flash, that would be sufficient. ...
    (sci.electronics.design)
  • Re: So long and thanks for all the fish.
    ... 9500 shows the RPC/NS to be a lot faster. ... hardware compares. ... Is the ARM 9 better per MHz? ... Is the RAM in the 9500 ...
    (comp.sys.acorn.misc)
  • Re: low power embedded platform
    ... I am looking for a platform (maybe ARM) which offers USB 2.0!!! ... 16-64mb RAM and a CPU 50-200mhz are enough ... Yes, 12V Lead acid battery. ...
    (comp.arch.embedded)