All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Marco Tizzoni <marco.tizzoni@gmail.com>
Cc: "Fajar A." <fajar@fajar.net>, Fasiha Ashraf <feehapk@yahoo.co.in>,
	xen <xen-devel@lists.xensource.com>,
	xen-users@lists.xensource.com
Subject: Re: [Xen-devel] Re: About profiling xen
Date: Wed, 30 Sep 2009 16:23:53 -0700	[thread overview]
Message-ID: <4AC3E889.6060407@goop.org> (raw)
In-Reply-To: <f9611b0f0909300206v53577d1cw300ff6092b8ffede@mail.gmail.com>

On 09/30/09 02:06, Marco Tizzoni wrote:
> Enabling debug on kernel I realized the problem is related to timer accuracy.
> ------------------------------------------------------------------------
> hal9k-dom0 ~ # cat /proc/timer_list
> Timer List Version: v0.3
> HRTIMER_MAX_CLOCK_BASES: 2
> now at 784689453083 nsecs
>
> cpu: 0
>  clock 0:
>  .index:      0
>  .resolution: 999848 nsecs
> [........]
> hal9k-dom0 ~ # cat
> /sys/devices/system/clocksource/clocksource0/available_clocksource
> xen jiffies
> hal9k-dom0 ~ # cat
> /sys/devices/system/clocksource/clocksource0/current_clocksource
> xen
> ------------------------------------------------------------------------
>
> Is there a way to make available a better timer (hpet,acpi....)?
>   

Your clocksource is "xen", which is the best possible for a PV xen guest.

However, a clocksource is for measuring elapsed time, not triggering
timers.  Unfortunately there doesn't seem to be a /sys file to show the
current clockevent source in use, but if you have "xen" clocksource it's
almost certainly the xen clockevent.

However, this is only relevent if you have CONFIG_NO_HZ and
CONFIG_HIGHRES_TIMERS enabled.  If you don't then all timers will be
quantized to HZ (and your guests will burn lots CPU being needlessly
interrupted at HZ).

    J

  parent reply	other threads:[~2009-09-30 23:23 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-30  6:07 About profiling xen Fasiha Ashraf
2009-09-30  6:33 ` [Xen-users] " Marco Tizzoni
2009-09-30  6:37   ` Pasi Kärkkäinen
2009-09-30  6:40     ` Marco Tizzoni
2009-09-30  7:45       ` Marco Tizzoni
2009-09-30  9:06         ` [Xen-devel] " Marco Tizzoni
2009-09-30 14:21           ` Dan Magenheimer
2009-09-30 14:48             ` Re: [Xen-users] " Marco Tizzoni
2009-09-30 16:04               ` Dan Magenheimer
2009-09-30 16:38                 ` Marco Tizzoni
2009-09-30 23:23           ` Jeremy Fitzhardinge [this message]
2009-10-01  7:35             ` [Xen-devel] " Marco Tizzoni
2009-10-01 20:54               ` Re: [Xen-users] " Jeremy Fitzhardinge
2009-10-01 21:05                 ` [Xen-devel] " Marco Tizzoni
2009-10-01 21:16                   ` Re: [Xen-users] " Jeremy Fitzhardinge
2009-10-01 21:26                     ` Marco Tizzoni
2009-10-01 21:40                       ` Jeremy Fitzhardinge
2009-10-01 21:55                         ` [Xen-devel] " Marco Tizzoni
2009-10-01 22:01                           ` Re: [Xen-users] " Jeremy Fitzhardinge
2009-10-01 22:20                             ` Marco Tizzoni
2009-10-05 11:38                               ` Fasiha Ashraf
2009-10-05 20:53                                 ` Jeremy Fitzhardinge
2009-10-06  5:01                                   ` [Xen-devel] " Fasiha Ashraf
2009-10-06  5:30                                     ` Re: [Xen-users] " Jeremy Fitzhardinge
2009-09-30  9:16         ` Fasiha Ashraf
2009-09-30  9:23           ` [Xen-devel] " Pasi Kärkkäinen
2009-10-01  3:41             ` Re: [Xen-users] " Fasiha Ashraf
2009-10-01  9:44             ` [Xen-devel] " Fasiha Ashraf
2009-09-30 23:19         ` Jeremy Fitzhardinge
2009-10-06  7:22       ` Fasiha Ashraf

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=4AC3E889.6060407@goop.org \
    --to=jeremy@goop.org \
    --cc=fajar@fajar.net \
    --cc=feehapk@yahoo.co.in \
    --cc=marco.tizzoni@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.