public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ferenc Wagner <wferi@niif.hu>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: linux-kernel@vger.kernel.org, Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: doubled idle count
Date: Fri, 07 Nov 2008 16:20:47 +0100	[thread overview]
Message-ID: <87skq3imuo.fsf@tac.ki.iif.hu> (raw)
In-Reply-To: <48D2AD5E.7040602@goop.org> (Jeremy Fitzhardinge's message of "Thu, 18 Sep 2008 12:34:54 -0700")

[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

Jeremy Fitzhardinge <jeremy@goop.org> writes:

> Ferenc Wagner wrote:
>
>> After upgrading a Xen virtual machine to Debian's 2.6.26-4 kernel, I
>> noticed that the idle counter doubled its pace on one of the machines:
>> [command line stuff elided, graph follows]
>
> So you're saying that they are identical Xen and guest kernel binaries,
> but one of three is showing doubled idle time?

I've affirmed this in detail on Sept 19.  Now I'm trying to resurrect
this thread, maybe some visual stimulation will help...


[-- Attachment #2: domU CPU graph of the last week --]
[-- Type: image/png, Size: 24571 bytes --]

[-- Attachment #3: Type: text/plain, Size: 2239 bytes --]


Consider the above CPU graph (courtesy of Munin, tweaked to accept
values above 100%).  This virtual machine (Linux 2.6.26.6 + migration
patches from 2.6.27) can run on two identically configured hosts
running the 3.2.1 hypervisor and a Linux 2.6.18 dom0 kernel.

Nov 2 15:22 (rising edge): domU shut down and recreated with
    clocksource=jiffies.

Nov 3 16:01 (nothing to see): domU shut down again and recreated
    without specifying clocksource on the kernel command line.  It
    selected the xen clocksource.

Nov 6 17:22 (falling edge): domU live migrated to the other host.

So live migration alone shaked the idle figures back in shape.

I really wonder if anybody has some insight into this anomaly.  In
itself it isn't a problem, but I've got other issues (some timing
related, like serial overruns, and also some dom0 crashes), so I'd
like to get rid of anything suspicious.

Regards,
Feri.

xm info on the two dom0-s:

host                   : xen2-ha
release                : 2.6.18-6-xen-686
version                : #1 SMP Mon Oct 13 20:36:55 UTC 2008
machine                : i686
nr_cpus                : 4
nr_nodes               : 1
cores_per_socket       : 1
threads_per_core       : 2
cpu_mhz                : 3056
hw_caps                : bfebfbff:00000000:00000000:00000080:00004400
total_memory           : 3071
free_memory            : 2781
node_to_cpu            : node0:0-3
xen_major              : 3
xen_minor              : 2
xen_extra              : -1
xen_caps               : xen-3.0-x86_32p 
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.3.1 (Debian 4.3.1-2) 
cc_compile_by          : waldi
cc_compile_domain      : debian.org
cc_compile_date        : Sat Jun 28 15:25:00 UTC 2008
xend_config_format     : 4

domU config:

name = "noc.grid"
kernel = "/home/wferi/vmlinuz-2.6.26-1-686-bigmem"
ramdisk = "/home/wferi/initrd.img-2.6.26-1-686-bigmem"
memory = 512
vif = [ 'mac=00:16:3e:00:00:13, bridge=br894',
	'mac=00:16:3e:00:00:30, bridge=br897' ]
root = "/dev/mapper/noc-root ro"
extra = ""
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

      parent reply	other threads:[~2008-11-07 16:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18 12:26 doubled idle count Ferenc Wagner
2008-09-18 19:34 ` Jeremy Fitzhardinge
2008-09-18 21:24   ` Ferenc Wagner
2008-09-19 13:20   ` Ferenc Wagner
2008-09-21 12:05   ` Ferenc Wagner
2008-09-21 12:27   ` Ferenc Wagner
2008-11-07 15:20   ` Ferenc Wagner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87skq3imuo.fsf@tac.ki.iif.hu \
    --to=wferi@niif.hu \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox