From owner-freebsd-smp@FreeBSD.ORG Tue Mar 10 14:55:48 2009 Return-Path: Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E7CF106566B for ; Tue, 10 Mar 2009 14:55:48 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from n75.bullet.mail.sp1.yahoo.com (n75.bullet.mail.sp1.yahoo.com [98.136.44.51]) by mx1.freebsd.org (Postfix) with SMTP id 540518FC1E for ; Tue, 10 Mar 2009 14:55:48 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from [216.252.122.217] by n75.bullet.mail.sp1.yahoo.com with NNFMP; 10 Mar 2009 14:43:03 -0000 Received: from [69.147.84.102] by t2.bullet.sp1.yahoo.com with NNFMP; 10 Mar 2009 14:43:03 -0000 Received: from [127.0.0.1] by omp206.mail.sp1.yahoo.com with NNFMP; 10 Mar 2009 14:43:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 81400.96690.bm@omp206.mail.sp1.yahoo.com Received: (qmail 64876 invoked by uid 60001); 10 Mar 2009 14:43:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1236696182; bh=XJp5c3G94KcQ0Lp32fRKw9aA2LetrMXCS3T7mWLNWCo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=JQU7R0ERXVBThU0OpzDFFfHTeq6V1pLihN1m3QlLJEsY18JB7nqDl7QvmVQJXT7fBk+N+gSDXoCnr1Y68bF7zNTcEGDBrHlEYieRgEVxrvnQOq+ftfHX8btaGGj8pNlxz7WqemEmcE0Ul4cTa6NerOSOw+a+M6bugCO3A6DCW7w= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=QRJCX39gmTc6t3EemC1UGfoxKeR9YTQy3+BHoK1WNzAf/3tMKHDCl7OFDmFrha0SYbmkzqURQ39GtJ/bmB9287FZv9I/+jw9Jb3vM9QjL42gLe0WsbcpvfV9PUchiwTlVFQp/cCAkM+oSZ2tCiB6Cu80ek0/1jdIFXDDEOyQIcc=; Message-ID: <719357.64276.qm@web45802.mail.sp1.yahoo.com> X-YMail-OSG: WGLoLzAVM1k18zjkDy.kYY3HcPnIjbRSQa.yoCA2iHCLupFp6TnlW7RPZbxu4ptyj9dtL66zklTh6D6hiM598rit4X4EaeXOTKnKbJOjtkfTutVKVxT.fa09kFamCP8B.d0.OfSjFJkW9_PAKB50kEdFzZRE1ywFkMJ.tM9goQvY2psXAWb.ykx.jcQ3a9J1t7J2vMmGjbnnSX1iaEQGd7Ri8tspBmPxXMvoIsHwngHEmvnPkyZ_VbyxNFzh Received: from [58.71.34.137] by web45802.mail.sp1.yahoo.com via HTTP; Tue, 10 Mar 2009 07:43:01 PDT X-Mailer: YahooMailClassic/5.1.19 YahooMailWebService/0.7.289.1 Date: Tue, 10 Mar 2009 07:43:01 -0700 (PDT) From: Won De Erick To: freebsd-smp@freebsd.org, Robert Heron MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: only one logical CPU used in Xeon X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 14:55:49 -0000 Hi, I also have boxes with several Intel Xeon dual-core processors, and also got same results. With FreeBSD 6.2R: #sysctl -a | grep pci.enable hw.pci.enable_io_modes: 1 I think 6.2 uses legacy interrupt (INTx) which allows sharing of IRQs and is CPU bounded(?). It is also probable that even MSI/MSIX-supported NIC drivers are used here, 6.2R still used the traditional interrupt mechanism. With FreeBSD 7.1: #sysctl -a | grep pci.enable hw.pci.enable_msix: 1 hw.pci.enable_msi: 1 hw.pci.enable_io_modes: 1 Google would tell us that MSI/MSI-X allows control over which processor is chosen as the interrupt target. Does this explain the result? http://www.onlamp.com/pub/a/bsd/2008/02/26/whats-new-in-freebsd-70.html?page=last Regards, Won --- On Tue, 3/10/09, Robert Heron wrote: > Hi, > > I have FreeBSD 6.2R running on Intel SE7501HG2 motherboard > with two Xeon installed. > System detects 2 CPUs with 2 cores in each of them (total 4 > cores) but it uses only one core in each Xeon (total 2 of 4 > cores are used only). > I see it in the 'top'. I tried the same hardware on FreeBSD > 7.1R and this OS uses all of the detected cores. > > What should I do FreeBSD 6.2R to use all of the available > cores? > I cannot upgrade it to 7.x, must use 6.x > > Regards, > Robert Heron >