From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: domains being migrated state message improvements Date: Fri, 2 May 2014 14:24:08 +0100 Message-ID: <53639C78.2050603@citrix.com> References: <1399036605.3861.14.camel@nereid> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1399036605.3861.14.camel@nereid> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: sparvu@systemdatarecorder.org Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 02/05/14 14:16, Stefan Parvu wrote: > Hi, > > Can anyone comment and consider improving the way Xen kernel reports > domains being migrated ? In short Im putting some load on 10-14 guests > and I want to monitor things from dom0 via xentop. Im seeing strange > things reported by xentop like '------' > > See entire thread here: > http://lists.xen.org/archives/html/xen-users/2014-05/msg00007.html > > > Would be useful to have a proper message reported by xl list and xentop > when domains are being migrated. Currently xentop and xl list reporting > things like: > > xentop: > >> NAME STATE CPU(sec) CPU(%) >> c5932 ------ 1066 53.1 >> c5964 -----r 3439 50.7 >> c6464 ------ 1067 50.3 >> deb7464 ------ 630 52.1 >> Domain-0 -----r 82853 111.5 >> lobby ------ 1380 52.2 >> r5732 ------ 12075 50.7 >> r5764 -----r 24563 50.6 >> s10u8 -----r 2647 47.6 >> sdrcom -----r 1015 52.7 >> sdrorg --b--- 154 0.0 >> u100432 ------ 961 50.9 >> u100464 -----r 978 52.2 >> u120464 ------ 969 52.7 >> win764 -----r 1328 72.7 > > xl list: > > Name ID Mem VCPUs State Time(s) > Domain-0 0 6500 2 r----- 87994.3 > c5932 1 1024 1 r----- 8998.7 > c5964 2 1024 1 ------ 6786.1 > c6464 3 1024 1 r----- 1896.2 > deb7464 4 1024 1 ------ 792.3 > lobby 5 756 1 ------ 2403.7 > r5732 6 1019 1 r----- 27343.8 > r5764 7 1019 1 ------ 27140.4 > s10u8 8 1019 1 r----- 3583.6 > sdrcom 9 768 1 r----- 1852.4 > sdrorg 10 768 1 -b---- 168.6 > u100432 11 1024 1 ------ 15657.9 > u100464 12 1024 1 r----- 1805.2 > u120464 13 1024 1 r----- 1812.1 > win764 15 1023 2 ------ 3131.6 > > > Please consider enhancing the output and have proper logging of each domain for > different conditions. Output like '------' is confusing and does not describe > properly the things. Worse 3rd tools or consumers of xentop might break > when receiving such output. > > Thanks, > I would agree that it is a little confusing. '------' means runnable but not running, in this case due to vcpu over subscription. However, the information is stale by the time it is displayed. It is not really appropriate to be consumed by anything other than an eyeball. ~Andrew