lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Armbrust <daniel.armbrust.l...@gmail.com>
Subject Re: IO bandwidth throttling
Date Thu, 01 Sep 2005 21:12:47 GMT
Ben Gollmer 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,
 > 
 >
 As far as I know, 'nice' only controls CPU usage, not disk IO usage.  
Since lucene doesn't do a lot of CPU intensive work, renicing a lucene 
process does little to allow other processes to get access to your disks.

 On Windows, things are similar.  A single process, even with the 
priority forced down, can still kill the performance of the entire 
machine if it is doing large amounts of disk io (on the system disk).

 Dan

-- 
****************************
Daniel Armbrust
Biomedical Informatics
Mayo Clinic Rochester
daniel.armbrust(at)mayo.edu
http://informatics.mayo.edu/
 




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message