From owner-freebsd-hackers Wed Dec 20 12: 6:16 2000 From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 20 12:06:14 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from dayspring.firedrake.org (dayspring.firedrake.org [195.82.105.251]) by hub.freebsd.org (Postfix) with ESMTP id 31A6B37B400 for ; Wed, 20 Dec 2000 12:06:13 -0800 (PST) Received: from float by dayspring.firedrake.org with local (Exim 3.12 #1 (Debian)) id 148pUs-0003iJ-00; Wed, 20 Dec 2000 20:05:58 +0000 Date: Wed, 20 Dec 2000 20:05:58 +0000 To: hackers@freebsd.org Subject: LINT vs. ipcs Message-ID: <20001220200558.B9762@firedrake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: void Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG LINT and the ipcs command seem to disagree on some points, like the meaning of shmall (bytes vs. pages). In all examples, I've put the quote from LINT followed by the excerpted output from ipcs -M or -S. options SHMALL=1025 # max amount of shared memory (bytes) vs. shmall: 1024 (max amount of shared memory in pages) Also, some values are very different: options SHMMNI=33 # max number of shared memory identifiers vs. shmmni: 96 (max number of shared memory identifiers) whereas many others are just off by one: options SEMMNU=31 # number of undo structures in the system vs. semmnu: 30 (# of undo structures in system) What I really want to know is, what do all these LINT variables mean? I have a user who needs more semaphores and shm segments configured, and I want to make sure I tune the right ones. Apparent candidates are SHMMNI, SHMSEG, SEMMNI, SEMMNS, and SEMMSL. -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message