From owner-freebsd-hackers@FreeBSD.ORG Wed May 2 22:17:24 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 3AFEF106566C for ; Wed, 2 May 2012 22:17: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 085A68FC14 for ; Wed, 2 May 2012 22:17:24 +0000 (UTC) Received: by dadm1 with SMTP id m1so551080dad.8 for ; Wed, 02 May 2012 15:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=2gD9ltzer2qRor1SjjARbti+ktuixznZQAaiPuiRkVc=; b=zji9nR/0rGffkc7mI0NXxVCfgOWt3nBzOPcjf+lw/OG8NSofCbdk8t4lnSs6Mz5Jsx FkOcr3OKyIsethEXKbAyyLIyYWXK7YoBSZNdoYW3AL4NaJABARNMtZpwGmby05YA3cev nZ2rbmVKlVyT0KX5Nzg6l334zOCFIwm8+Dff8Edns30BppzuC+hK9cudZuVqEY+kijmy B+f5X3NijvEcUiA1K8UuRwXazzhkAh8pIRMg/5ca4HLrxupsf/d7oIJxtceh2ijYtt2b fcdpYh4iSW2Sj2/ac8hck7ATXZE78TjDqzPiTxkZJWQwZl14vk9oovdmcfNAYN71sba8 Y1Vw== Received: by 10.68.203.66 with SMTP id ko2mr1328452pbc.84.1335997043822; Wed, 02 May 2012 15:17:23 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPS id q1sm3121062pbp.62.2012.05.02.15.17.21 (version=SSLv3 cipher=OTHER); Wed, 02 May 2012 15:17:21 -0700 (PDT) Message-ID: <4FA1B270.8030104@gmail.com> Date: Wed, 02 May 2012 15:17:20 -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> <4FA1ABA5.2070704@FreeBSD.org> In-Reply-To: <4FA1ABA5.2070704@FreeBSD.org> 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 22:17:24 -0000 On 05/02/12 14:48, Navdeep Parhar wrote: > 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. ah, ok. I get it now. didn't actually read r232757 before replying last time. > > 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 :-)