From owner-freebsd-questions@FreeBSD.ORG Fri Jun 26 17:40:48 2009 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 4DB6F1065673 for ; Fri, 26 Jun 2009 17:40:48 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id CBA898FC12 for ; Fri, 26 Jun 2009 17:40:47 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: by ewy9 with SMTP id 9so2016212ewy.43 for ; Fri, 26 Jun 2009 10:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=/JJ/MICfPgkBw7B+Fkxw9Rv7dfiX+2UbCce+lT5+noY=; b=cBwUc6PNG3kZV3OZm92ohr3Q458/shdLapbTMOMakHqYTI1p1DddYVq3fKDCgTMK0/ SXQ2puKw/EWEz43TpUXa93EWNSUNiOheEM3SemJMG+dIonx38fIIipJDLjEclCOOTBwS RYw69yq5M6QsiPVCkJ4gxrzt6IIkZ2auqXRYk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=uEWSF+r7Cjdwt+u8qcwP99F6FJzEduRMg9aJfXC56MWHEAQ5Aij6tfmlPia50KFzNX CR5hS1LKOP6kbGb3h6DSItna5nh+DHWzNpyjj8fyJRDfzA8xX2T054g6l9McTBnIWpSP YwTqvK4NJcLoj5wiz7NqOHK6+9ofrQ+6KIwUM= MIME-Version: 1.0 Received: by 10.216.20.83 with SMTP id o61mr1248869weo.206.1246038046538; Fri, 26 Jun 2009 10:40:46 -0700 (PDT) Date: Fri, 26 Jun 2009 13:40:46 -0400 Message-ID: From: Daniel Underwood To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Restrict process(es) to single core 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: Fri, 26 Jun 2009 17:40:48 -0000 Suppose I'm running a multi-threaded program that's utilizing both cores of my CPU. I'm not interested in it's speed, however, and would like to free up another core for general purpose. Is there a way (without altering/recompiling the program, obviously) to restricting a process and its children to a single core?