From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 03:21:33 2008 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 4FD0D106564A for ; Tue, 16 Dec 2008 03:21:33 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from mail-gx0-f12.google.com (mail-gx0-f12.google.com [209.85.217.12]) by mx1.freebsd.org (Postfix) with ESMTP id 000F18FC18 for ; Tue, 16 Dec 2008 03:21:32 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by gxk5 with SMTP id 5so2365803gxk.19 for ; Mon, 15 Dec 2008 19:21:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Ybfr5YEfWWMFMibxygGnRZQA9p5VpwSLsiekPblfrHc=; b=nj1aNpKKXZOMlCrPGp/rq4JM0m00diXD1ei8xGi07QQxVGMtjPEfF3+5P4MVqIrPhe kkBHpPHaSowa+ieQ4Mus3Mu86+hRSNyDCQq7Y9egv3AzWCFtR0nNZt1AQt7wE8bz947/ LRpXMH3rDlI1NuOL/mHOI4TG2wYjPpNJK7kSE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=V6liXopQcZB9lsGrYzqvK+l0noT76HPGHwv/Mb4Oi3w9iMDY5CDzSra6VLCHx8dFx/ 0rmkGLtj54FmDni/qdpiviUJmPo38gLxcDScNkm4JKNORSXM85EFeqJNhI37H+ubkLH/ A4og6MA8P1szQ/ZhEK0N7Fq08g5unLZw0cWy0= Received: by 10.151.112.4 with SMTP id p4mr6931074ybm.192.1229397691952; Mon, 15 Dec 2008 19:21:31 -0800 (PST) Received: by 10.150.123.1 with HTTP; Mon, 15 Dec 2008 19:21:31 -0800 (PST) Message-ID: <8cb6106e0812151921w635a00c6o52112723c433fffb@mail.gmail.com> Date: Mon, 15 Dec 2008 22:21:31 -0500 From: "Josh Carroll" To: "Garrett Cooper" In-Reply-To: <7d6fde3d0812151634n70e6f699n8178382c79dca36d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0812151634n70e6f699n8178382c79dca36d@mail.gmail.com> Cc: FreeBSD Questions Subject: Re: Setting per processor (/core) affinity from within FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 03:21:33 -0000 On Mon, Dec 15, 2008 at 7:34 PM, Garrett Cooper wrote: > Hi guys, > I was wondering if anyone has written a utility for FreeBSD to tie > a particular process group to a processor / core, similar to what > Linux has done with taskset, so that affinity can be properly set with > FreeBSD and the ULE scheduler. I believe cpuset(2) will do what you want. It is available starting with 7.1-RELEASE (which isn't released yet, but you can grab 7.1-RC1 to test it out). Regards, Josh