LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-24-2007, 02:05 AM   #1
naxos2
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
Question Etch - Latchups - Disks very slow with software RAID


Hi, I just installed Etch on my primary server, and I can't believe how slow the disks are. It takes about 2 hours to copy 1.5 GB on the same partition.

Not only does it take forever, but the entire machine hangs for minutes at a time while the transfer is occurring. No actual crashes though.

I am using a Supermicro P3TDER/P3TDEI motherboard. This machine has been working great with FreeBSD.

I have checked with hdparm and am using all the appropriate settings. Various hdparm permutations had the predicable effects when measuring with hdparm -Tt. But no effect on the overall slowness with large files.

I used iostat to look at transfer rates while copying large files. I found that the machine would transfer no data for 10 seconds or so, and then transfer a burst for a few seconds.

I am also using linux software RAID-1 so that may also be clouding the issue.

Does anyone have any suggestions about how to go about debugging this?

Thanks.
 
Old 04-27-2007, 12:32 PM   #2
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
chucnk size and block size for large files may be off a tad.
Thats all I can say,until you narrow it down,what process is useing the cpu power during transfer?
 
Old 04-27-2007, 03:57 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I've looked at your post several times trying to figure out a way to help you. Have you tried running "top" during a copy to see where the CPU is spending its time? I can't imagine that the fact that it's a software RAID1 has anything to do with it, otherwise people would be screaming all over the place. Does this motherboard have multiple processors? What disk controller does it use? (run lspci) How much memory do you have, and is the thing swapping like crazy?
 
Old 04-30-2007, 09:27 PM   #4
naxos2
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Hi, thanks for making the effort to help.

To answer your questions, it is a dual P3,
1266 MHz machine. It has 512MB. Swap
is not being used. When not testing, it
sits idle with 213MB in use. When testing
almost all physical memory is used, but swap
is not.

The problem did not show up when I installed
the machine, and I haven't had a chance to go
back to the colo facility and look at the drive
light activity when testing.

I also tried using different schedulers, with no
noticable effect.

I think that I might be having the same issue
that these people are having:

http://forums.gentoo.org/viewtopic-t-482731.html

http://bugzilla.kernel.org/show_bug.cgi?id=7372

On a tip, I tried reverting to kernel 2.6.17.14 with no luck.
When I have some time I want to try the latest kernel.org
kernel.

I've been running bonnie++ in order to duplicate the
problem. A big copy also triggers the issue.

When running bonnie++, top does not update much, but
when it does I either see:

us: 0%
sy: 0%
ni: 0%
id: 50%
wa: 50%
hi: 0%
si: 0%
st: 0%

or

us: 0%
sy: 0%
ni: 0%
id: 99%
wa: 0%
hi: 0%
si: 0%
st: 0%

In both cases I don't see any processes taking up
CPU time.

lspci gives this output:

00:00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23)
00:00.1 PCI bridge: Broadcom CNB20LE Host Bridge (rev 01)
00:00.2 Host bridge: Broadcom CNB20HE Host Bridge
00:00.3 Host bridge: Broadcom CNB20HE Host Bridge
00:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:06.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:0f.0 ISA bridge: Broadcom CSB5 South Bridge (rev 93)
00:0f.1 IDE interface: Broadcom CSB5 IDE Controller (rev 93)
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 05)
00:0f.3 Host bridge: Broadcom CSB5 LPC bridge
01:00.0 VGA compatible controller: ATI Technologies Inc Rage XL AGP 2X (rev 27

I'd really appreciate any help or ideas.

Last edited by naxos2; 04-30-2007 at 09:31 PM.
 
Old 04-30-2007, 10:04 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Do you see any errors when you run dmesg? I just did a test against my software RAID0 with promise controller. It took 4 minutes 51 seconds to copy a 4.7GB file. My chunksize is the 64K default. I just don't have any real ideas for you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble setting up hard disks with software raid AsgrimTheMighty Linux - Hardware 5 09-30-2007 03:18 AM
Software Raid 5 over 5 SATA disks hazmatt20 Linux - Hardware 2 01-24-2007 03:25 PM
moving disks with software raid and LVM mastrboy Linux - General 8 09-30-2006 09:33 AM
Software Raid Idea for desktops with 2 disks mppardee Linux - Software 1 06-20-2006 12:05 PM
software raid (linear) and moving disks TuxJay Linux - Software 0 08-27-2003 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration