[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [Xen-users] About profiling xen


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • From: Marco Tizzoni <marco.tizzoni@xxxxxxxxx>
  • Date: Wed, 30 Sep 2009 11:06:25 +0200
  • Cc: "Fajar A." <fajar@xxxxxxxxx>, Fasiha Ashraf <feehapk@xxxxxxxxxxx>, xen <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 30 Sep 2009 02:08:48 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=SNNJ6R4+56UvZBEXtVQwGW20sVkjlLazbQYoPA9lWmXraDlZtqxYun6CZgwH3SNM0x B0/JnqfEQ+215/9ObxDirUKFjxDjdxQ77H8zBQMeGokugS9byx3aQRnrR35tpi7pFlQF qaeHO8bTiheu0BIqovCFTQQQF2Iy7XjVHFpaQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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....)?

Also, on another xen box (rhel 5.2), I've a 'pit' clocksource in
available_clocksource.
After:
# sysctl -w xen.independent_wallclock=1

and
------------------------------------------------------------------------------------------------------------------------------------
# echo pit > /sys/devices/system/clocksource/clocksource0/current_clocksource
[root@station1 init.d]# cat
/sys/devices/system/clocksource/clocksource0/current_clocksource
jiffies
------------------------------------------------------------------------------------------------------------------------------------

the clocksource is unmodified.

m-

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.