LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-26-2005, 06:28 PM   #1
Painflow
LQ Newbie
 
Registered: Jan 2004
Location: Finland
Distribution: Debian, Ubuntu & Gentoo
Posts: 5

Rep: Reputation: 0
Secondary slave is sluggish as hell.


OK, I've been fighting with this one for too long time by myself now.
Thougt I get rid of it with hardware upgrade.

Nope.

Problem:

Check out the speed of /dev/hdd.

-No help by hdparm settings
-No help by changing hard drives or motherboard (even mb-type from nf2 > via)
-No help by changing distros
-No help by changing positions between hard drives
-No help by aiming my fileserver with TWO shotguns and cursing its mother to be micro$oftian slut

###################

Linux Voimalaitos 2.6.12-2-686 #1 Wed Jun 22 16:29:50 UTC 2005
One AMD Unknown 899MHz processor, 1777.66 total bogomips, 511M RAM
System library 2.3.5

total used free shared buffers cached
Mem: 504 238 265 0 35 165
Swap: 488 0 488
Total: 992 238 753

Filesystem Size Used Avail Use% Mounted on
/dev/hda1 4.7G 1.7G 3.0G 36% /
/dev/hda2 70G 57G 14G 81% /drives/hda
/dev/hdb1 75G 31G 45G 41% /drives/hdb
/dev/hdc1 115G 114G 1.4G 99% /drives/hdc
/dev/hdd1 76G 58G 19G 76% /drives/hdd

/dev/hda: SAMSUNG SV8004H: 36°C
/dev/hdb: WDC WD800BB-60JKA0: 44°C
/dev/hdc: Maxtor 6Y120L0: 52°C
/dev/hdd: Maxtor 6Y080L0: 47°C

/dev/hda:
Timing cached reads: 860 MB in 2.01 seconds = 428.57 MB/sec
Timing buffered disk reads: 96 MB in 3.04 seconds = 31.54 MB/sec

/dev/hdb:
Timing cached reads: 896 MB in 2.00 seconds = 447.84 MB/sec
Timing buffered disk reads: 160 MB in 3.04 seconds = 52.57 MB/sec

/dev/hdc:
Timing cached reads: 848 MB in 2.00 seconds = 423.01 MB/sec
Timing buffered disk reads: 166 MB in 3.01 seconds = 55.18 MB/sec

/dev/hdd:
Timing cached reads: 860 MB in 2.00 seconds = 429.21 MB/sec
Timing buffered disk reads: 10 MB in 3.46 seconds = 2.89 MB/sec

##############

Does any geek have an solution? I'd offer a virtual beer...
 
Old 06-26-2005, 09:13 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,986

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
The first thing I noticed that doesn't seem right is this:

Quote:
/dev/hdc1 115G 114G 1.4G 99% /drives/hdc
but apparrently you've switched the drives around a lot but whatever is on hdd is always slow. Nonetheless, having a drive at 99% capacity can cause problems and hdd is on the same ide channel as the nearly full drive.

However, given all your "no help" statements, one would have to suspect a hardware problem. Check your cables and jumpering for starters. If you have the drives jumpered "cable select" try explicitly jumpering master/slave instead. If you have another ide cable around try swapping out the hdc/hdd cable.
 
Old 06-26-2005, 09:57 PM   #3
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
-No help by changing positions between hard drives
Do you mean that:

A) the same drive is slow in any position
Have you tried actually removing the slow hard drive and trying it in a totally different computer?

B) the secondary slave is always slow
I have no ideas, except changing the motherboard/cables/(power supply?)

Last edited by stefan_nicolau; 06-26-2005 at 09:59 PM.
 
Old 06-26-2005, 11:59 PM   #4
Painflow
LQ Newbie
 
Registered: Jan 2004
Location: Finland
Distribution: Debian, Ubuntu & Gentoo
Posts: 5

Original Poster
Rep: Reputation: 0
OK, I forgot to metion that I've changed ide-cables too.

I can also take two new drives an throw them like:

/dev/hda --> drive one
/dev/hdb --> none
/dev/hdc --> none
/dev/hdd --> drive two

Both drives out of the box and both drives are jumpered to Master/Slave properly.

I can swap my drives round'n'again but mystery of slow /dev/hdd remains.

So it's not single HD not working. It's just secondary slave not working.

I even installed M$ server 2003 (purely on desperation) to find out that in the gatesworld the performance is ideal (~50MB/sec) so it should be software issue.
 
Old 06-27-2005, 05:58 AM   #5
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Have you tried different kernel series (2.0, 2.2, 2.4, 2.6)?
Quote:
/dev/hda --> drive one
/dev/hdb --> none
/dev/hdc --> none
/dev/hdd --> drive two
How can you have a secondary slave without a secondary master?
 
Old 06-27-2005, 06:01 AM   #6
Painflow
LQ Newbie
 
Registered: Jan 2004
Location: Finland
Distribution: Debian, Ubuntu & Gentoo
Posts: 5

Original Poster
Rep: Reputation: 0
2.4 & 2.6
 
Old 06-27-2005, 08:58 AM   #7
Painflow
LQ Newbie
 
Registered: Jan 2004
Location: Finland
Distribution: Debian, Ubuntu & Gentoo
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by stefan_nicolau
How can you have a secondary slave without a secondary master?
Can't see why not:

On that scenario my box just shows it next in the line (as /dev/hdb).

For instance (is that english anymore?) in my mainrig i have LG's DVD-drive as slave without master 'cause I'm waiting for my new DVD-RW to come and fill the master-slot.

Works well with both WIN XP and GENTOO.
 
Old 06-27-2005, 09:59 AM   #8
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
Can't see why not:
I've done some research, and you're right.

Have you tried switching the drive positions on the connector:
Code:
|======|====|        |======|====|
m/b    s    m        m/b    m    s
       l    a               a    l
       a    s   and         s    a
       v    t               t    v
       e    e               e    e
            r               r
Also, have a look at: http://ccrma-mail.stanford.edu/piper...ch/001405.html
according to this, dma is not enabled. What chipset do you have?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
booting from secondary slave sharad durgawad Linux - Enterprise 2 03-18-2006 12:47 PM
Harddisk...primary, secondary, master, slave? OmniXBro Linux - Newbie 8 03-08-2005 09:45 PM
Problems mounting cdrom in Secondary Slave stevesk Linux - Hardware 2 12-04-2004 09:44 PM
BIND slave/secondary help Supp0rtLinux Linux - Software 1 07-29-2003 12:37 AM
Using a primary/secondary HD slave mvendramini Linux - Hardware 4 04-20-2003 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:40 PM.

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