Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jan 2000 02:16:34 -0800
From:      R Joseph Wright <rjoseph@nwlink.com>
To:        Kent Stewart <kstewart@3-cities.com>, freebsd-questions@FreeBSD.org
Subject:   Re: some performance issues
Message-ID:  <386F2582.E5910672@nwlink.com>
References:  <386C023E.680FC31@inna.net> <386C0676.F39EC477@3-cities.com> <386C2354.ABD1ED54@nwlink.com> <386C3173.1D695393@3-cities.com> <386C543D.6E59C9DF@nwlink.com> <19991231104441.C2609@emu.sourcee.com> <386CE8AB.29A140B5@nwlink.com> <386CF9DC.B71A9887@3-cities.com> <386D3D3C.C92D02A3@nwlink.com> <386D5C88.B8257D45@3-cities.com> <386D8ABD.C2894A91@nwlink.com> <386D9271.C3B7DD95@3-cities.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kent Stewart wrote:
> 
> R Joseph Wright wrote:
> >
> > > > I recompiled my kernel and changed the flags from 0x80ff80ff to
> > > > 0xa0ffa0ff.  What is a good program to use to see if I can really tell a
> > > > difference?  I tried out some of my bigger programs like star office and
> > > > gimp.  Star Office still took a little while to load, gimp seemed to fly
> > > > (when it wasn't crashing).
> > >
> > > I use "iozone -s 160m" because I have 128MB of memory. The size of the
> > > file needs to be larger than memory so you aren't benchmarking the
> > > cache. You can find it in the packages/benchmark area of the CDROM.
> > >
> > > Kent
> >
> > Kent, I tried that, only for me it worked doing "iozone 160".  Here is
> > my results:
> >
> > 11483869 bytes/second for reading
> > 15155142 bytes/second for writing
> >
> > Is that really slow?  It's nowhere near 33MB/second.  I have a Maxtor
> > 7000rpm with UDMA66 capabilities, although I'll have to wait for -STABLE
> > to support that, and a new motherboard as well.  I may recompile with
> > the old flags just to see the difference.
> >
> 
> What you will see with the old flags is probably 6-7MB/s. Remember
> that UDMA66 is the rate that the buffer transfers data. The continuous
> rate off of the HD is MUCH less :). I think the lvd IBM Scsi's are
> rated at 20.2MB/s continuous and not the 80MB/s of the interface.
> 
> Kent

I didn't have to rebuild with the old flags, I just rebooted the old
one.  The results were noticeably lower:

8918121 bytes/second read
10599623 bytes/second write

I looked back in the book and saw another option, 0x1000 for LBA
addressing.  So, I recompiled with flags 0xb0ffb0ff.  Here are the
results for that:

11652108 bytes/second read
15219586 bytes/second write

Slightly higher than with 0xa0ffa0ff.  I'm getting the hang of this.
> 
> > Happy New Year (why am I sitting at this computer 8-) )!
> 
> Well, if it makes you feel better, there are two of us doing the same
> thing. I hit my first 2000 problem. I wanted to do an update from
> today's Stock Market with Quicken 99 and I suddenly had 3 accounts
> that were each worth $10-40M US. Something overflowed. The smallest
> account was the one that jumped to $40M. The system was quickly
> restored from the last backup and now I'm installing Quicken 2000.
> People believe stuff like this. All I could do was chuckle. It is also
> the first time I ran Quicken since I upgraded to Windows 2000 gold.

I just had my first y2k problem too.  After eating too much celebratory
ben&jerry's ice cream last night, I proceeded to delete the contents of
my /usr/bin directory.  I tried a number of things like just going in to
/usr/src/usr.bin and doing 'make'.  I didn't have 'make' anymore. 
Luckily, I had an unused partition on my hard drive.  I decided to
install a 4.0 snapshot from a cdrom onto it.  From there, I mounted my
-STABLE /usr and copied the contents from the 4.0 /usr/bin into the
-STABLE.  Then I rebooted the -STABLE, and tried to remake the /usr/bin
directory again using the -STABLE sources. I got an error message that
said something like "This isn't NetBSD.  You lose!"  I thought that was
cruel.

So I cvsup'ed the latest -STABLE sources again and did make world, just
to make sure everything was just right.  Now it's working beautifully. 
I knew I could fix it without reinstalling!

> 
> I did watch some of the stuff in Times Square in NY. In Washington
> State, they cancelled a cellebration around the Space Needle because
> they caught terrorist's coming in to WA from Canada. That part is
> enough to keep you home on the computer :).
> 
> Kent

I actually live in downtown Seattle and had a beautiful view of the
fireworks at the Space Needle from my roof.  I guess they only cancelled
allowing people in to Seattle Center to get a real close-up view.  The
most amazing thing though, was the sound of people cheering from all
directions and cars honking for many minutes nonstop.  That was pretty
darn cool.

Joseph 

> --
> Kent Stewart
> Richland, WA
> 
> mailto:kstewart@3-cities.com
> http://www.3-cities.com/~kstewart/index.html
> FreeBSD News http://daily.daemonnews.org/
> 
> SETI(Search for Extraterrestrial Intelligence) @ HOME
> http://setiathome.ssl.berkeley.edu/
> 
> Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR
> http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html

-- 
	You will do foolish things,	
     but do them with enthusiasm.  Colette.


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?386F2582.E5910672>