|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] RE: [RFC][PATCH 0/4] Modification of credit scheduler rev2
Tian, Kevin wrote: In my case, though the vcpu should be switched to other vcpu in time slice, the cpu running the vcpu doesn't schedule during hundreds of ms. I don't know why this happens.QEMU emulated mouse being used and moving mouse quickly in guest A. Passing-through USB mouse/keyboard to guest A, then no glitches. Sorry, I didn't explain well.I mean that softirq for scheduling (SCHEDULE_SOFTIRQ) might not occur during hundreds of ms. I found similar issue when connecting vncviewer to guest B. Guest B runs nothing. But I don't use Disheng's configuration. I assumed that this issue (Disheng said) is the same issue as mine. In credit scheduler, credit consumed by the vcpu must be subtracted. Therefore I think it is correct that dom0 and guest A are OVER because my approach is to boost the vcpu within the range of weight.I think assigning a static priority is one solution. However, I think that it affects credit accounting because we don't know how long the domain with the static priority (probably highest priority) is run.It could be one configurable option for some client usages, where a coarse-level static priority could better ensure the deterministicto satisfy specific rt requirement. I see. About adding more BOOST source, could you explain more to me?Current the only source for boost is the wakeup event on a vcpu with UNDER priority to catch up which is simply from fairness p.o.v But for vcpu with RT requirement, more boost sources can be added.E.g. when audio interrupt (either emulated, or passthrough), boost target vcpu and trigger a reschedule softirq immediately to reduce uncertainty of schedule latency. We need such a manual boost interface which is then inserted into some critical event paths wherewe believe immediate schedule is necessary. Disheng is working on this area now, I think. :-) Thanks. Regards, Naoki _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |