Semaphore scaling
Mikko Työläjärvi
mbsd at pacbell.net
Mon Mar 8 09:29:16 PST 2004
On Mon, 8 Mar 2004, Mike Jakubik wrote:
[...]
> I have adjusted the variables in /etc/sysctl.conf as follows:
>
> kern.ipc.semmap=60
> kern.ipc.semmni=20
> kern.ipc.semmns=120
> kern.ipc.semmnu=60
> kern.ipc.semmsl=120
> kern.ipc.semopm=200
> kern.ipc.semume=20
>
> However, when I do 'sysctl kern.ipc|grep sem' I get the floowing results:
>
> kern.ipc.semmni: 10
[...]
> It seems that kern.ipc.semmni is not being incremented. Am I doing something
> wrong here? Is this variable not tunable at boot? Interesting enough, these
> values in LINT are represented as x+1, i.e. SEMMAP=31 and SEMMNI=11.
Some of those sysctls are read-only. You'll have to set them before
the kernel is loaded, in /boot/loader.conf.
$.02,
/Mikko
More information about the freebsd-stable
mailing list