From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 30 21:10:09 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF59F106564A; Mon, 30 Jan 2012 21:10:09 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 144018FC1C; Mon, 30 Jan 2012 21:10:08 +0000 (UTC) Received: by werm13 with SMTP id m13so3195044wer.13 for ; Mon, 30 Jan 2012 13:10:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NnlDcVmT74gNiKFqLFj27knrHHj6HGAhGLfTSsE01UM=; b=dZ0nvXRcaB1BitYCWa6LjFzuiMk0pzo/UiGUe3hJuZtZa63INZ1BHEaMt01klO+IlM BPjRW5EXCvSNQwkJaWWlCk9bM/IHAgUpa0jo90vtOAoA2gBYTkgk/XO8d6M4dlEDedWO alewQOmfIh3XoqS1hEeQoFBuUFLNzF8DpTrc4= MIME-Version: 1.0 Received: by 10.216.131.67 with SMTP id l45mr7627971wei.21.1327957807871; Mon, 30 Jan 2012 13:10:07 -0800 (PST) Received: by 10.180.106.129 with HTTP; Mon, 30 Jan 2012 13:10:07 -0800 (PST) In-Reply-To: References: Date: Mon, 30 Jan 2012 16:10:07 -0500 Message-ID: From: Ryan Stone To: Attilio Rao Content-Type: text/plain; charset=ISO-8859-1 Cc: Peter Holm , Florian Smeets , freebsd-hackers@freebsd.org Subject: Re: Kernel threads inherit CPU affinity from random sibling X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 21:10:10 -0000 On Sat, Jan 28, 2012 at 8:22 AM, Attilio Rao wrote: > Do you have a pathological test-case for it? Are you going to test the patch? > > Thanks, > Attilio I tested the patch last night. Previously I was able to see a softclock thread preempted for over 1ms on machine where 4/8 cores were lightly loaded. With this patch I can see that the softclock threads are free to migrate cores and they no longer see long scheduling latencies.