From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MeYR0-00068C-SC for garchives@archives.gentoo.org; Fri, 21 Aug 2009 18:01:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51300E00BB; Fri, 21 Aug 2009 18:01:53 +0000 (UTC) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by pigeon.gentoo.org (Postfix) with ESMTP id 165BBE00BB for ; Fri, 21 Aug 2009 18:01:52 +0000 (UTC) Received: by ewy18 with SMTP id 18so935383ewy.14 for ; Fri, 21 Aug 2009 11:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=94Hj5Z4I74dtJqtxkrDc/p1hES/hF8wCwqhGQIbKAe0=; b=QRKBP4EQ6UghS/tBnsimpBfCmC73evP6Bo4Pkpu8LrYX8y5sODdFKBhgbi7B5XCFxd uh3uhLFbqchs/FXCl/l3H9wjOs0nVdHhNzxYXT1LVbonbi7HG/wsOhQhzJ6jZy2MiTls qozY8AvNjySZFQkVbgjndDB7f8adxzUy1a5AQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=i4M9YLlNBIauTbWWgTm9IFyb73lDku4NnoSuJB/NlS4wAX4HqouO1oRu+OMbnOo/U2 J8fdkNP/KnW/qEi2tn9N5OEvMw8WOfjoO3374QCWd5FK75ytuspUvATUVRDJL25ntCe2 oZxhsd+J0qTqZIxvjTjwsUhwu5e6shjGQoXIk= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.211.168.4 with SMTP id v4mr1540600ebo.29.1250877712484; Fri, 21 Aug 2009 11:01:52 -0700 (PDT) In-Reply-To: References: <35d301ca2280$142ecc50$6400a8c0@quan> Date: Fri, 21 Aug 2009 21:01:52 +0300 Message-ID: Subject: Re: [gentoo-user] Re: May be OT: recommended niceness settings for Portage while using Gnome? From: "Arttu V." To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: b899ee79-cef0-4ef1-9823-dd42d0c216fe X-Archives-Hash: 5582a3503bd6a06eae78a4bb809212ec On 8/21/09, Nikos Chantziaras wrote: > However, also very important is "I/O nice". Setting an ionice > value of "idle" will result in portage not blocking your other > applications whey they need to do disk I/O: > > PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}" Yes, as it is a laptop, it's likely to have a slow 5400 RPM disk. I have a nearly same-spec old laptop (~5.5 yo, P4m 2.2GHz, 256+256MB RAM), but I haven't had much trouble with portage emerges on it. Only when something big is due to in the I/O (lots of swapping due to the small RAM, kernel sources being unpacked, 100+ MB file transfer over from LAN etc) has there been slowness which has been annoying. Given the open nature of OP's question I'm also offering MAKEOPTS="-j1". It's not really that much a "speed optimization" (on the contrary?), but another way to try to keep the disk I/O and CPU to yourself -- even if the compiles will take a bit longer on the background. (And this ionice thing I got to try as well on that old clunker, thanks for the tip!) -- Arttu V.