backfilling

王朝百科·作者佚名  2009-12-03
窄屏简体版  字體: |||超大  

Scheduling of parallel jobs is usually viewed in terms of a 2D chart with time along one axis and the number of processors along the other axis. Each job can be thought of as a rectangle whose height is the user estimated run time and width is the number of processors required. Parallel job scheduling strategies has been widely studied in the past

The simplest way to schedule jobs is to use the First-Come-First-Served (FCFS) policy. This approach suffers from low system utilization.

Backfilling was proposed to improve system utilization and has been implemented in several production schedulers.Backfilling works by identifying “holes” in the 2D chart and moving forward smaller jobs that fit those holes. There are two common variations to backfilling - conservative and aggressive (EASY.In conservative backfill,every job is given a reservation when it enters the system. A smaller job is moved forward in the queue as long as it does not delay any previously queued job. In aggressive backfilling, only the job at the head of the queue has a reservation. A small job is allowed to leap forward as long as it does not delay the job at the head of the queue. Under FCFS, the priority of a job is its wait time. Other priority policies like Shortest job First (SF), eXpansion Factor(XF) can be used. Under SF, the priority of a job is inversely proportional to its user estimated run time. Under the XFactor

priority scheme, the priority of a job is its XFactor which is defined as follows:

XFactor = (Wait time + Estimated Run time) / Estimated Run time

Some of the common metrics used to evaluate the performance of scheduling schemes are the average turnaround time and the average bounded slowdown. We use these metrics for our studies. The bounded slowdown of a job is defined as follows:

Bounded Slowdown = (Wait time + Max(Run time, 10))/ Max(Run time, 10)

The threshold of 10 seconds is used to limit the influence

of very short jobs on the metric.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航