From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 17 02:23:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DB2516A4CE for ; Tue, 17 Feb 2004 02:23:13 -0800 (PST) Received: from yellow.csi.cam.ac.uk (yellow.csi.cam.ac.uk [131.111.8.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65EA943D1F for ; Tue, 17 Feb 2004 02:23:13 -0800 (PST) (envelope-from br260@cam.ac.uk) Received: from br260.wolfson.cam.ac.uk ([131.111.242.109]) by yellow.csi.cam.ac.uk with esmtp (Exim 4.12) id 1At2Nk-0000CH-00 for hackers@freebsd.org; Tue, 17 Feb 2004 10:23:12 +0000 Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-Id: <4A1C3989-6133-11D8-91F3-000A9576014E@cam.ac.uk> Content-Type: text/plain; charset=US-ASCII; format=flowed To: Hackers FreeBSD From: Bin Ren Date: Tue, 17 Feb 2004 10:23:12 +0000 X-Mailer: Apple Mail (2.612) Subject: pin a subsystem to a CPU X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 10:23:13 -0000 Hi, I'm thinking about whether it's possible and how to pin a subsystem of kernel, from a particular driver (such as software RAID) to TCP network stack, to a particular CPU. In other words, I have dual processors and how can I make one of the CPU JUST runs TCP stack so as to increase network throughput? Shall I turn the piece of codes into a kernel thread? Then how hard is it? Thanks a lot! -- Bin