[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen: recalculate per-cpupool credits when updating timeslice



On Fri, Jan 29, 2016 at 11:21:48AM +0100, Juergen Gross wrote:
> When modifying the timeslice of the credit scheduler in a cpupool the
> cpupool global credit value (n_cpus * credits_per_tslice) isn't
> recalculated. This will lead to wrong scheduling decisions later.
> 
> Do the recalculation when updating the timeslice.
> 
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

We had notice that the quota's were not working after the timeslice
was changed in a mono-cpupool running two guests doing 'for loops'. 
Applied Juergen's patch to a SuSE xen-4.4.3_02-26.2 rpm, the patch 
was offset by 6 lines. The guests now observe the quotas when the
timeslice is changed.

Tested-by: Alan.Robinson <alan.robinson@xxxxxxxxxxxxxx>

-- 
Sent from my Fujitsu Primergy RXI300 IA64
Firmenangaben: Fujitsu Technology Solutions GmbH / ts.fujitsu.com/imprint

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.