From owner-freebsd-questions@FreeBSD.ORG Mon Feb 22 20:24:12 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 584FA1065692 for ; Mon, 22 Feb 2010 20:24:12 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id EF0368FC18 for ; Mon, 22 Feb 2010 20:24:11 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o1MKNuox013423; Mon, 22 Feb 2010 12:23:56 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 22 Feb 2010 12:23:56 -0800 (PST) Date: Mon, 22 Feb 2010 12:23:56 -0800 From: Gary Kline To: Dan Nelson Message-ID: <20100222202356.GA27834@thought.org> References: <20100222055703.GA15202@thought.org> <20100222064357.GM70798@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100222064357.GM70798@dan.emsphone.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.6 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX,J_CHICKENPOX_43 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org 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 20:24:12 -0000 On Mon, Feb 22, 2010 at 12:43:58AM -0600, Dan Nelson wrote: > 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. > Hm. Sometimes ruby is near the top of the list when I check top. Then, sometimes, it vanishes from the top and jumps down the list. AS for cpu-hogging procs, maybe, altho it's hard to see what they might be. I *do* have several instantiations of Konsole running. When i'm upgrading things I try to limit the number of browsers active.... --Things have been behaving for the past day or so... [??] > -- > Dan Nelson > dnelson@allantgroup.com -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php