lkml.org 
[lkml]   [2008]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number of cpus
From
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



\
 
 \ /
  Last update: 2008-06-08 09:21    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site