Subject: Re: New features in NetBSD 2.0
To: Daniel de Kok <danieldk@pobox.com>
From: SODA Noriyuki <soda@netbsd.org>
List: netbsd-docs
Date: 10/13/2004 02:52:07
>>>>> On Tue, 12 Oct 2004 21:20:08 +0200,
	Daniel de Kok <danieldk@pobox.com> said:

>> It's worth mentioning that one needs to set $PTHREAD_CONCURRENCY
>> environment to the number of CPUs to make it actually run on multiple
>> CPUs on NetBSD 2.0. Especially because there is no existing common
>> practice about this environment variable on other OS, and this may be
>> a temporary measure.
>> (If our implementation is mature enough, the pthread library
>> must set $PTHREAD_CONCURRENCY to the number of CPUs by default.)

> Good point. But I think it would not be a good idea to add this to
> chap-whatsnew as a showcase of new features. 

Hmm, yeah, that's right.
It may be better to have a pointer to the description in chap-whatsnew,
though.

> But I think it would be a very good idea to add this to chap-boot.

I think chap-boot isn't a right place to put this description,
because I guess the intention to use the environment variable
is to set this value per command basis.
I'm not sure where is the good place to add the description, though.

>> The old buffer cache now can use up to 15% of phyisical memory
>> by default.
>> On machines which only have really small memory, it may be
>> better to limit this upper bound by e.g. "sysctl -w vm.bufcache=5".

> chap-boot?

Hmm, I guess http://www.netbsd.org/Documentation/tune/stune.html
may be better.
Is there any plan to have the "System Tuning" document (or entire
"NetBSD Tuning Guide") in the NetBSD guide?
--
soda