I don't see it mentioned, so I'll ask. Did you enable PTHREAD_CONCURRENCY? You have to set that variable to the number of CPUs in your system, else you won't be able to run more than one thread at a time, even you have more than one CPU. No offence, but you seen to have good Linux knowledge and very little BSD-fu.
Sunofa. The $PTHREAD_CONCURRENCY environment variable wasn't set, as I had no idea it was an option. It wasn't documented anywhere that I can find on the NetBSD site, such as <A HREF="http://www.netbsd.org/guide/en/chap-whatsnew.html" title="netbsd.org">http://www.netbsd.org/guide/en/chap-whatsnew.html</a netbsd.org> or <A HREF="http://netbsd.gw.com/cgi-bin/man-cgi?pthread+3+NetBSD-current" title="gw.com">pthread(3)</a gw.com>.
It could very well be the issue. In the next few days I'll re-run the NetBSD tests with that set.
Now that I'm searching for it I do see it mentioned in the <A HREF="http://mail-index.netbsd.org/tech-userlevel/2004/10/22/0000.html" title="netbsd.org">mailing lists</a netbsd.org> as a <A HREF="http://mail-index.netbsd.org/netbsd-docs/2004/10/12/0000.html" title="netbsd.org">documentation issue</a netbsd.org>, so I wouldn't consider it a case of BSD-fu<nobr> <wbr></nobr>:)
Re:NetBSD performance
Posted by: tokki on February 10, 2005 05:18 AMSunofa. The $PTHREAD_CONCURRENCY environment variable wasn't set, as I had no idea it was an option. It wasn't documented anywhere that I can find on the NetBSD site, such as <A HREF="http://www.netbsd.org/guide/en/chap-whatsnew.html" title="netbsd.org">http://www.netbsd.org/guide/en/chap-whatsnew.html</a netbsd.org> or <A HREF="http://netbsd.gw.com/cgi-bin/man-cgi?pthread+3+NetBSD-current" title="gw.com">pthread(3)</a gw.com>.
It could very well be the issue. In the next few days I'll re-run the NetBSD tests with that set.
Now that I'm searching for it I do see it mentioned in the <A HREF="http://mail-index.netbsd.org/tech-userlevel/2004/10/22/0000.html" title="netbsd.org">mailing lists</a netbsd.org> as a <A HREF="http://mail-index.netbsd.org/netbsd-docs/2004/10/12/0000.html" title="netbsd.org">documentation issue</a netbsd.org>, so I wouldn't consider it a case of BSD-fu<nobr> <wbr></nobr>:)
#