Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: io - limiter
PostPosted: Mon Jan 07, 2008 2:15 pm 
Offline
Senior Member

Joined: Mon May 14, 2007 8:20 am
Posts: 81
Hello,
I have a few questions on IO limiters.
1. When io_tokens gets negative, is the only way to replenish the stock is to disable io-consuming tasks, and wait for the stock to refill at the token refill_rate?
2. Is there a way to have a quicker token_refill? http://www.theshore.net/~caker/uml/patc ... ter.README
suggests that some configuration is available but I am not sure this is available to linode customers. To some extent, that would defy the purpose of the IO limiter.
3. I read that bigger linodes to not have high token_max or quicker token_refill because "is only there as an "emergency brake" for runaway Linodes"; Can you confirm this is still the case? Intuitively, I would have sais that the bigger the more tokens.
4. Does a linode with more RAM help avoid emptying that reserve of tokens?
Thanks!


Top
   
 Post subject: Re: io - limiter
PostPosted: Mon Jan 07, 2008 2:32 pm 
Offline
Linode Staff
User avatar

Joined: Sat Jun 21, 2003 2:21 pm
Posts: 160
Location: Absecon, NJ
jcr wrote:
1. When io_tokens gets negative, is the only way to replenish the stock is to disable io-consuming tasks, and wait for the stock to refill at the token refill_rate?
Yes. Once you're out, you need to use less IO.
Quote:
2. Is there a way to have a quicker token_refill? http://www.theshore.net/~caker/uml/patc ... ter.README
suggests that some configuration is available but I am not sure this is available to linode customers. To some extent, that would defy the purpose of the IO limiter.
No. Linode sets the refill rate.
Quote:
3. I read that bigger linodes to not have high token_max or quicker token_refill because "is only there as an "emergency brake" for runaway Linodes"; Can you confirm this is still the case? Intuitively, I would have sais that the bigger the more tokens.
As far as I know, everyone gets the same refill rate. A standard web/email/dns server won't have a problem. If you've got a process that's eating IO and you need it, consider switching to the Xen beta. Xen is supposed to handle IO better then UML.
Quote:
4. Does a linode with more RAM help avoid emptying that reserve of tokens?
Only if swap thrashing is using up your IO tokens.

--James


Top
   
 Post subject:
PostPosted: Mon Jan 07, 2008 7:37 pm 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
There's plenty of I/O to go around, but nobody is allowed to run away with it. There's no need to have varying refill rates because if you're hitting the I/O limits, then 99 times out of 100 you're either swap-thrashing or your app is doing something unnecessarily inefficiently. You'd want to fix either of those even if you had dedicated hardware.

For the remaining case, when your application simply needs all that I/O, you probably simply need dedicated hardware.


Top
   
 Post subject:
PostPosted: Tue Jan 08, 2008 12:07 pm 
Offline
Senior Newbie

Joined: Tue Jan 08, 2008 12:01 pm
Posts: 7
Xan wrote:
There's plenty of I/O to go around, but nobody is allowed to run away with it. There's no need to have varying refill rates because if you're hitting the I/O limits, then 99 times out of 100 you're either swap-thrashing or your app is doing something unnecessarily inefficiently. You'd want to fix either of those even if you had dedicated hardware.

For the remaining case, when your application simply needs all that I/O, you probably simply need dedicated hardware.


A few cases where I have run into the IO limiter are (1) transferring an existing system's to a new linode and (2) pre-processing/resizing large sets of digital photos from vacations. There's nothing wrong with these tasks, but they fundamentally require a single pass sequential read or write.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group