|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Scheduler stats and some doubts
Hello,
someone can tell me how to enable scheduler statistics and how to display them?
I found this comment:
---------------------------------------
/*
* CSCHED_STATS
*
* Manage very basic per-vCPU counters and stats.
*
* Useful for debugging live systems. The stats are displayed
* with runq dumps ('r' on the Xen console).
*/
#ifdef PERF_COUNTERS
#define CSCHED_STATS
#endif
---------------------------------------
I've just enabled this in Rules.mk:
---------------------------------------
verbose ?= y
perfc ?= y
perfc_arrays ?= y
---------------------------------------
now xenperf works but I don't know how to access the "Xen console".
Also, not related to this issue, I'm interested in accounting how many
ticks the net backend driver spends in rx/tx.
Can it make sense using the getrusage() function at start/end of
net_rx_action()/net_tx_action() or it can lead to unconsistent
accounting?
Is there a better way?
Any suggestions are welcome.
Thanks in advance.
Marco
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Scheduler stats and some doubts,
Marco Tizzoni <=
|
|
|
|
|