RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 497181 - [LTC 6.0 FEAT] Nominate power efficient idle loadbalancer [201925]
Summary: [LTC 6.0 FEAT] Nominate power efficient idle loadbalancer [201925]
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: All
OS: All
low
high
Target Milestone: rc
: ---
Assignee: Kevin W Monroe
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks: 356741 525727
TreeView+ depends on / blocked
 
Reported: 2009-04-22 17:30 UTC by IBM Bug Proxy
Modified: 2010-05-10 17:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-16 18:44:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 52944 0 None None None Never

Description IBM Bug Proxy 2009-04-22 17:30:41 UTC
=Comment: #0=================================================
Emily J. Ratliff <ratliff.com> - 
1. Feature Overview:
Feature Id:	[201925]
a. Name of Feature:	Nominate power efficient idle loadbalancer
b. Feature Description
This patchset improves the idle-load balancer nomination logic, by  taking into consideration the
system topology.
 
An idle-load balancer is an idle-cpu which does not turn off it's sched_ticks and performs
load-balancing on behalf of the other idle CPUs. Currently, this idle load balancer is nominated as
the first_cpu (nohz.cpu_mask)

2. Feature Details:
Sponsor:	Linux Systems Tech
Architectures:
x86_64
ppc64
s390x

Arch Specificity: Purely Common Code
Affects Core Kernel: Yes
Affects Kernel Modules: Yes
Delivery Mechanism: Direct from community
Category:	Kernel
Request Type:	Kernel - Enhancement from Upstream
d. Upstream Acceptance:	Pending
Sponsor Priority	1
f. Severity: High
IBM Confidential:	no
Code Contribution:	IBM code
g. Component Version Target:	Patch and discussions: (Version 2)
 http://lkml.org/lkml/2009/4/2/246
 
 Patch series in Ingo's sched-tip on 14 April 09.

3. Business Case
The drawback of the current method is that the CPU numbering in the cores/packages need not
necessarily be sequential.  Now, the other power-savings settings such as the
sched_mc/smt_power_savings and the power-aware IRQ balancer try to balance tasks/IRQs by taking the
system topology into consideration, with the intention of keeping as many 'power-domains'
(cores/packages) in the low-power state.
 
The current idle-load-balancer nomination does not necessarily align towards this policy. For eg, we
could be having tasks and interrupts largely running on the first package with the intention of
keeping the second package idle.  Hence, CPU 0 may be busy. The first_cpu in the nohz.cpu_mask could
be CPU1, which in-turn becomes nominated as the idle-load balancer. CPU1 could be from the 2nd
package, would in turn prevent the 2nd package from going into a deeper sleep state.
 
Instead the role of the idle-load balancer could have been assumed by an idle CPU from the first
package, thereby helping the second package go completely idle.

4. Primary contact at Red Hat: 
John Jarvis
jjarvis

5. Primary contacts at Partner:
Project Management Contact:
Stephanie Glass, sglass.com, 512-838-9284

Technical contact(s):

Vaidyanathan Srinivasan, svaidyan.com

IBM Manager:
Jeffrey Heroux, heroux.com

Comment 2 IBM Bug Proxy 2010-05-10 17:21:03 UTC
------- Comment From arunbharadwaj.com 2010-05-10 13:18 EDT-------
Hi,

I have verified that this feature is present in RHEL6 snap 1 kernel and it is functionally working correct.

Here is how I have tested this feature:

On a fully idle SMP, start a small workload pinned to any one CPU. Observe that the interrupt rate on this CPU is high. Also observe that another CPU from the *same* package has a high interrupt rate. This is the ILB CPU. Since the ILB CPU is chosen from the same package as the busy CPU, this feature is functionally working correct.

thanks
arun


Note You need to log in before you can comment on or make changes to this bug.