Best offers

All about Miscellaneous
 Latest Miscellaneous articles
All Miscellaneous articles

Newsletters


  • Ask your question about IT issues
  • Post

Partners

The Games selection

crazy : Interactive Boogy Pick one of the 3 songs, hit on the correct keys matching this boy's dance moves.
crazy : Xiao Xiao 7 A great fight scene from the animation movies Xiao Xiao.
Ads

Sponsored links

Scheduling for Individual Servers

Previous Next
2:40 AM - 07/23/2008 by Patrick Schmid and Achim Roos

This session was one of the keynotes of the SIPEW 2008, and it dealt with results of stochastic analyses on server farms. More specifically, Professor Mor Harchol-Balter, who is the head of graduate education at the Carnegie Mellon University’s department of computer science, discussed scheduling in server farms as opposed to single servers.

Her presentation went into detail on various approaches to deal with scheduling while considering short response times—different techniques of routing and dispatching workloads to different servers can lead to greatly varying performance. A good starting point is a quick look back at how Windows 3.1 implemented multitasking versus to modern operating systems such as Windows 2003/XP or Vista, as distributing workloads across servers is very much a multitasking approach as well. At the time of Windows 3.1, cooperative multitasking relied on individual processes with no prioritization, which means that a thread often did not return to the operating system until it finished. This meant that while it was not necessary to synchronize various threads, individual processes could stall the entire system.

Task Dispatching Matters

Modern operating systems are based on preemptive multitasking, where the operating system kernel manages assigning threads to available processor resources. This can be done according to simple distributions such as a round robin approach, or based on other prioritization policies. While the performance results are predictable for systems with a single processor, task scheduling gets trickier as soon as multiple cores become available. Latency is added once interfaces have to be used, which is why professional operating systems are node-aware, meaning that they distribute threads according to the available processor sockets and cores in an effort to avoid unnecessary traffic. Obviously, job assignment in server farms, where a multitude of systems is involved, offers more options for how to handle task routing and how to adjust dispatching policies to reach maximum performance.

Task Scheduling Policies for Individual Servers

Do you know the response time for these common scheduling policies? Read on.

Mor Harchol-Balter talked about different scheduling policies for individual servers first:

  • FCFS (First-Come-First-Served, non-preemptive) In this case, incoming jobs are distributed on a first come, first served basis, assigning workloads to available processing resources.
  • PS (Processor-Sharing, preemptive) Processor sharing is very much what we know of as preemptive multitasking. All incoming workloads are distributed evenly across available processor resources.
  • SJF (Shortest-Job-First, a.k.a. SPT, non-preemptive) This scheduling approach always first executes those workloads that can be completed fastest. However, tasks will always be processed until they’re completed.
  • SRPT (Shortest-Remaining-Processing-Time, preemptive) In this approach, short workloads are prioritized, assigning them to available processor resources. As in processor sharing, workloads may be switched.
  • LAS (Least Attained Service, preemptive) This method distributed workloads evenly to processing resources to create a balanced utilization.

These were the results: larger tasks increase the response time of first comes first served (FCFS) and shortest-hob-first (SJF) scheduling by a significant amount. Clearly, non-preemptive scheduling is not favorable.

Talkback
rhysee 07/23/2008 11:31 PM
Hide
-1+

Yawn .. what a boring article.

cangelini 07/23/2008 11:42 PM
Hide
-1+

Rhysee :
Yawn .. what a boring article.



Sounds like a good place to talk about what you'd like to be reading from the Tom's crew. We're all ears =)

pogsnet 07/24/2008 6:30 AM
Hide
-0+

I am expecting you use that software as sample between 9800GTX and HD 4850 both are good contender

cangelini 07/24/2008 6:34 AM
Hide
-1+

pogsnet :
I am expecting you use that software as sample between 9800GTX and HD 4850 both are good contender



Unfortunately, probably not going to happen ;-)

eodeo 08/13/2008 5:57 AM
Hide
-0+

Wouldn’t it be MORE fair to say that SPECviewperf is more like a cheat test that states that very crippled workstation cards are still faster than the vastly hardware superior “gaming” cards only due to driver restriction and more importantly, software optimizations?

If anything SPEC is one big Cheat tester, whose results you might as well plunge down the drain, since you aren’t going to get any useful info out of them.

To top that off, the test still uses OpenGL- just burry the darn thing. Mac users can complain all they want, but no self-respecting professional application has been recommending OGL for anything, but legacy for quite some time now. OpenGL is outdated for several years now. It’s both noticeably slower and has far lesser visual quality compared to DX 9.0c implementations.

I’m not sure about the rest of the SPEC family, but if SPECviewperf is any indication, its not looking good for them either.

I get that SPECheatTest can exist since many ignorant people still use “professional” cards and OpenGL, but why don’t you at least mention this in your article, or are you happy Quadro Mac users as well? Testing under a bell environment that proves that "professional" cards with 1/20 power of a current "gaming" card is still faster is just a self fulfilling prophecy. Who needs to see this propaganda? Who are workstation cards manufacturers trying to fool? The ignorant. How about you? Question directed at THG.

Both “SPECheatTest” and “Macs are not 200% more expensive, honest” articles have been an insult to the intelligence.

Thank you for reading.

eodeo 08/13/2008 6:00 AM
Hide
-0+

Quote :(SPEC) – a non-profit organization with the goal of providing relevant and realistic standard benchmarks.


Could anything be more further from the truth? How about black is actually white. Yeah, that about does it- barely.

Comments are closed on this page.

Sponsored links