Messages in this thread | | | Date | Sun, 8 Jun 2008 09:19:42 +0200 | Subject | Re: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number of cpus | From | Solofo.Ramangalahy@bull ... |
| |
Manfred Spraul writes: > > The size in bytes of a SysV IPC message queue, msgmnb, is too small > > for large machines, but we don't want to bloat small machines > > > > Several methods are used already to modify (mainly increase) msgmnb: > > . distribution specific patch > > . system wide sysctl.conf > > . application specific tuning via /proc/sys/kernel/msgmnb > > > > > Which distributions use a patch?
opensuse has this:
"The defaults are too small for most users."
[...] #define MSGMNI 16 /* <= IPCMNI */ /* max # of msg queue identifiers */ -#define MSGMAX 8192 /* <= INT_MAX */ /* max size of message (bytes) */ -#define MSGMNB 16384 /* <= INT_MAX */ /* default max size of a message queue */ +#define MSGMAX 65536 /* <= INT_MAX */ /* max size of message (bytes) */ +#define MSGMNB 65536 /* <= INT_MAX */ /* default max size of a message queue */ [...]
-- solofo
| |