Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 1999 17:46:48 -0800
From:      Kent Stewart <kstewart@3-cities.com>
To:        R Joseph Wright <rjoseph@nwlink.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: some performance issues
Message-ID:  <386D5C88.B8257D45@3-cities.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>

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


R Joseph Wright wrote:
> 
> Kent Stewart wrote:
> >
> > You really should print a copy of the LINT file and look at it while
> > you are reading this stuff. The ff tells the system to try and read
> > ahead 15 sectors. You add all of this together and you can easily
> > speed up your disk access 4x or more.
> >
> > Kent
> >
> > R Joseph Wright wrote:
> > >
> > > "Norman C. Rice" wrote:
> > > >
> > > > On Thu, Dec 30, 1999 at 10:59:09PM -0800, R Joseph Wright wrote:
> > > > >
> > > > > >
> > > > > > The 0x2000 allows IDE DMA transfers and that could be part of your
> > > > > > problem. Some drives like that setting and some systems don't. It is
> > > > > > something that you can try by seting it at boot time. If it works,
> > > > > > then you build it into your kernel. My drives are all 0xa0ffa0ff.
> > > > > > 8+2=a.
> > > > >
> 
> 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

> 
> Thanks a lot for all the help.  I'm starting to understand the
> hexadecimal thing a bit more now.

The bitwise expansion from 0 to hex f is something you just have to
know.
> 
> Joseph
> --
>         You will do foolish things,
>      but do them with enthusiasm.  Colette.

-- 
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


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?386D5C88.B8257D45>