Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 82315 invoked from network); 1 Sep 2005 21:13:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2005 21:13:06 -0000 Received: (qmail 17100 invoked by uid 500); 1 Sep 2005 21:12:53 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 17080 invoked by uid 500); 1 Sep 2005 21:12:52 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 17067 invoked by uid 99); 1 Sep 2005 21:12:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 14:12:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of daniel.armbrust.list@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO zproxy.gmail.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 14:13:06 -0700 Received: by zproxy.gmail.com with SMTP id n29so301633nzf for ; Thu, 01 Sep 2005 14:12:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=rDil6jX86xVRfhpFhlDx6WqJLq7f9+50pq+SsYQvvEV9pA0kLZB/67Uz0qbBfUs27e+GQXo1Q04HQ/wxkTNpGxYt+806bW2c83cjIt9VGYSh/92xrQZywQQdDRmvqnhoTjHxPqatnBsXEX5w997ASShKkLc6YE4F0pGWbAi9Ors= Received: by 10.36.251.59 with SMTP id y59mr1993562nzh; Thu, 01 Sep 2005 14:12:50 -0700 (PDT) Received: from ?172.22.19.82? ( [129.176.197.15]) by mx.gmail.com with ESMTP id 15sm1111562nzn.2005.09.01.14.12.48; Thu, 01 Sep 2005 14:12:50 -0700 (PDT) Message-ID: <43176ECF.6050505@gmail.com> Date: Thu, 01 Sep 2005 16:12:47 -0500 From: Dan Armbrust User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 CC: java-user@lucene.apache.org Subject: Re: IO bandwidth throttling References: <7337772205080213276529c42b@mail.gmail.com> <20050802215503.28729.qmail@web31104.mail.mud.yahoo.com> <88c6a6720508021519467aebb4@mail.gmail.com> <43176B5C.8060204@gmail.com> In-Reply-To: <43176B5C.8060204@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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