WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] About profiling xen
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=CFrei3bpJES0if9AQgUhlyiL1GynbxH3R4FfvD5RdyI=; b=pSSLUUCmCFCKM1UHvCNlQr8/fgdfLVILl2awAfYupBI/CtzSMl2NxpsPUxL0IpDGEr 5YTx/XCPnNqKmEdJ4GWk1r2glzOaeIJlv86fPplNbA9LAGzjlek7q+Bm3/Too9Tl1H4+ p3xD2vriVCeVV8sUdMBS0LGITjTNyBGM6mjmw=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f9611b0f0909300045o55e22378xea270e9873471f1d@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <196324.1267.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <f9611b0f0909292333r7da0c616rbe53ca73a6ea512d@xxxxxxxxxxxxxx> <20090930063747.GG1434@xxxxxxxxxxx> <f9611b0f0909292340o6a53326aobcd87334d7cfaa6b@xxxxxxxxxxxxxx> <f9611b0f0909300045o55e22378xea270e9873471f1d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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