From owner-freebsd-smp@FreeBSD.ORG Sun Sep 18 02:12:10 2005 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0790216A41F for ; Sun, 18 Sep 2005 02:12:10 +0000 (GMT) (envelope-from nikolai@net24.co.nz) Received: from mta0.net24.net.nz (mta0.net24.net.nz [210.55.4.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44C8C43D45 for ; Sun, 18 Sep 2005 02:12:08 +0000 (GMT) (envelope-from nikolai@net24.co.nz) Received: (qmail 62730 invoked from network); 18 Sep 2005 02:12:05 -0000 Received: from isx-1.net24.net.nz (HELO localhost) (127.0.0.1) by isx-1.net24.net.nz with SMTP; 18 Sep 2005 02:12:05 -0000 Received: from 210.55.30.81 ([210.55.30.81]) by webmail.mta0.net24.net.nz (IMP) with HTTP for ; Sun, 18 Sep 2005 14:12:05 +1200 Message-ID: <1127009525.432cccf5ca320@webmail.mta0.net24.net.nz> Date: Sun, 18 Sep 2005 14:12:05 +1200 From: Nikolai Schupbach To: freebsd-smp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 210.55.30.81 Subject: File I/O with SMP on FreeBSD 4.11 slow 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: Sun, 18 Sep 2005 02:12:10 -0000 Hello, We have installed FreeBSD 4.11 with SMP enabled in our kernel on a dual Intel Xeon 3.2 EMT64 server. We have found file operations like untaring the ports tree, or copying directories with many files extremely slow. However if we disable SMP support and run on a single CPU the performance is fast. Using iostat the performance to untar ports tree is around 4Mb/sec with an SMP kernel. Without SMP iostat reports around 50Mb/sec. Is this normal for 4.11? We tired SMP on 5.4 and it did not suffer from this problem, but we had to revert to 4.11 for other performance reasons. Are we better off to run without SMP? --Nikolai From owner-freebsd-smp@FreeBSD.ORG Sun Sep 18 19:02:11 2005 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FD7F16A41F for ; Sun, 18 Sep 2005 19:02:11 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C32E443D45 for ; Sun, 18 Sep 2005 19:02:10 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j8IJ2A0r009144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Sep 2005 15:02:10 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j8IJ286P021961; Sun, 18 Sep 2005 15:02:08 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C458E51287; Sun, 18 Sep 2005 15:02:07 -0400 (EDT) Date: Sun, 18 Sep 2005 15:02:07 -0400 From: Kris Kennaway To: Nikolai Schupbach Message-ID: <20050918190206.GA84351@xor.obsecurity.org> References: <1127009525.432cccf5ca320@webmail.mta0.net24.net.nz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <1127009525.432cccf5ca320@webmail.mta0.net24.net.nz> User-Agent: Mutt/1.4.2.1i Cc: freebsd-smp@freebsd.org Subject: Re: File I/O with SMP on FreeBSD 4.11 slow 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: Sun, 18 Sep 2005 19:02:11 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 18, 2005 at 02:12:05PM +1200, Nikolai Schupbach wrote: > Hello, >=20 > We have installed FreeBSD 4.11 with SMP enabled in our kernel on a dual I= ntel > Xeon 3.2 EMT64 server. We have found file operations like untaring the po= rts > tree, or copying directories with many files extremely slow. However if we > disable SMP support and run on a single CPU the performance is fast. >=20 > Using iostat the performance to untar ports tree is around 4Mb/sec with a= n SMP > kernel. Without SMP iostat reports around 50Mb/sec. >=20 > Is this normal for 4.11? We tired SMP on 5.4 and it did not suffer from t= his > problem, but we had to revert to 4.11 for other performance reasons. >=20 > Are we better off to run without SMP? As is well known, SMP support on FreeBSD 4.x was rudimentary, and performance is poor when two processes are both performing tasks that require entering the kernel. This has been a major focus of development in the FreeBSD 5 branch and beyond, so if SMP performance is important to you you definitely want the latest release (or wait for the forthcoming FreeBSD 6.0). Kris --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDLbmuWry0BWjoQKURAqRHAKDQt34S8QYethYvZWjyANr6q0lWygCeISjN RrF2uw7T3MKud7RvR3z1lhw= =0Gtv -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z-- From owner-freebsd-smp@FreeBSD.ORG Fri Sep 23 21:30:49 2005 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 978D916A429 for ; Fri, 23 Sep 2005 21:30:49 +0000 (GMT) (envelope-from alienates@safetybiz.com) Received: from chb63.neoplus.adsl.tpnet.pl (chb63.neoplus.adsl.tpnet.pl [83.30.255.63]) by mx1.FreeBSD.org (Postfix) with SMTP id B25E443D46 for ; Fri, 23 Sep 2005 21:30:48 +0000 (GMT) (envelope-from alienates@safetybiz.com) Received: from 123.106.28.125 (EHLO allegedly) by chb63.neoplus.adsl.tpnet.pl with SMTP; Fri, 23 Sep 2005 23:30:43 +0200 id 4901673614vestigial47093 for freebsd-smp@freebsd.org; Fri, 23 Sep 2005 23:30:43 +0200 Mime-Version: 1.0 (Apple Message framework v728) Content-Transfer-Encoding: 7bit Message-Id: <105658105260.2249960979@chb63.neoplus.adsl.tpnet.pl> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-smp@freebsd.org From: Theresa Date: Fri, 23 Sep 2005 23:30:42 +0200 X-Mailer: Apple Mail (2.728) Subject: Software should be easy to use! 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: Fri, 23 Sep 2005 21:30:49 -0000 Softwares CDS all software under $15 and $99! http://qsmj.1zo17qpp7kpr11jwojjeojj1.monocytengfa.com/?ufcijc The harder you work, the harder it is to surrender. There but for the grace of God go [I]. Somewhere between the Angels and the French lies the rest of humanity. Art, like morality, consists of drawing the line somewhere. All great truths begin as blasphemies. Santa Claus has the right idea; visit people once a year.