Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2006 16:24:12 +0800
From:      Jahilliya <jahilliya@gmail.com>
To:        "Nikos Vassiliadis" <nvass@teledomenet.gr>
Cc:        Remington L <mrl0lz@gmail.com>, freebsd-questions@freebsd.org, =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
Subject:   Re: pkg_add is driving me NUTS!
Message-ID:  <ba5e78ea0606220124y71a7886cn26cfdcf31cb1f008@mail.gmail.com>
In-Reply-To: <200606221031.41033.nvass@teledomenet.gr>
References:  <fe18b2280606211955m68192e64o57cd093de0eae558@mail.gmail.com> <449A454A.5070107@cs.tu-berlin.de> <200606221031.41033.nvass@teledomenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/22/06, Nikos Vassiliadis <nvass@teledomenet.gr> 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....



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ba5e78ea0606220124y71a7886cn26cfdcf31cb1f008>