From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 28 17:43:08 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9788542B for ; Sat, 28 Mar 2015 17:43:08 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B485F27 for ; Sat, 28 Mar 2015 17:43:08 +0000 (UTC) Received: by igbud6 with SMTP id ud6so44720286igb.1 for ; Sat, 28 Mar 2015 10:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=G3PSJH1uhyR8qWe5i8Q1j6DsrgDzG68/04WOQvx7S2Q=; b=0khJ1TPfJoVlDwtikfqArEoUMGrm6mx0ausdvUZ1HDDSYujSGEqr71WHyUBwjkMpSl j3EKooIzt+Migd2Rsn7VVDCYTV3TkEzqQhqU3Y4/tp2K22ZNdGTkoAC1opB7UC4G+yTC VG0+MO85PgVq4uT9CKGlusqRy13v8zXWrQmKEsbDT1f0WehekJcLRbDBMm1navVi3otD Tk1/T9ll11xUG17B6gBBCZhdHAa5daRsqsYNChKUgSExzL/amOHccvcKlsdFG+EsCFzc 9OqEt3UGW5Q1NvQSvukX14AkCQjOOsGzJ7DnqnwQQo2VRxnjWMhxc9Ja5jL/BcGfQ9K8 YXTA== MIME-Version: 1.0 X-Received: by 10.107.155.13 with SMTP id d13mr37069376ioe.29.1427564587791; Sat, 28 Mar 2015 10:43:07 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.17.194 with HTTP; Sat, 28 Mar 2015 10:43:07 -0700 (PDT) In-Reply-To: <20150328154031.GA23643@zxy.spb.ru> References: <20150328112035.GZ23643@zxy.spb.ru> <20150328154031.GA23643@zxy.spb.ru> Date: Sat, 28 Mar 2015 10:43:07 -0700 X-Google-Sender-Auth: -iHmPfe5GFn6vKZ0in9l6PJMYpA Message-ID: Subject: Re: irq cpu binding From: Adrian Chadd To: Slawa Olhovchenkov Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 17:43:08 -0000 On 28 March 2015 at 08:40, Slawa Olhovchenkov wrote: > On Sat, Mar 28, 2015 at 08:20:08AM -0700, Adrian Chadd wrote: > >> On 28 March 2015 at 04:20, Slawa Olhovchenkov wrote: >> > Can someone describe how on FreeBSD/amd64 do interrupt handling? >> > Can be interrupt handler (hardware interrupt) direct dispatch to >> > specific CPU core (and only to this core)? >> > Can be all work be only on this core (ithread, device driver interrupt >> > handler, finalise)? >> >> Yes - you can use cpuset on the interrupt to get them bound that way. >> >> John and I are trying to make that whole process more automated and >> NUMA friendly. I'm debugging some of his work at the moment. > > cpuset don't work as expected -- I see irq handling on other cpu. Well, when you see "irq handling on other cpu", what do you mean? How are you using cpuset to move things around? -a