Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Fistulina Hepatica Newsgroups: comp.lang.java.programmer Subject: Re: Toward more ruly background apps Date: Thu, 24 Nov 2011 22:29:21 -0500 Organization: Spores R Us Lines: 17 Message-ID: References: <2qhsc7d9ib953i1tnipa8jm7i25jbdfhpo@4ax.com> <56ltc755vbhq5p6lui1lal1io7b1f0g3q1@4ax.com> NNTP-Posting-Host: vt2MovFkEFQwEwd3ZhTw5w.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2 X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10215 On 24/11/2011 6:36 PM, Roedy Green wrote: > On Thu, 24 Nov 2011 09:24:12 -0800, Patricia Shanahan > wrote, quoted or indirectly quoted someone who said : > >> On Windows, bring up the Task Manager, Processes tab. Look for the >> process you want to throttle. Right click it, and use "Set Priority" to >> give it a below normal priority. > > That takes so long. Is there way to do it with a batch script or a > tiny utility? The information at http://xona.com/2004/07/22.html (which another user posted elsewhere in this thread) suggests how to start a process (such as a JVM) with priority reduced from the outset. I'd guess that /abovenormal, /high, and /realtime could also be used to start a process with elevated priority (say, an I/O bound task you want to remain very responsive).