[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC 2/6] schedule: account true system idle time
Hello Dario, On 29.07.19 14:40, Dario Faggioli wrote: Yes, in terms of this patch, idle_vcpu_runstate_change() better be moved to common/schedule.c.I think we should, first of all, think, if using runstates and runstates manipulation functions is really the best way forward here. And, if that reveals to be the case, I feel like runstates would need to be extended to be able to deal with want we want to achieve. I'll think more about this, and try to form an idea... I think runstate does not suite. Its format is linked to the existing interface and is not flexible enough for possible changes. From other hand, we would need reordering in runstate time calculation as well. If we time. e.g., interrupts, softirqs and tasklets, we can store such metrics too, and, if we want, report a breakout of the time spent in hypervisor... something like (in xentop, as you're doing already, or somewhere else): hyp=12%(irq=4%+softirq=1%+tasklet=5%+other=2%) One more downside of runstate - it will not hold all that stuff. -- Sincerely, Andrii Anisov. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |