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

[Xen-devel] SEDF Scheduler slice time fix



Hi, All

This is a patch for SEDF Scheduler slice time fix.
At real-time domain, the slice time is relative time (from "s_time_t now").
But current code, slice time is caliculated from 0(absolute time)

It needs to be fix the code to compare relative time from "s_time_t now"

On each value meanings, You should read the comment on sched-sedf.c
(the comment also exists in patch.)

Effect:
 In case of "CPU slice time < waitq time",
 Time slice is selected to CPU slice time by this patch.

 Without this patch, CPU slice time is over allocated.
 (Because CPU slice time is absolute time at this moment(large value),
 but waitq time is relative time(small value),
 and MIN() selects smaller value(waitq).)


Signed-off-by: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>


Thanks,

Atsushi SAKAI








------------------------------------------------------------
富士通(株) プラットフォーム技術開発本部 仮想システム開発統括部
酒井 敦    Email   sakaia@xxxxxxxxxxxxxx
                TEL     7124-4167(4月7日より)


Attachment: sedf0519.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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