From owner-freebsd-questions@FreeBSD.ORG Thu Jun 22 08:24:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00FFF16A47F for ; Thu, 22 Jun 2006 08:24:20 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41BA144648 for ; Thu, 22 Jun 2006 08:24:19 +0000 (GMT) (envelope-from jahilliya@gmail.com) Received: by nz-out-0102.google.com with SMTP id m22so397227nzf for ; Thu, 22 Jun 2006 01:24:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=So+8YFfPDbQzMouw43g3Qc4Oi0cCh7Zq4oJ0UR5Bjzo2ncCHqvM3P2Ab3On5TFqf3m+PqwfQAqurbayQEwjHWWaPuZfI28F45DFjTip/XBJ6jl/8ct6KIgHpZDjl0aKL9w2VN4JVpe1FSQobIw1vMEVIzlBacj1qe26+BU3QBjo= Received: by 10.37.13.43 with SMTP id q43mr1579481nzi; Thu, 22 Jun 2006 01:24:18 -0700 (PDT) Received: by 10.37.15.74 with HTTP; Thu, 22 Jun 2006 01:24:12 -0700 (PDT) Message-ID: Date: Thu, 22 Jun 2006 16:24:12 +0800 From: Jahilliya To: "Nikos Vassiliadis" In-Reply-To: <200606221031.41033.nvass@teledomenet.gr> MIME-Version: 1.0 References: <449A454A.5070107@cs.tu-berlin.de> <200606221031.41033.nvass@teledomenet.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Remington L , freebsd-questions@freebsd.org, =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= Subject: Re: pkg_add is driving me NUTS! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 08:24:20 -0000 On 6/22/06, Nikos Vassiliadis wrote: > > On Thursday 22 June 2006 10:22, Bj=F6rn K=F6nig wrote: > > Remington L schrieb: > > > I have two servers, exact same hardware, exact same version of > FreeBSD, > > > in this case 4.10. When I run pkg_add blah.tbz on one machine, it > takes > > > between > > > 2-8 hours, on the other 8-10 minutes. These machines are quad-Intel > > > 2.8Xeons, with 4GB of memory. > > > > > > Ive done everything from running make world, to md5ing pkg_add, bzip2= , > > > and tar, there identical. > > > > > > I noticed on the one thing, on the machine that takes forever, bzip2 > is > > > only > > > using 1-3% load, while the other, which does work, takes 100%. I have > SMP > > > compiled into the kernel, well actually, there both using the exact > same > > > kernconf. > What about the default nice levels, what is top reporting the nice levels are on both the servers? Are other processes hogging the CPU? Have profiles been modified at all on either machine? (/etc/login.conf) Try doing nice -n -19 pkg_add ...... Monitor iostat -c99999 diskdev to see what speed they're reading from the disk at....