login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
1
Re: [PATCH 1/2] Customize sched domain via cpuset
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
From:
Peter Zijlstra <peterz@...>
To: Paul Jackson <pj@...>
Cc: Hidetoshi Seto <seto.hidetoshi@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>
Subject:
Re: [PATCH 1/2] Customize sched domain via cpuset
Date: Tuesday, April 1, 2008 - 7:59 am
On Tue, 2008-04-01 at 06:55 -0500, Paul Jackson wrote:
quoted text
> Interesting ... > > So, we have two flags here. One flag "sched_wake_idle_far" that will > cause the current task to search farther for an idle CPU when it wakes > up another task that needs a CPU on which to run, and the other flag > "sched_balance_newidle_far" that will cause a soon-to-idle CPU to search > farther for a task it might pull over and run, instead of going idle. > > I am tempted to ask if we should not elaborate this in one dimension, > and simplify it in another dimension. > > First the simplification side: do we need both flags? Yes, they are > two distinct cases in the code, but perhaps practical uses will always > end up setting both flags the same way. If that's the case, then we > are just burdening the user of these flags with understanding a detail > that didn't matter to them: did a waking task or an idle CPU provoke > the search? Do you have or know of a situation where you actually > desire to enable one flag while disabling the other? > > For the elaboration side: your proposal has just two-level's of > distance, near and far. Perhaps, as architectures become more > elaborate and hierarchies deeper, we would want N-level's of distance, > and the ability to request such load balancing for all levels "n" > for our choice of "n" <= N. > > If we did both the above, then we might have a single per-cpuset file > that took an integer value ... this "n". If (n == 0), that might mean > no such balancing at all. If (n == 1), that might mean just the > nearest balancing, for example, to the hyperthread within the same core, > on some current Intel architectures. If (n == 2), then that might mean, > on the same architectures, that balancing could occur across cores > within the same package. If (n == 3) then that might mean, again on > that architecture, that balancing could occur across packages on the > same node board. As architectures evolve over time, the exact details > of what each value of "n" mean would evolve, but always higher "n" > would enable balancing across a wider portion of the system. > > Please understand I am just brain storming here. I don't know that > the alternatives I considered above are preferrable or not to what > your patch presents.
FWIW I like your suggestions. --
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:
[PATCH 1/2] Customize sched domain via cpuset
, Hidetoshi Seto
, (Tue Apr 1, 7:26 am)
[PATCH 2/2] Customize sched domain via cpuset (v2)
, Hidetoshi Seto
, (Fri Apr 4, 5:11 am)
Re: [PATCH 2/2] Customize sched domain via cpuset (v2)
, Peter Zijlstra
, (Thu Apr 10, 10:53 am)
Re: [PATCH 2/2] Customize sched domain via cpuset (v2)
, Hidetoshi Seto
, (Sun Apr 13, 9:45 pm)
Re: [PATCH 2/2] Customize sched domain via cpuset (v2)
, Paul Jackson
, (Mon Apr 14, 11:38 am)
[PATCH 1/2] Customize sched domain via cpuset (v2)
, Hidetoshi Seto
, (Fri Apr 4, 5:10 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Paul Jackson
, (Tue Apr 1, 7:55 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Hidetoshi Seto
, (Wed Apr 2, 4:39 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Paul Jackson
, (Wed Apr 2, 7:14 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Hidetoshi Seto
, (Wed Apr 2, 11:21 pm)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Paul Jackson
, (Thu Apr 3, 9:14 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Paul Jackson
, (Thu Apr 3, 8:56 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Peter Zijlstra
, (Thu Apr 3, 6:46 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Peter Zijlstra
, (Tue Apr 1, 7:59 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Peter Zijlstra
, (Tue Apr 1, 7:48 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Andi Kleen
, (Tue Apr 1, 7:40 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Peter Zijlstra
, (Tue Apr 1, 7:56 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Andi Kleen
, (Tue Apr 1, 9:29 am)
Re: [PATCH 1/2] Customize sched domain via cpuset
, Peter Zijlstra
, (Tue Apr 1, 9:38 am)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
Greg KH
Linux 2.6.25.10
Linus Torvalds
Re: [stable] Linux 2.6.25.10
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
openbsd-misc
:
Edwin Eyan Moragas
poll(2) vs kqueue(2) performance
Jonathan Thornburg
strlcat/strlcpy vs overlapping arguments
askthelist
Packets Per Second Limit?
Siju George
Skype on OpenBSD 4.1 using Fedora RPM
git
:
Michael Hendricks
removing content from git history
Elijah Newren
Trying to use git-filter-branch to compress history by removing large, obsolete bi...
Junio C Hamano
Re: bad git pull
Junio C Hamano
Re: More precise tag following
linux-activists
:
Jim Winstead Jr.
Re: Root Disk/Book Disk Compatibility
Sagan
387 failed error [help needed]
David Hobley
linux support for (PC) notebooks
Joel M. Hoffman
Re: How to disable C-A-D for non-root users?
Latest forum posts
Computer hangs up (freeze) and reports SATA errors
2 hours ago
Linux kernel
Questions about modules
7 hours ago
Linux kernel
USB2.0 Flash disk error(SCSI error: return code = 0x10070000),anybody has solutions?
22 hours ago
Linux kernel
Why Windows is better than Linux
1 day ago
Linux general
Open Hardware Foundation & Open Cores
1 day ago
Hardware
Which Graphiccard should be used to get the most GPL for the money
1 day ago
Hardware
IO memory vs. memory
1 day ago
Linux kernel
Unable to mount ramdisk image using UBoot while upgrading to 2.6.15 kernel for a MPC8540 based target
1 day ago
Linux kernel
%cpu in top over 100?
1 day ago
Linux general
How to Compile 2.6 kernel for RedHat
1 day ago
Linux kernel
Show all forums...
Recent Tags
-rc9
Al Viro
-rc
Neo FreeRunner
release
quote
Openmoko
Linux
phone
2.6.25
security
2.6.26
Jesse Barnes
development process
USB
Linux Kernel Archives
Andrew Morton
Theodore T'so
Linus Torvalds
Greg KH
more tags
Colocation donated by:
Who's online
There are currently
5 users
and
788 guests
online.
Online users
Jeremy
Mr_Z
ccurtis
memphis
strcmp
Syndicate
speck-geostationary