From owner-freebsd-current@FreeBSD.ORG Tue Jan 20 12:27:07 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 163A6106564A for ; Tue, 20 Jan 2009 12:27:07 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63907.mail.re1.yahoo.com (web63907.mail.re1.yahoo.com [69.147.97.122]) by mx1.freebsd.org (Postfix) with SMTP id 96E5C8FC19 for ; Tue, 20 Jan 2009 12:27:06 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 11841 invoked by uid 60001); 20 Jan 2009 12:27:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=fEaCsSqtSZBdP/G1vokF6d7bRsDLwsXdjbzHFonMzld+PtZUVM4Q70ZrIIRmo8AyuAaXqi/XL/PFzAR4vAOibuwNwg07cFDFzvEFDXI4ChOPUEaPUe5L3ktNlmUgVnuSyhRjOPI4ubtxu8sAYkvTjw4DJyKgzyrxe6eiZwGLk4c=; X-YMail-OSG: AcpDndoVM1kcnQecgf.XdiayyDQ3TkSsl_irdmp6r.YxzCUuALQHmitVJ3AjBiLdqCWfmYZweVR1ztLaMNsg0w6GqXEe3JNJa9XaROTRPgQec3lLuTwHK3T8GV_noHI3iJFit.aJZEzFmansswLefjMq2.mDroMXYbLwu3dZ5_CuWYj8GjtWT29SkX51b00AtvEoZZiuojxp79faQAf5qe_dpQ-- Received: from [98.242.222.229] by web63907.mail.re1.yahoo.com via HTTP; Tue, 20 Jan 2009 04:27:05 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Tue, 20 Jan 2009 04:27:05 -0800 (PST) From: Barney Cordoba To: Christoph Mallon In-Reply-To: <4975B49A.5060205@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <10041.11443.qm@web63907.mail.re1.yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: Running on only some cores X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 12:27:07 -0000 --- On Tue, 1/20/09, Christoph Mallon wrote: > From: Christoph Mallon > Subject: Re: Running on only some cores > To: barney_cordoba@yahoo.com > Cc: freebsd-current@freebsd.org > Date: Tuesday, January 20, 2009, 6:25 AM > Barney Cordoba schrieb: > > Can FreeBSD be configured to only run on N cores? So > for example, if I have an 8 core system, can it be > configured in loader.conf or through a simple hack to only > run on 2 cores? > > > > We're testing various configs, and its not > terribly convenient to keep swapping out CPUs. > > man 4 smp > look for machdep.hlt_cpus Ok, I see this does something when run after boot. So there is no way to get the OS to simply not launch the CPU? We have something that reads the number of cpus, which doesn't seem to change. Barney