From owner-freebsd-hackers@FreeBSD.ORG Wed May 2 21:48:24 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D48E106564A for ; Wed, 2 May 2012 21:48:24 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pz0-f49.google.com (mail-pz0-f49.google.com [209.85.210.49]) by mx1.freebsd.org (Postfix) with ESMTP id CC4088FC15 for ; Wed, 2 May 2012 21:48:23 +0000 (UTC) Received: by dadm1 with SMTP id m1so517689dad.8 for ; Wed, 02 May 2012 14:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=XXu0Qos8VPjnGlXD9UxRhUqET1mTeYLkDW0unxrLLGI=; b=ZhLXcs92uXGg5Q4yyDDZLJdSuMFgx3J/GPYGdJtIlaOWN0lHuYv80uiaY2e0hfwN5w jIGX/dKnrG3OwUHhN5qgs3xgdi0QKt4qu2rcG2VUtW0BORcALeQArOynQFTDKeU0AAfP eLWhThSaCBLGXXIUA8bixiC8ER8hpzoJ9YGKgYqX/5Kzo2Aqe6dhpB3wzdOeQmQGWs3k ttZq/b4lI9nnIgmtZ9E6XG1nrfffgP0tLE37H5Zkfn/rTZQSD1cW5PQhGj959Nzr6Tht Qfck9Eia2GjleWwWxQwfrfWv901wmXMk4AoHcEYOwrBUuEtXw0+ZIF0c6MzXecpNzPl+ JuCA== Received: by 10.68.225.170 with SMTP id rl10mr1193260pbc.76.1335995303629; Wed, 02 May 2012 14:48:23 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPS id pv8sm439565pbc.9.2012.05.02.14.48.22 (version=SSLv3 cipher=OTHER); Wed, 02 May 2012 14:48:22 -0700 (PDT) Sender: Navdeep Parhar Message-ID: <4FA1ABA5.2070704@FreeBSD.org> Date: Wed, 02 May 2012 14:48:21 -0700 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: Ryan Stone References: <4FA1A421.6020601@FreeBSD.org> <4FA1A99D.208@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: CPU selection for ithreads on 8.3 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: Wed, 02 May 2012 21:48:24 -0000 On 05/02/12 14:44, Ryan Stone wrote: > On Wed, May 2, 2012 at 5:39 PM, Navdeep Parhar wrote: >> I will try it. But would this explain why it used to work with 8.2 but >> broke in 8.3? >> >> Navdeep > > If other driver changed between 8.2 and 8.3 to start binding intr > threads to CPUs then your driver would inherit the last pinning. Or > even if your driver is now attaching after another driver. But wouldn't _all_ of the driver's intr threads inherit the last pinning, whatever it was? I'm saying that on 8.2 the 9 different threads used to bind to different CPUs automatically (provided enough CPUs were available) but now they all bind to the same CPU. Anyway I'll try out the rev you pointed at then we'll work backwards towards an explanation if it works :-) Navdeep