Subject: Re: Issue with large memory systems, and PPC overhead
To: John Klos <john@sixgirls.org>
From: Perry E. Metzger <perry@piermont.com>
List: tech-kern
Date: 11/02/2002 20:27:03
John Klos <john@sixgirls.org> writes:
> I have a PowerMac 9600 with 1.5 gigs of memory. I've made a kernel with
> maxusers set to 256; my maxproc is 4116 (256 * 16 + 20). However, I cannot
> seem to launch more than 1,800 - 2,000 tasks. I get "cannot fork"
> messages.

Have you tried looking at how much kvm you're using while forking all
those processes?

> Another thing: fork overhead. I ran the following script on 1,260 numbers
> on several machines, and noticed that there is a large discrepency that is
> not explained by processor performance.

Different ports of NetBSD have different machine dependent code for
handling fork. Perhaps the powerpc code is less efficient than that on
the x86.

.pm