From owner-freebsd-questions@FreeBSD.ORG Mon Feb 22 06:44:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 503E9106566C for ; Mon, 22 Feb 2010 06:44:00 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id F0EC68FC0C for ; Mon, 22 Feb 2010 06:43:59 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o1M6hwEp041246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Feb 2010 00:43:59 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o1M6hwVr036000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Feb 2010 00:43:58 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o1M6hwuU035997; Mon, 22 Feb 2010 00:43:58 -0600 (CST) (envelope-from dan) Date: Mon, 22 Feb 2010 00:43:58 -0600 From: Dan Nelson To: Gary Kline Message-ID: <20100222064357.GM70798@dan.emsphone.com> References: <20100222055703.GA15202@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100222055703.GA15202@thought.org> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Mon, 22 Feb 2010 00:43:59 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: FreeBSD Mailing List Subject: Re: if this is a stupid q... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2010 06:44:00 -0000 In the last episode (Feb 21), Gary Kline said: > Excuse me, butthis IS a stupid question. I've tried to figure it out > logically and by experimentation; just want to see if my findings jib with > the unix wizards onlist. > > Now/then i do a portupgrade; I probably should just cron this, but it has > given me problems before, so I do it while I can monitor the run. > > I'll do > > # portupgrade -akOPv > > then go ahead and work on other things. Question is What do I renice the > run at [ruby] to set it to low at very low-power? I've tried like -17 and > +17 (or just 17) because I learned that nice'ing the prio level higher > than 0 was giving it a lower prio. Thus the rest of what I was doing > could run anmost unaffected. Sometimes I'll be running a vi or two with > portupgrade the Only other thing running [compiling, usually], and my > editing is extremely slow. Output of vmstat or top during the slowdown might be useful here. If editor responsiveness is bad, you're either running dozens of cpu-hogging processes, or running the system so far out of memory that your editor is being swapped out while you're typing. Certain ports may require a lot of ram to build (the jdk*/openjdk* ports possibly), but none should launch more processes than you have CPUs. -- Dan Nelson dnelson@allantgroup.com