Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2002 10:35:16 +0200
From:      Girnet Vladimir <VGirnet@megadat.com>
To:        "'questions@freebsd.org'" <questions@freebsd.org>
Subject:   explanation needed...
Message-ID:  <8E9035BABCA0514EB0E574B6A7082FC3053210@sln01.megadat.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8E9035BABCA0514EB0E574B6A7082FC3053210>