Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


IO rate on Xen; I don't quite get it

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> General Discussion
Author Message
dfelicia



Joined: 30 Jul 2007
Posts: 33

Posted: Fri May 02, 2008 7:12 am    Post subject: IO rate on Xen; I don't quite get it  

When I was on UML, I could look at /proc/io_status, and I sort of understood the whole token limiter thing.

Now I'm on Xen, and I enabled e-mail alerts for my node. IO rate alert was triggered for me , yesterday:

Your Linode has exceeded the notification threshold for disk io rate by averaging 620.49 for the last 2 hours.

How is disk io rate calculated?
How does the token limiter work for Xen guests?
Where can I see what my limit is? (I have a Linode 720)

i.e. How do I determine if I care about this alert that was triggered?
Back to top  
dfelicia



Joined: 30 Jul 2007
Posts: 33

Posted: Thu May 08, 2008 7:25 am    Post subject:  

<bump>

No one?
Back to top  
path



Joined: 28 Mar 2008
Posts: 9
Location: Delaware

Posted: Thu May 08, 2008 8:00 am    Post subject:  

I think there are other posts in the forums explaining this.

I think that UML was io requests and Xen is blocks of io. I think in another post caker recommended quadrupling the alert threshold. I could be wrong though. I'd look around the forum.
Back to top  
pclissold



Joined: 24 Oct 2003
Posts: 459
Location: Netherlands

Posted: Thu May 08, 2008 8:13 am    Post subject:  

Xen uses the ionice feature of the CFQ disk scheduler instead of the token-limiter patch that caker wrote for UML. I don't know how it is configured.

Each count for calculating disk i/o is an i/o operation issued by your Linode. The default level for triggering an alert is 100 ops/sec (average over two hours) - compared with the 512 tokens per second refill rate under UML. Most Linodes operate the the 0 - 10 i/o ops per second range (averaged).

Your alert is not the end of the world but you probably want to see what your Linode was doing at that time - in case unusual activity is a warning of trouble to come. Linking big libraries is the only thing that really gets my i/o rate up.
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2343
Location: Galloway, NJ

Posted: Thu May 08, 2008 9:29 am    Post subject:  

The measured units of IO are different between UML and Xen. It's IO operations on UML, and blocks of IO under Xen.

An IO request could contain more than one block, so you probably want to increase your IO alert threshold under Xen.

-Chris
Back to top  
dfelicia



Joined: 30 Jul 2007
Posts: 33

Posted: Thu May 08, 2008 3:05 pm    Post subject:  

Thanks for replies! Threshold now increased.
Back to top  
 
       Linode.com Forum Forum Index -> General Discussion
Page 1 of 1