search for: csched_acct

Displaying 3 results from an estimated 3 matches for "csched_acct".

2011 Sep 01
4
[PATCH] xen,credit1: Add variable timeslice
...update system-wide config */ - prv->credit += CSCHED_CREDITS_PER_ACCT; + prv->credit += prv->credits_per_tslice; prv->ncpus++; cpu_set(cpu, prv->cpus); if ( prv->ncpus == 1 ) { prv->master = cpu; init_timer(&prv->master_ticker, csched_acct, prv, cpu); - set_timer(&prv->master_ticker, NOW() + - MILLISECS(CSCHED_MSECS_PER_TICK) * CSCHED_TICKS_PER_ACCT); + set_timer(&prv->master_ticker, + NOW() + MILLISECS(prv->tslice_ms)); } init_timer(&spc->ticker, csc...
2008 Jun 19
15
Power aware credit scheduler
...be longer than accouting period (30ms), csched_tick should be aware of resume event to adjust elapsed credits. ---- c) when cpu''s freq is scaled dynamically When cpufreq/Px is enabled, cpu''s frequency is adjusted to different operation points driven by a on-demand governor. So csched_acct may need take frequency difference among cpus into consideration and total available credits won''t be a simple 300 * online cpu_number. ---- Of course there''re bunch of research areas to add more power factor into scheduler policy. But above is fundamental stuff which we believ...
2013 Sep 02
5
[BUG] unfairness in Xen's credit scheduler
...= 1; prv->tick_period_us = prv->tslice_ms * 1000 / prv->ticks_per_tslice; prv->credits_per_tslice = CSCHED_CREDITS_PER_MSEC * prv->tslice_ms; ------- ... } Particularly, [prv->credits_per_tslice] is very important to maintain the *fairness* of credit allocation in csched_acct(). This bug has been there since Xen-4.2.0. Thanks, CHENG Luwei -- PhD student Department of Computer Science The University of Hong Kong Homepage: http://www.cs.hku.hk/~lwcheng