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

Re: [Xen-devel] [PATCH 0 of 5] Add credit2 scheduler (EXPERIMENTAL)



Hello George,

I am trying to get linux "perf" tool work with Xen(Virtualize PMU to measure hardware events from inside guests).
I have the following options :

  1. allowing the guest kernel to see the PMU hardware features via
     cpuid, and then doing whatever is necessary to make them work as
     expected (by instruction emulation, etc), or
  2. keeping them hidden, but adding a new Xen interface and the
     appropriate Linux-side code to detect that interface and use it


Does Xenalyze have any code relevant to this ? Can you think of any directions in this regard ?

Thanks,
Naresh Rapolu.


George Dunlap wrote:
I have not measured cache / TLB misses with this workload yet. In the past I've instrumented the scheduler trace records in Xen to include performance counters such as instructions executed and cache / tlb misses, and then used xenalyze (http://xenbits.xensource.com/ext/xenalyze.hg) to analyze them. But the functionality for both capture and analysis was never standardized or added to mainline.

I'd be happy to help point you in the right direction if you're interested in investing in that approach. :-)

-George

Naresh Rapolu wrote:
Hello George,

How did you measure Cache/ TLB misses etc while using/profiling this new scheduler ? Any tool that you`ve used which works with Xen ?

Thanks,
Naresh Rapolu.
PhD Student, Computer Science,
Purdue University.

George Dunlap wrote:
This patch series introduces the credit2 scheduler. The first two patches introduce changes necessary to allow the credit2 shared runqueue functionality
to work properly; the last two implement the functionality itself.

The scheduler is still in the experimental phase. There's lots of opportunity to contribute with independent lines of development; email
George Dunlap <george.dunlap@xxxxxxxxxxxxx> or check out the wiki page
http://wiki.xensource.com/xenwiki/Credit2_Scheduler_Development for ideas
and status updates.

19 files changed, 1453 insertions(+), 21 deletions(-)
tools/libxc/Makefile | 1 tools/libxc/xc_csched2.c | 50 + tools/libxc/xenctrl.h | 8 tools/python/xen/lowlevel/xc/xc.c | 58 + tools/python/xen/xend/XendAPI.py | 3 tools/python/xen/xend/XendDomain.py | 54 + tools/python/xen/xend/XendDomainInfo.py | 4 tools/python/xen/xend/XendNode.py | 4 tools/python/xen/xend/XendVMMetrics.py | 1 tools/python/xen/xend/server/SrvDomain.py | 14 tools/python/xen/xm/main.py | 82 ++ xen/arch/ia64/vmx/vmmu.c | 6 xen/common/Makefile | 1 xen/common/sched_credit.c | 8 xen/common/sched_credit2.c | 1125 +++++++++++++++++++++++++++++ xen/common/schedule.c | 22 xen/include/public/domctl.h | 4 xen/include/public/trace.h | 1 xen/include/xen/sched-if.h | 28
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel




_______________________________________________
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®.