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] Tools for tracing process switching in dom0

To: Roger Cruz <rcruz@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Tools for tracing process switching in dom0
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Thu, 13 Aug 2009 11:38:01 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 Aug 2009 03:38:29 -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:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=x1SXQ82FAUH6cNrMOTjaiWDp7+URf3pP5snhRfCAqpM=; b=HsBmMvnAUE6cK2fWOEK+b/zif23bgzT/R92U0s697IE8kKPAbFeU0Nhb97jrTHTAa2 wKhtxpus+Pnbrn1JHEXxRluf6uuSYkll46ZvFzKRPvY4czvCA637jVvJbqD+pLw2bmbA gTqkkWdFEhtlaVgY2YqCpm45d/MOmhpt8MesE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=xwo6/tyd7o0dVj4k9DnAicXn3EJkZgVkAR6yN9mCalaZKClJCp9iWS8XCCKyWClf1N HzOXF+No34x+iu1gOxzmKab1XjHziyf3wyab1EbG8LKcbsBauHA1y9DiyrhojfgSEZl0 iF3gjKyHfcwGtuK0nnLIxHM2a3PBdfbASVsCc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <40B551BEDC7945419A5897958AB3947C018F0AFD@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <a08a8241-243c-4c20-8799-4443c508c2e4@default> <alpine.DEB.2.00.0908121818180.10516@kaball-desktop> <40B551BEDC7945419A5897958AB3947C018F0AFD@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Is this in 2.6.18, or 2.6.27 (pv-ops)?

I'm not familiar with Linux tracing, but I think whatever is available
in either of those kernels should work in a similar way that it does
on bare metal.

If you want to see what Xen is doing, you can use xentrace.  Real Soon
Now (hopefully this week) I'll be releasing xenalyze, which is a
pretty powerful tool for extracting information from trace files.

 -George

On Wed, Aug 12, 2009 at 6:36 PM, Roger
Cruz<rcruz@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> We are putting a heavy load on dom0 and some occasions we see cases
> where processes appear to stall (based on timestamp information in their
> log files).  I have not been able to determine what causes these
> processes to starve for CPU cycles but I'm guessing some other higher
> priority process/service may be coming in periodically and disrupting
> our process.
>
> I'm wondering if there are any Linux tracing/probing tools that work in
> dom0 that would allow me to capture (with a timestamp) all process
> context switches.
>
> Thanks
> Roger
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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