l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 May 19 08:07

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Raid 1 - Fresh Install - Drives seem slow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Raid 1 - Fresh Install - Drives seem slow

> Thanks Bill, yep I know it will rebuild slowly in the background.  I 
> hadn't filled in the new info I have since no one had responded, and 
> figured the thread was dead.
> Here's the deal
> I just installed a simple raid-1.  I have a single HD on each 
> controller.  ie. 2 controllers 2 HDs. That's it, no CD players or DVD 
> drives...
> I did a fresh install of Sarge.  After reboot I unplugged the CD drive, 
> and let the array sync overnight.  It took 10hrs to sync 160GiB, which 
> seemed pretty long, so I executed the "dd if=/dev/hda of=/dev/null 
> bs=64k count=10000" command I've seen posted on the raid list.

Sure, so you are reading 600 MB from /dev/hda

> It took about a minute and change to complete, which is long.  So out of 

So about 10MB/sec.

> curiosity I plugged in a CD player and booted Knoppix.  When I ran the 
> same command it took only 30 seconds (which is still not as quick as 
> some of the numbers on that list, but it's an old celeron 466MHz).

Right, 2.4 vs 2.6 kernels handle I/O differently, I don't consider dd
a very good measurement of performance since read/writes to raw
disk devices (without caches, buffering, ordering, or filesystem) are
pretty rare.

> So Knoppix is configuring something different, I'm searching for the 
> difference

I'd point at both the readahead and the large difference in kernel.

> I compared the result hdparm under both OSs
> Sarge:~# hdparm /dev/hda
> /dev/hda:
>  readahead    = 256 (on)
> knoppix:~# hdparm /dev/hda
>  readahead    =  8 (on)
>  geometry     = 19457/255/63, sectors = 312581808, start = 0

> < Linux version 2.6.8-2-686 (dilinger@toaster.hq.voxel.net) (gcc version 
> ---
> > Linux version 2.4.27 (root@Koffer) (gcc version 2.95.4 20011002 

Bill Broadley
Computational Science and Engineering
UC Davis
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.