login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
10
Re: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number of cpus
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Nadia Derbey <Nadia.Derbey@...>
To: <Solofo.Ramangalahy@...>
Cc: <linux-kernel@...>
Subject:
Re: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number of cpus
Date: Tuesday, June 10, 2008 - 2:56 am
Solofo.Ramangalahy@bull.net
wrote:
quoted text
> 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 > > Integrating this series would: > . reflect hardware and software evolutions and diversity, > . reduce configuration/tuning for the applications. > > Here is the timeline of the evolution of MSG* #defines: > Year 1994 1999 1999 2008 > Version 1.0 2.3.27 2.3.30 2.6.24 > #define MSGMNI 128 128 16 16 > #define MSGMAX 4056 8192 8192 8192 > #define MSGMNB 16384 16384 16384 16384 > > This patch series scales msgmnb, with respect to the number of > cpus/cores for larger machines. For uniprocessor machines the value > does not increase. > > This series is similar to (and depends on) the series which scales > msgmni, the number of IPC message queue identifiers, to the amount of > low memory. > While Nadia's previous series scaled msgmni along the memory axis, > hence the message pool (msgmni x msgmnb), this series uses a second > axis: the number of online CPUs. > As well as covering the (cpu,memory) space of machines size, this > reflects the parallelism allowed by lockless send/receive for > in-flight messages in queues (msgmnb / msgmax messages). > > The initial scaling is done at initialization of the ipc namespace. > Furthermore, the value becomes dynamic with respect to cpu hotplug. > > The msgmni and msgmnb values become dependent, as the value of msgmni > is computed with respect to the value of msgmnb. > > The series is as follows: > . patch 1 introduces the scaling function > . patch 2 deals with cpu hotplug > . patch 3 allows user space to disable the scaling mechanism > . patch 4 allows user space to reenable the scaling mechanism > . patch 5 finer grain disabling/reenabling scaling mechanism > (disconnect msgmnb and msgmni) > . patch 6 adds documentation >
Solofo, Patches 3 and 4 are useless imho. If you really really want to keep them, you should at least merge them. Regards, Nadia --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC -mm 0/6] sysv ipc: scale msgmnb with the number of cpus
,
, (Fri Jun 6, 2:09 am)
Re: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number of ...
, Nadia Derbey
, (Tue Jun 10, 2:56 am)
Re: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number of ...
, Nick Piggin
, (Fri Jun 6, 4:23 am)
Re: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number of ...
,
, (Fri Jun 6, 6:20 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Andrew Morton
2.6.25-mm1
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
546 guests
online.
Online users
strcmp
Syndicate