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-users

Re: [Xen-users] ionice

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] ionice
From: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Date: Sat, 03 Jul 2010 23:45:56 +0100
Cc:
Delivery-date: Sat, 03 Jul 2010 15:46:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201007040034.55498.bart.coninckx@xxxxxxxxxx>
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: <4C2F7C78.9000306@xxxxxxxxxxx> <201007040022.42270.bart.coninckx@xxxxxxxxxx> <4C2FB9AB.8010600@xxxxxxxxxxx> <201007040034.55498.bart.coninckx@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

On 03/07/10 23:34, Bart Coninckx wrote:
On Sunday 04 July 2010 00:28:59 Jonathan Tripathy wrote:
My problem is that I see high volume requests from some people with
little time in between the requests and about matters getting more and
more away from the subject at hand, which more than likely points to
people not taking the time to look for answers themselves on the internet
but choosing the easy path of free advice on a mailing list. This
community is about helping each other out after having done the necessary
research oneself.  At least that's how I see it. Mind you, I'm at risk
stating this, because I frequently am scratching my head in the face of
nasty problems and challenges with tight deadlines, but I try to self
reliant to the max and only if I'm at the end of my wits, I will consult
the list.

No chill pills needed.
FYI, I started a new topic as I had already discovered how to use solve
my ionice problem (I used dstat). Which is why I then moved onto how to
"prioritise" the DomU regarding disk usage, and I know that a lot of
people on this list do that for their customers. I actually did do my
own research, and in fact I will point you to an excellent PDF (which is
taken from the book I'm currently reading):
http://nostarch.com/download/xen_ch7.pdf (Page 11).

Please don't jump to the conclusion that I havn't done my own research,
because I have.

Well, not really in bash scripting it seems.

If there is anyone else on this list that is willing to share some knowledge with a newbie, then any help would very much be appreciated.

My current train of thought is to write a script that runs "xm list $domname", then parses for the dom ID. Then does a "ps aux | grep "$domid.xvda" " and parses for the PID. Then runs ionice with the found PID as a param.

Is there a nice place that I can call this script from within Xen at each DomU boot? It would be nice to not have to make a wrapper script which first runs "xm create" and then does the above. Since I wish to run lots of DomUs for customers, this becomes a management issue. Really what I need to find, is a place similar to the vif scripts, but ones that run after the DomU has started (as the correct disk process needs to be running)

Thanks

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

<Prev in Thread] Current Thread [Next in Thread>