Slashdot Log In
Intel Chief Evangelist Comments on Linux Scheduler
Posted by
Zonk
on Fri Sep 28, 2007 08:53 PM
from the little-penguins-everywhere dept.
from the little-penguins-everywhere dept.
ByeByeWintel writes "James Reinders is Intel's Chief Evangelist for Intel's Software Development Products. In a
recent interview on Devx.com he stated: 'If I could get ONE wish fulfilled would be for OS scheduling to focus on processes, and not threads, for scheduling. And demand that processes manage their scheduling of threads ... There is a lot of opportunity for operating systems to offer these types of control in the 'running of applications' interfaces. I'd like an OS to let me specify the 'world' my application runs in (which processors, how many, etc.) These interfaces are available in Windows at run time (the task manager will let you adjust where a running task can go).'"
Related Stories
Firehose:Intel Chief Evangelist comments on Linux scheduler by Anonymous Coward
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
the real world, too. (Score:5, Funny)
Yeah, a lot of us feel the same way about the fancy-dressing guys that work over in the sales office.
I don't understand (Score:5, Informative)
Re:The name doesn't need to be obvious (Score:5, Funny)
Well, sure. 'ls' gives you a catalog of files on the disk, while 'cat' lists one or more of the files' contents. But Windows' 'dir' is much harder to remember - it just means "Drrr, I wonder what's in this folder?"
Parent
Re:I don't understand (Score:5, Interesting)
Christ, yes. Propagandist is more accurate.
Back in the Day, Microsoft's European DirectX 'evangelist' paid a visit to our game dev studio to try to sell us on the benefits of Direct X Retarded Mode [microsoft.com]. We had our engine running with D3DRM and Glide (I said, back in the Day), and the Glide framerate was easily twice that of D3DRM. He told us that that was impossible. We said "Look at the screen.". He literally refused to look. He just insisted that we were wrong, that there was no reason that D3DRM should be slower than Glide, and that we must therefore be doing something wrong. Did I mention that he wouldn't look at the screen?
Needless to say, we didn't even offer him lunch.
Parent
So do it (Score:5, Insightful)
It's Free Software, you can add whatever you want.
Re:So do it (Score:5, Informative)
Parent
Re:So do it (Score:5, Insightful)
Parent
Re:You think maybe they have other things to do? (Score:5, Insightful)
Parent
Re:You think maybe they have other things to do? (Score:5, Insightful)
Parent
Re:You think maybe they have other things to do? (Score:4, Insightful)
You expect every fucking suggestion to be implemented? If not then what DO you suggest? The developers simply say that they are going to do X, if you want to do Y then you need to do it yourself. You can't implement every bloody possible feature in the damn universe, which is apparently what you want. Instead they implement what they think meets their own goals. They claim that this is enough to work for everyone. It isn't perfect for everyone but NOTHING ever is, if someone wants a feature desperately they either need to implement it themselves or find someone else to do it.
Parent
Re:Ok, that's completely fine (Score:4, Insightful)
As for considering people's ideas, yeah, great, developers do that, all the time. The problem is when the developer says "look, it won't work" and the people harp on about how right they are. That's often when the DIY attitude comes out, because nothing says "you were wrong" like running code.
Parent
Really a sad comment on society (Score:4, Insightful)
You are right. The way free software works is that if you want something done, you either do it yourself, or you pay somebody to do it for you.
Somehow, this has become at odds with mainstream society. People have come to expect that if you want something done, you whine about it for long enough, and someone else will do it for you.
It is a society of builders and whiners.
I know which side I'm on.
Parent
BAD headline (Score:4, Insightful)
Resume your regularly scheduled Con vs Ingo flamewar.
Oh, man (Score:5, Funny)
Intel's Chief Evangelist (Score:5, Funny)
Oh, don't be fooled by the Devil... No-a! AMD is the sign of the Beast-a! And he shall be cast out of heaven! Raise-a your hands to the heavens and press CTRL-ALT-DELETE!
Re:Intel's Chief Evangelist (Score:4, Funny)
(Reboot!)
Parent
Slashdot would be kicked out of Journalism School (Score:5, Insightful)
This is the first time I've felt a need to complain about
Available through POSIX pthread and RT extension (Score:5, Informative)
man pset_create, pset_assign, or pset_bind.
I just checked and it seems that Solaris, HP-UX support this POSIX feature. Maybe it's only Linux that is non-standard: I found ythis quote: http://developers.sun.com/solaris/articles/solaris_linux_app.html [sun.com]
"Both Linux and the Solaris OS support the notion of binding a process or thread to a processor. Linux allows binding to a set of processors for non-exclusive use of those processors. The Solaris OS allows binding to a set of processors for exclusive use, (that is, CPU fencing), but does not allow binding to a group for non-exclusive use (except via Solaris Zones?). Linux does not have a mechanism for CPU fencing, though implementations can be found on the web (see, for example, the CPUSETS for Linux page on the bullopensource.org site). The Linux system calls that are processor affinity based are sched_setaffinity(2) and sched_getaffinity(2)."
its called "scheduler activations" (Score:5, Informative)
what is being discussed is called "scheduler activations" within the CS community (or was). its an old idea. i did some work on a real-world (hah) implemention back in the early 1990's when i worked at UWashington. google it. Solaris actually added this design at least 10 years ago (plus or minus 2 years). its a very cool OS design, but can also be hard to get the implementation right; it also requires both kernel and userspace implementations.
the basic idea is that the kernel doesn't try to decide which threads within a task/process should run. as long as the process is scheduled to have access to a CPU, whenever its about to block (e.g. on disk i/o) or to be granted a processor from another task, the kernel tells the user space scheduler what is going on. scheduling is then done in user space, where maximal knowledge about the applications internal design and thread priorities can be easily accessed.
there are several papers on this design, ranging from Tom Anderson's "original" through reports on various implementation efforts. it was certainly fun trying to write a user space context switch routine that has to be reentrant itself, not to mention trying to deal with priority inversion issues. i think sun simply worked around the latter problem with some design assumptions/limitations, but i don't know for sure.
Re:its called "scheduler activations" (Score:5, Funny)
I haven't worked in that field in some number of decades, but I'm going to have nightmares because of that phrase. You heartless Bastard, at least warn us that the path to madness lies within your post.
the AC
sits here rocking back and forth, afraid to google what Tom Anderson's later works covered, but knowing I'm about to lose my weekend to this
Parent
Re:Puh-leeeeze! (Score:4, Insightful)
Parent
Re:Puh-leeeeze! (Score:5, Informative)
I worked with the Evangelists in Apple Developer Relations, and my direct personal experience tells me that you're full of shit.
Apple's Technology Evangelists are some of the most talented technical marketing professionals I've ever met, and now that I'm an outside developer, they do a great job for me pulling the levers and turning the gears that I need to get my products out the door, connecting our company with customer prospects, and finding and introducing us to other companies that we can collaborate with. I'd hire any of those guys in a heartbeat for either a development or a marketing position, if I could get them out of Apple.
-jcr
Parent
Re:Puh-leeeeze! (Score:5, Funny)
Wait a minute, is that a compliment or an insult?!?
Parent
Re:Puh-leeeeze! (Score:4, Informative)
-jcr
Parent
Re:Hello?? (Score:4, Insightful)
Parent