Try this: (CFQ) I/O scheduler
http://lwn.net/Articles/57732/

Rajesh Munavalli 

> -----Original Message-----
> From: Chris Lamprecht [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 01, 2005 4:00 PM
> To: java-user@lucene.apache.org
> Subject: Re: IO bandwidth throttling
> 
> Hi Ben,
> 
> Yes -- I would prefer to let the OS handle his, especially if 
> it can save me some coding.  Is there is a way (under linux) 
> to limit a certain process's disk utilization?  It seems like 
> nice(1) just modifies the scheduling priority, I'm assuming 
> this means CPU scheduling.  In my case, I'm trying to prevent 
> a cron task that updates the lucene search index from 
> consuming the disk, causing the search to slow down.
> 
> -chris
> 
> On 9/1/05, Ben Gollmer <[EMAIL PROTECTED]> wrote:
> > Chris Lamprecht wrote:
> > > I've wanted something similar, for the same purpose -- to keep 
> > > lucene from consuming disk I/O resources when another process is 
> > > running on the same machine.
> > 
> > Sorry for jumping in (I'm a Lucene newb) but isn't this 
> better handled 
> > by the OS? On a Unix box I would just renice the process or 
> set some 
> > ulimits. Adding code to each application that might possibly need 
> > bandwidth or memory restrictions seems redundant, not to mention a 
> > chore :)
> > 
> > 
> > Cheers,
> > --
> > Ben
> > 
> > 
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to