* How to get or measure the scheduled time of a VM accurately?
@ 2012-10-30 15:44 gavin
0 siblings, 0 replies; only message in thread
From: gavin @ 2012-10-30 15:44 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 650 bytes --]
Hi,
I have some questions on the Xen credit scheduler.
In the Xen credit scheduler, a VM is scheduled to run a certain time. This time maybe last for 30ms or less if the VM was preempted. So how can I get this time of a VM accurately? In the source code (xen/common/sched_credit.c) file, the method csched_schedule returns a task_slice. Can I use the task_slice.time as the accurate scheduled time of a VM?
I also want to know the accurate scheduled time of a VM in a period of time, such as 10 seconds. So, how can get it? Is there any useful tool can do this for me?
Looking forward to your reply. Thank you very much.
Best Regards,
Gavin
[-- Attachment #1.2: Type: text/html, Size: 1300 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-30 15:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-30 15:44 How to get or measure the scheduled time of a VM accurately? gavin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).