From owner-freebsd-stable@FreeBSD.ORG Wed Apr 11 00:18:56 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A71AD16A400 for ; Wed, 11 Apr 2007 00:18:56 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id 4108813C483 for ; Wed, 11 Apr 2007 00:18:56 +0000 (UTC) (envelope-from max@love2party.net) Received: from [88.64.189.189] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1HbQLi06mq-0000kX; Wed, 11 Apr 2007 02:06:10 +0200 From: Max Laier Organization: FreeBSD To: freebsd-stable@freebsd.org Date: Wed, 11 Apr 2007 02:05:59 +0200 User-Agent: KMail/1.9.5 References: <20070410231942.GB13500@sysmon.tcworks.net> In-Reply-To: <20070410231942.GB13500@sysmon.tcworks.net> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart61909600.fyzHTxTbIT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704110206.08099.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+t0UAmJfKsavXCt+hGzPkSK0UfGOE3HbIEUbe 4VGTr5M7dXBeq0mGrztyPJllLmSU84eARhs9V+Hr1Ge5TpRVRS HFP33ZQ6XXFtEmZD/PHxQ== Cc: Subject: Re: uid/gid lookups slower on 6.2 than 4.x? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 00:18:56 -0000 --nextPart61909600.fyzHTxTbIT Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 11 April 2007 01:19, Scott Lambert wrote: > I've run into an interesting performance "issue" with ls on a > 6.2-STABLE box, web1. This box is going to replace my current 4.11 > box, ns, and is not currently active. It's running all the daemons it > will be in production, but traffic is not pointed at it yet. > > I don't think the gmirror vs. adaptec RAID disk subsystem would explain > the performance differences. I could be wrong. If I am, I'm going to > have to get a RAID card for the new box. > > root@web1 /home > 17:58:57 Tue Apr 10 # time ls -l | wc -l > 3135 > > real 0m35.224s > user 0m6.748s > sys 0m28.482s =2E.. > root@web1 /home > 18:01:13 Tue Apr 10 # uname -a > FreeBSD web1.hosting.tcworks.net 6.2-STABLE-200702 FreeBSD > 6.2-STABLE-200702 #0: Sun Feb 4 13:35:09 UTC 2007 =20 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > > root@web1 /home > 18:03:38 Tue Apr 10 # time ls -ln | wc -l > 3135 > > real 0m0.054s > user 0m0.030s > sys 0m0.031s Well, with nsswitch things are a bit more difficult. If you don't need=20 it, you can just use nsswitch.conf to turn it off for passwd/group. =20 Otherwise, you'll have to look at MFCing cached(8) from current. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart61909600.fyzHTxTbIT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBGHCZwXyyEoT62BG0RAtFmAJ9pB+0NYDQ22zLaGXo2HRgsAuzkjACfdjxg S/dGtZrvALCQELno/kSikmQ= =jd/j -----END PGP SIGNATURE----- --nextPart61909600.fyzHTxTbIT--