From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 5 18:20:04 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3CEC16A403 for ; Mon, 5 Mar 2007 18:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7B59813C47E for ; Mon, 5 Mar 2007 18:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l25IK4Y6070155 for ; Mon, 5 Mar 2007 18:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l25IK43p070154; Mon, 5 Mar 2007 18:20:04 GMT (envelope-from gnats) Resent-Date: Mon, 5 Mar 2007 18:20:04 GMT Resent-Message-Id: <200703051820.l25IK43p070154@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ludger Bolmerg Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBA0716A400 for ; Mon, 5 Mar 2007 18:17:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id DC9CF13C494 for ; Mon, 5 Mar 2007 18:17:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l25IHbil050650 for ; Mon, 5 Mar 2007 18:17:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l25IHbe0050649; Mon, 5 Mar 2007 18:17:37 GMT (envelope-from nobody) Message-Id: <200703051817.l25IHbe0050649@www.freebsd.org> Date: Mon, 5 Mar 2007 18:17:37 GMT From: Ludger Bolmerg To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/109936: SMP kernel performance problem on FSC TX600 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 18:20:04 -0000 >Number: 109936 >Category: kern >Synopsis: SMP kernel performance problem on FSC TX600 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 05 18:20:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ludger Bolmerg >Release: 6.2 >Organization: >Environment: FreeBSD bsd60.myname.de 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #1 >Description: I installed FreeBSD 6.2 on a Fujitsu Siemens TX600 S3 with 2 dual core Xeon processors and 4G RAM. Here is the link to the data sheet of the server on Fujitsu-Siemens' Web page. It may be helpful http://extranet.fujitsu-siemens.com/vil/pc/vil/primergy/model_line_400/rack_server/ds_prim-rx600-s3.pdf The SMP kernel is awfully slow. make buildkernel takes about 6 hours to complete. When I boot a UP kernel the build completes within 12 minutes. I don't see any unusual message in any log file. Booting the SMP kernel with kern.smp.disabled=1 shows good performance values. When booting the SMP kernel with hint.lapic.10.disabled=1 hint.lapic.12.disabled=1 hint.lapic.14.disabled=1 also results in good performance. Disabling single CPUs didn't work. I had to apply a patch provided by John Baldwin. http://lists.freebsd.org/pipermail/freebsd-smp/2007-February/001320.html Disabling all but one CPU also gives good performance. As soon as the second CPU gets enabled it becomes slow again. >How-To-Repeat: Install on same hardware >Fix: >Release-Note: >Audit-Trail: >Unformatted: