Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2001 13:40:57 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        "Christopher W. Aiken" <cwaiken@icubed.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: UPDATE:   FreeBSD 4.3 --> pits
Message-ID:  <3B33AD59.354B4DD9@urx.com>
References:  <Pine.BSF.4.32.0106220902330.16722-100000@users.icubed.com>

next in thread | previous in thread | raw e-mail | index | archive | help


"Christopher W. Aiken" wrote:
> 
> Cheese...  If people would READ the posts instead of accusing the
> posters of bashing FBSD.  FBSD is my O/S of choice on my home PC.
> I have been using it since 3.5 and have had absolutely no problems
> until I loaded 4.3.
> 
> Thanks to those that tried to help via emails.  As an experiment I
> reloaded 4.2 w/o any selected packages and w/o X.  Install time was 15
> minutes.  Definitely not a hardware problem. I then installed 4.3 w/o
> any selected packages and w/o X. Install time was 35 minutes.  More
> than twice the 4.2 install.
> 
> I then opened up a second terminal (in 4.3) and issued a "top".  I
> went back to first terminal and ran /stand/sysinstall, selected all
> of the  XFree86 4.0 packages I could find and started the install.  Lo
> and  behold it was NOT a hardware  problem as some suspected.  I
> appears that pkg_add copies the file  from the CD to some temp file.
> This copy is very quick.  The "top" command show that problem is with
> "gzip/tar/mtree/rm" commands that are being executed by the pkg_add
> command.
> 
> I have a 300Mz PIII system with 192MB ram.  The "top" command
> indicates that I have 10MB active, 145MB inactive, and the rest was
> allocated to buffers etc.  Why is 145MB inactive?  This is not the
> case in 4.2.  Also the CPU is 98% idle during the whole process.
> Again why? The "gzip/tar/mtree/rm" commands are using 0.01% of the
> CPU. Is this normal?  I don't believe this low CPU usage is the norm
> in 4.2 either.  The bigger the files the more time it took for the
> whole pkg_add process.  The /stand/sysinstall status line was
> reporting the "Package xxxx was successfully read, waiting for
> pkg_add(1)".  I left the system installing and went to bed.  I took
> all night to load the selected XFree86 packages.
> 
> The whole install of 4.2 with XFree86, Gnome, KDE, and other selected
> packages took less than an hour.
> 
> Again I'm not BASHING FBSD, I'm only trying to find out why 4.3 is such
> a dog on my home PC.

They turned off write caching on IDE drives for one thing. My buildworld
time log shows the difference. For example,

buildworld -j8
1649.700u 679.762s 41:23.96 93.7%       1283+1449k 45479+3468io
1642pf+0w
1653.885u 677.372s 41:17.73 94.0%       1285+1449k 46791+3418io
1609pf+0w
buildworld -j6
1601.699u 657.196s 29:00.09 129.8%      1314+1472k 43718+3411io
3248pf+0w
1606.729u 640.580s 29:00.13 129.1%      1321+1483k 43964+3408io
3284pf+0w
buildworld -j8
1598.496u 642.897s 28:55.45 129.1%      1322+1483k 44354+3431io
3289pf+0w

The first two were when write caching was turned off and the last three
were after it was turned back on as a default.

Kent

> 
> --
> -=[cwa]=-
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA
ICQ# 121258098

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
http://daily.daemonnews.org/

SETI (Search for Extraterrestrial Intelligence) @ Home
http://setiathome.ssl.berkeley.edu/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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