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

Re: [Xen-users] ionice




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


 


Rackspace

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