Red Hat Bugzilla – Full Text Bug Listing
|Summary:||[LTC 6.0 FEAT] 201132:Dynamic CPU hotplug daemon for System z|
|Product:||Red Hat Enterprise Linux 6||Reporter:||IBM Bug Proxy <bugproxy>|
|Component:||s390utils||Assignee:||Dan Horák <dhorak>|
|Status:||CLOSED DUPLICATE||QA Contact:|
|Version:||6.0||CC:||ejratl, hpicht, jjarvis, notting, swells|
|Target Milestone:||alpha||Keywords:||FutureFeature, OtherQA|
|Fixed In Version:||Doc Type:||Enhancement|
|Doc Text:||Story Points:||---|
|Last Closed:||2009-09-17 14:05:42 EDT||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:||462976|
|Bug Blocks:||519799, 356741|
Description IBM Bug Proxy 2008-09-23 17:21:19 EDT
=Comment: #0================================================= Emily J. Ratliff <email@example.com> - 2008-09-16 18:03 EDT 1. Feature Overview: Feature Id:  a. Name of Feature: Dynamic CPU hotplug daemon for System z b. Feature Description A daemon monitoring workload and plugs and unplugs (virtual) CPUs driven by current demand for processing units. This dynamic hotplug daemon for workload optimization in a SMP environment - should be part of s390-tools. 2. Feature Details: Sponsor: zSeries Architectures: s390x Arch Specificity: Purely Arch Specific Code Delivery Mechanism: Direct from community Category: zSeries Request Type: Package - Feature from IBM d. Upstream Acceptance: Accepted Sponsor Priority 1 f. Severity: High IBM Confidential: no Code Contribution: IBM code g. Component Version Target: s390tools 1.6.3 Performance Assistance: yes 3. Business Case This is a requirement from customers that want to run game servers on Linux on System z. 4. Primary contact at Red Hat: John Jarvis firstname.lastname@example.org 5. Primary contacts at Partner: Project Management Contact: Hans-Georg Markgraf, email@example.com, Boeblingen 49-7031-16-3978 Technical contact(s): Gonzalo Muelas Serrano, firstname.lastname@example.org IBM Manager: Thomas Schwarz, email@example.com
Comment 1 Bill Nottingham 2008-10-02 15:54:47 EDT
Is there a reason this is s390 specific, and not able to be used on other virtualization frameworks?
Comment 2 Dan Horák 2008-10-06 04:11:05 EDT
from the cpuplugd manpage: This program is useful when executed within a z/VM or LPAR Linux environment. The CMM feature (memory hotplug) can not be used inside an LPAR environment. The memory hotplug requires CMM which is available only when running under z/VM (but other virtualization environments could provide similar features?), but IMHO the cpu hotplug can be used generally. Adding Hans into CC as he is the developer of this utility.
Comment 3 Hans-Joachim Picht 2008-10-06 06:38:07 EDT
This feature is currently only useful on s390. Whereas a generic interface for cpu hotplug is used, the cmm feature (for memory hotplug) is only available on s390. The cpu hotplug functionality can also be used in other virtualization environments. we're currently testing if there'll also be a similar performance advantage as the one we've observed while running inside the z/VM oder LPAR hypervisor. Whereas existing cpu hotplug tools are typically used to enable or disable cpus based on static system limits, this tool includes a rule based setup which allows a very fine grained configuration. The primary reason for you to accept this feature should be the fact that this daemon can be used (with a descent configuration) to reduce hardware requirements and to result in a increased system performance. The following is a quote form our performance department related to this program: <<Up to 40% more throughput, up to 40% CPU cost savings>> http://linuxvm.org/present/SHARE111/S2590ep.pdf With best regards, --Hans
Comment 4 Bill Nottingham 2008-10-06 14:58:52 EDT
Right, but the idea is to do things in a generic way as possible, so we don't have - "configure your x86 servers to do XYZ" - "but configure your s390 servers to do ABC instead" Memory hotplug is also in the generic kernel as well, so I'm still confused as to why it's s390 specific.
Comment 5 IBM Bug Proxy 2008-10-07 07:31:20 EDT
(In reply to comment #6) > ------- Comment From firstname.lastname@example.org 2008-10-06 14:58:52 EDT------- > Right, but the idea is to do things in a generic way as possible, so we don't > have > > - "configure your x86 servers to do XYZ" > - "but configure your s390 servers to do ABC instead" > > Memory hotplug is also in the generic kernel as well, so I'm still confused as > to why it's s390 specific. > The problem here is that a mainframe can hardly be compared with a x86 box... When it comes to memory hotplug this daemon uses the CONFIG_CMM kernel option which is architecture specific. With best regards, Hans
Comment 6 Bill Nottingham 2008-10-07 10:28:22 EDT
See https://bugzilla.redhat.com/show_bug.cgi?id=463635#c2, which implies otherwise.
Comment 7 Dan Horák 2008-10-07 10:47:26 EDT
But I have "Access denied" for #463635 ...
Comment 9 Dan Horák 2008-10-07 12:06:36 EDT
Couldn't be the CMM compared to controlling the memory balloon driver in Xen, where z/VM is Dom0 and Linux/s390 in a VM is DomU? And kernel memory hotplug mechanism is then only reacting on changes in "virtual physical" memory? My understanding is following: - guest is configured with 512 MB of memory - during operation no more then 384 MB are used - guest (or better the cpuplugd daemon) decides to return 128 MB to its hypervisor - if memory utilization gets higher it asks the hypervisor for additional memory or I am wrong?
Comment 10 Dan Horák 2008-10-16 09:40:56 EDT
CPU hotplug in XEN is being added into kernel 2.6.28 - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d68d82afd4c8
Comment 11 Shawn Wells 2009-01-15 12:51:41 EST
Is there an update on this? From reviewing the comments thus far, my understanding is that this code is upstream (per comment #0). It looks like the s390x code was in 2.6.27 (comment #8), however x86 additions were made and committed into 2.6.28 (comment #10). Based upon that, it looks like this is on schedule for RHEL6.0 inclusion. What are the next steps? Reason for asking: - IBM System z management is asking for status - Customer interest from US Gov't Just want to make sure I convey the proper messages & status.
Comment 12 IBM Bug Proxy 2009-03-03 14:41:07 EST
The code for this feature get delivered in s390-tools with feature request: 48095 - RHBZ 462976 [LTC 6.0 FEAT] 201674: Pick up latest version of s390-tools