[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-users
Subject:    Re: [Xen-users] Massive iowait with Xen 3.2
From:       Antoine Benkemoun <antoine.benkemoun () gmail ! com>
Date:       2009-04-30 8:51:50
Message-ID: fc1cbedb0904300151q4b26e6d7h84ab26df0f3e7a1d () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you all for your answers.

I'm taking good note of the fact that this is most likely tied to the fact
to BT is IO intensive and that I need more RAM. That will teach me to leave
some room for dom0 :-)

On Wed, Apr 29, 2009 at 8:15 PM, Christopher Chen <muffaleta@gmail.com>wrote:

> Also, if you're using file: vbd access, and you're low on ram, I
> imagine your buffer cache on the dom0 is nearly nonexistent, which
> would kill any writes.
> 
> You might want to get more RAM while you're at it.
> 
> On Tue, Apr 28, 2009 at 6:20 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:
> > On Tue, Apr 28, 2009 at 7:59 PM, Antoine Benkemoun
> > <antoine.benkemoun@gmail.com> wrote:
> > > Thank you for your answer. Sorry for the headers !
> > > 
> > > 4MB/s read speed is just plain ridiculous for a hard drive or is it just
> me
> > > ?
> > 
> > I don't think its the transfer rate. Its the IOPS thats causing your
> problems.
> > This link (from Googling "one disk iops")
> > 
> http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1240923773781+28353475&threadId=1122630
> 
> > indicates max IOPS for one disk is lower then your current numbers
> > (180). So I guess you're IOPS bound. Adding more disk with the right
> > setup would increase the number of IOPS you can handle.
> > 
> > Since the IOPS are mostly read, you MIGHT be able to reduce it by
> > giving domU more RAM, enough to hold the torrent it's running. So
> > instead of having 8 domUs with 256 MB each, try using only 1 or 2
> > domUs with 1 GB memory.
> > 
> > > These domains are actually stored on LVM so that's already in place but
> > > iostat doesn't seem to differenciate...
> > 
> > Weird. I swear in shows up on RHEL. Could be they have vendor-specific
> > patch. What does /proc/partitions and /proc/diskstats show, does it
> > have "dm" entries?
> > 
> > Anyway, from the output of "xm top" you should also be able to
> > determine which domU uses most I/O (look in VBD_RD column). In general
> > bittorrent IS very I/O intensive. If you want to limit the amount of
> > I/O a domU can use (so that whatever they do they never made the
> > entire system crawl down), you might be interested in dm-ioband.
> > Haven't used it myself, but it looks good.
> > http://people.valinux.co.jp/~ryov/dm-ioband/<http://people.valinux.co.jp/%7Eryov/dm-ioband/>
> >  
> > Regards,
> > 
> > Fajar
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@lists.xensource.com
> > http://lists.xensource.com/xen-users
> > 
> 
> 
> 
> --
> Chris Chen <muffaleta@gmail.com>
> "I want the kind of six pack you can't drink."
> -- Micah
> 


[Attachment #5 (text/html)]

Thank you all for your answers.<br><br>I&#39;m taking good note of the fact that this \
is most likely tied to the fact to BT is IO intensive and that I need more RAM. That \
will teach me to leave some room for dom0 :-)<br><br> <div class="gmail_quote">On \
Wed, Apr 29, 2009 at 8:15 PM, Christopher Chen <span dir="ltr">&lt;<a \
href="mailto:muffaleta@gmail.com">muffaleta@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Also, if you&#39;re using file: \
vbd access, and you&#39;re low on ram, I<br> imagine your buffer cache on the dom0 is \
nearly nonexistent, which<br> would kill any writes.<br>
<br>
You might want to get more RAM while you&#39;re at it.<br>
<div><div></div><div class="h5"><br>
On Tue, Apr 28, 2009 at 6:20 AM, Fajar A. Nugraha &lt;<a \
href="mailto:fajar@fajar.net">fajar@fajar.net</a>&gt; wrote:<br> &gt; On Tue, Apr 28, \
2009 at 7:59 PM, Antoine Benkemoun<br> &gt; &lt;<a \
href="mailto:antoine.benkemoun@gmail.com">antoine.benkemoun@gmail.com</a>&gt; \
wrote:<br> &gt;&gt; Thank you for your answer. Sorry for the headers !<br>
&gt;&gt;<br>
&gt;&gt; 4MB/s read speed is just plain ridiculous for a hard drive or is it just \
me<br> &gt;&gt; ?<br>
&gt;<br>
&gt; I don&#39;t think its the transfer rate. Its the IOPS thats causing your \
problems.<br> &gt; This link (from Googling &quot;one disk iops&quot;)<br>
&gt; <a href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1240923773781+28353475&amp;threadId=1122630" \
target="_blank">http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1240923773781+28353475&amp;threadId=1122630</a><br>


&gt; indicates max IOPS for one disk is lower then your current numbers<br>
&gt; (180). So I guess you&#39;re IOPS bound. Adding more disk with the right<br>
&gt; setup would increase the number of IOPS you can handle.<br>
&gt;<br>
&gt; Since the IOPS are mostly read, you MIGHT be able to reduce it by<br>
&gt; giving domU more RAM, enough to hold the torrent it&#39;s running. So<br>
&gt; instead of having 8 domUs with 256 MB each, try using only 1 or 2<br>
&gt; domUs with 1 GB memory.<br>
&gt;<br>
&gt;&gt; These domains are actually stored on LVM so that&#39;s already in place \
but<br> &gt;&gt; iostat doesn&#39;t seem to differenciate...<br>
&gt;<br>
&gt; Weird. I swear in shows up on RHEL. Could be they have vendor-specific<br>
&gt; patch. What does /proc/partitions and /proc/diskstats show, does it<br>
&gt; have &quot;dm&quot; entries?<br>
&gt;<br>
&gt; Anyway, from the output of &quot;xm top&quot; you should also be able to<br>
&gt; determine which domU uses most I/O (look in VBD_RD column). In general<br>
&gt; bittorrent IS very I/O intensive. If you want to limit the amount of<br>
&gt; I/O a domU can use (so that whatever they do they never made the<br>
&gt; entire system crawl down), you might be interested in dm-ioband.<br>
&gt; Haven&#39;t used it myself, but it looks good.<br>
&gt; <a href="http://people.valinux.co.jp/%7Eryov/dm-ioband/" \
target="_blank">http://people.valinux.co.jp/~ryov/dm-ioband/</a><br> &gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Fajar<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Xen-users mailing list<br>
&gt; <a href="mailto:Xen-users@lists.xensource.com">Xen-users@lists.xensource.com</a><br>
 &gt; <a href="http://lists.xensource.com/xen-users" \
target="_blank">http://lists.xensource.com/xen-users</a><br> &gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Chris Chen &lt;<a href="mailto:muffaleta@gmail.com">muffaleta@gmail.com</a>&gt;<br>
&quot;I want the kind of six pack you can&#39;t drink.&quot;<br>
-- Micah<br>
</font></blockquote></div><br>



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic