Date: Sun, 13 Feb 2000 14:08:52 +0300 From: Andrey Novikov <novikov@webclub.ru> To: Brian Dean <brdean@unx.sas.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Tuning up semaphores in kernel Message-ID: <00021314111301.00418@newbee.web2000.ru> In-Reply-To: <200002111641.LAA48618@dean.pc.sas.com> References: <200002111641.LAA48618@dean.pc.sas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> struct seminfo seminfo = {
> SEMMAP, /* # of entries in semaphore map */
> SEMMNI, /* # of semaphore identifiers */
> SEMMNS, /* # of semaphores in system */
> SEMMNU, /* # of undo structures in system */
> SEMMSL, /* max # of semaphores per id */
> SEMOPM, /* max # of operations per semop call */
> SEMUME, /* max # of undo entries per process */
> SEMUSZ, /* size in bytes of undo structure */
> SEMVMX, /* semaphore maximum value */
> SEMAEM /* adjust on exit max value */
> };
> You probably want to increase either SEMMNI or SEMMNS.
I've noticed that but why are they so "round"? Is there any corelation
between all these numbers? I don't want to break my kernel by guessing.
> > options SEMMAP=31
> > options SEMMNI=11
> > options SEMMNS=61
> > options SEMMNU=31
> > options SEMMSL=61
> > options SEMOPM=101
> > options SEMUME=11
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00021314111301.00418>
