From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 31 20:44:15 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1996653 for ; Wed, 31 Oct 2012 20:44:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8AFA88FC08 for ; Wed, 31 Oct 2012 20:44:14 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so1328015pad.13 for ; Wed, 31 Oct 2012 13:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=j2cQMK2H1C0mh7c8KxYoYPkOFo9RTtCqWoOjWESlTwY=; b=XM0TdOnm103rPQeHXlxTV4jVC0jGWh88RSHOd90S0BRgh1lrGEu/KT/9BqwutOWm2P /qgVBGT+ttlhuFpZglAN9OTaTdRHCZFy3s9ccSX9uZYzLM94M+pysiWUyFMUIUxkCSxU r1qTeKzmmf70UcJ5L0uZEeI7o3TZKMGI0j1kpHmHfICk/Lm4VU4nqQlv/iug/fMORsTJ 8nbid9zeh8Zy/YSKoCN23MObgUfqFP9o/Q7x+no8balLVZtKLKbGefDdzb/+iLwtweDH jevplo85m29qto9B4tIebL8hNA5FGruGX/XFogyw6oN8/Z1W+g1E0fTOWZ96s/zaNenb VDAw== MIME-Version: 1.0 Received: by 10.68.251.197 with SMTP id zm5mr81481299pbc.30.1351716254143; Wed, 31 Oct 2012 13:44:14 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Wed, 31 Oct 2012 13:44:14 -0700 (PDT) In-Reply-To: <20121031204152.GK3309@server.rulingia.com> References: <509182DA.8070303@mu.org> <20121031204152.GK3309@server.rulingia.com> Date: Wed, 31 Oct 2012 13:44:14 -0700 X-Google-Sender-Auth: F8V6DSJSNWE0U9OsqX5MMlE7BuA Message-ID: Subject: Re: make -jN buildworld on < 512MB ram From: Adrian Chadd To: Peter Jeremy Content-Type: text/plain; charset=ISO-8859-1 Cc: hackers@freebsd.org, Alfred Perlstein X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2012 20:44:16 -0000 On 31 October 2012 13:41, Peter Jeremy wrote: > Another, more involved, approach would be for the scheduler to manage > groups of processes - if a group of processes is causing memory > pressure as a whole then the scheduler just stops scheduling some of > them until the pressure reduces (effectively swap them out). (Yes, > that's vague and lots of hand-waving that might not be realisable). Well, does the compiler actually need that much memory? :) Adrian