From owner-freebsd-questions Fri Mar 15 0:35:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sln01.megadat.com (exchange.megadat.com [195.22.224.154]) by hub.freebsd.org (Postfix) with ESMTP id BA12337B41B for ; Fri, 15 Mar 2002 00:35:29 -0800 (PST) Received: by sln01.megadat.com with Internet Mail Service (5.5.2653.19) id ; Fri, 15 Mar 2002 10:35:25 +0200 Message-ID: <8E9035BABCA0514EB0E574B6A7082FC3053210@sln01.megadat.com> From: Girnet Vladimir To: "'questions@freebsd.org'" Subject: explanation needed... Date: Fri, 15 Mar 2002 10:35:16 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="koi8-r" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I tried to understand all of memory managment parameters from FreeBSD kernel, but don't find a good explanation. I alredy posted some messages here, also without succes. What parameter in what cases must be modified? (Let say, a system with 1GB of memory, 2GB of swap, what will let some processes to grow up to 1GB or more) So, where I can find more about this: options MAXDSIZ="(256*1024*1024)" options MAXSSIZ="(256*1024*1024)" options DFLDSIZ="(256*1024*1024)" # System V shared memory and tunable parameters options SYSVSHM # include support for shared memory options SHMMAXPGS=1025 # max amount of shared memory pages (4k on i386) options SHMALL=1025 # max amount of shared memory (bytes) options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" # max shared memory segment size (bytes) options SHMMIN=2 # min shared memory segment size (bytes) options SHMMNI=33 # max number of shared memory identifiers options SHMSEG=9 # max shared memory segments per process # System V semaphores and tunable parameters options SYSVSEM # include support for semaphores options SEMMAP=31 # amount of entries in semaphore map options SEMMNI=11 # number of semaphore identifiers in the system options SEMMNS=61 # number of semaphores in the system options SEMMNU=31 # number of undo structures in the system options SEMMSL=61 # max number of semaphores per id options SEMOPM=101 # max number of operations per semop call options SEMUME=11 # max number of undo entries per process # System V message queues and tunable parameters options SYSVMSG # include support for message queues options MSGMNB=2049 # max characters per message queue options MSGMNI=41 # max number of message queue identifiers options MSGSEG=2049 # max number of message segments in the system options MSGSSZ=16 # size of a message segment MUST be power of 2 options MSGTQL=41 # max amount of messages in the system > Looking forward to your reply, > Vladimir Girnet > "MEGADAT.COM" S.R.L. > MOLDOVA, Chisinau > www.megadat.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message