WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: Xen Scheduler: Credit Scheduler ?

On Fri, Nov 24, 2006 at 08:23:54AM +0100, Ulrich Windl wrote:
> > I threw around some ideas to get more data points and help
> > debug this:
> > - run spinners on the guest that consume CPU
> >     "int main() { while (1); return 0; }" and run X copies (for X vcpus)
> > - take scheduler traces (man xentrace)
> 
> A bad example, because that will either be optimized that it will execute in 
> CPU's 
> L1 cache, thus causing about no load at all (assuming a SMP system).
> 
> What about "find /usr -type f | xargs cat | gzip >/dev/null" instead. If you 
> have 
> plenty of room output to some real file. That's some load.

Why would you want to generate cache misses or file system I/O in
this case? We just want to keep a domain artificially runnable
to verify that Xen schedules its VCPUs appropriately. An infinite
loop does just that.

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

<Prev in Thread] Current Thread [Next in Thread>