2007-09-18 Richard Jones <rjones@redhat.com>
[virt-top.git] / TODO.virt-top
1 $Id: TODO.virt-top,v 1.2 2007/08/30 13:52:40 rjones Exp $
2
3 This is a list of bugs & tasks for virt-top.
4 ----------------------------------------------------------------------
5
6 *** 0 Use public CVS and bug tracker to replace this file (!)
7
8 *** 1 Segfault [FIXED 0.3.2.6]
9
10 I have seen this segfault once:
11 https://www.redhat.com/archives/libvir-list/2007-August/msg00214.html
12
13 It appeared to happen when several domains were shut down at the same
14 time, but has since been unreproducible.  Suspect crazy reference
15 counting in libvirt to be part of the problem.
16
17 [As suspected, turned out to be the crazy reference counting in
18 libvirt].
19
20 *** 2 Virt-top fails silently when started as non-root [FIXED 0.3.2.5]
21
22 *** 3 Irix/Solaris mode
23
24 'I' (toggles between 100% = all CPUs / 100% = single CPU).
25 In top this is called "Irix/Solaris mode" :-)
26
27 *** 4 [jmh] Build out the stats collected by the --csv <filename.csv> option.
28
29 Suggested being able to give a selection of VMs to monitor from the
30 command line.  Also, being able to monitor just particular subsystems
31 (-sc for CPU, -sm for memory, etc. as in collectl).
32
33 *** 5 [jmh & jneedham] Monitor resources used by dom0 on behalf of the guests.
34
35 So that if dom0 is throttled right down, is that affecting throughput
36 of guests?  I honestly don't know if it's possible to do this, but
37 I'll raise the issue upstream to see if they have any suggestions.
38
39 *** 6 Per-guest / per-interface network statistics. [PARTIALLY DONE 0.3.2.6]
40
41 Have a separate screen which breaks out the domain name / device name
42 and gives complete interface stats.
43
44 RXBY TXBY RXRQ TXRQ DOMAIN   INTERFACE
45   5M    0   48    0 debian   vif2.0
46   2M    0   20    0 oracle   vif3.1
47   1M   5K    8    2 oracle   vif3.0 
48
49 *** 7 Per-guest / per-device block statistics. [PARTIALLY DONE 0.3.2.6]
50
51 Have a separate screen which breaks out the domain name / device name
52 and gives complete block stats.
53
54 RDBY WRBY RDRQ WRRQ DOMAIN   DEVICE
55   5M    0   48    0 debian   hdb
56   2M    0   20    0 debian   hda
57   1M   5K    8    2 oracle   hda
58
59 *** 8 [jneedham asked for] %WAIT
60
61 I'm assuming this would mean in the context of the hypervisor, how
62 long are runnable domains waiting in the runqueue for access to a free
63 pCPU.  I will ask upstream whether this stat is available through Xen,
64 and if so put in place the infrastructure to monitor it.
65
66 *** 9 [jmh asked for] Configuration file or environment variable
67
68 Thinking about maybe this is something we could controly via a
69 .virt-top-init file or an environment variable ?  The same could also
70 be true for other options such as the selection of subsystems and/or
71 ordering/sorting ?
72