Re: [SLUG] Disk Access Speed

2003-07-28 Thread John McQuillen
On Mon, 2003-07-28 at 11:34, Lyle Chapman wrote:
 Sorry one more question to annoy everybody with, I have installed a new 
 80gb seagate drive and the problem is when I copy something to or from 
 it I am getting a woeful 3 mb/sec transfer speed.
 
 I ran hdparm -Tt /dev/hda and the result was the cache access was 
 reporting the right speed but disk access was 3.5meg/sec (pathetic)
 
 I ran hdparm again and turned all the go faster bits on, this increased 
 it to 5.5 meg/sec.
 
 Although I did notice that I get a DMA error in hdparm when trying to 
 turn DMA on.
 
 Any ideas anyone, thanks?
 
I have just fixed this on my Mandrake 9.1 system (kernel 2.4.21). It
ended up that I had to add my drive's model number (ST360015A) to the
drive_whitelist in /usr/src/linux/drivers/ide/ide-dma.c and recompile
the kernel (after checking that it wasn't in the drive_blacklist or
bad_dma_drives list for good reason).

All is well with DMA now. Hope it works for you.

Cheers,

John...
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Disk Access Speed

2003-07-28 Thread John McQuillen
On Tue, 2003-07-29 at 13:17, Lyle Chapman wrote:
 So I just add this to the drive_whitelist?
 
 { Seagate,   ALL   },
 

The model value gained with `hdparm -i` is what you use where you have
Seagate as below...

# hdparm -i /dev/hda
 
/dev/hda:
 
 Model=ST360015A, FwRev=3.33, SerialNo=3KC1W26H
   -

Yes, you do have the format correct.

Cheers,

John...

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Disk Access Speed

2003-07-27 Thread Lyle Chapman
Sorry one more question to annoy everybody with, I have installed a new 
80gb seagate drive and the problem is when I copy something to or from 
it I am getting a woeful 3 mb/sec transfer speed.

I ran hdparm -Tt /dev/hda and the result was the cache access was 
reporting the right speed but disk access was 3.5meg/sec (pathetic)

I ran hdparm again and turned all the go faster bits on, this increased 
it to 5.5 meg/sec.

Although I did notice that I get a DMA error in hdparm when trying to 
turn DMA on.

Any ideas anyone, thanks?


Lyle Chapman

Pre-Press Supervisor
Torch Publishing Co.
www.torchpublishing.com.au
47 Allingham Street, Condell Park 2200, NSW, Australia

(02) Ph: 9795 
(02) Fax: 9795 0096
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


RE: [SLUG] Disk Access Speed

2003-07-27 Thread Michael Collins
Does this drive share an IDE channel with an optical drive?  If the
CD/DVD drive resides on the same IDE channel (/dev/hdb), the transfer
speeds will default to the slower device's speed...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Lyle Chapman
Sent: Monday, 28 July 2003 11:34 AM
To: [EMAIL PROTECTED]
Subject: [SLUG] Disk Access Speed


Sorry one more question to annoy everybody with, I have installed a new 
80gb seagate drive and the problem is when I copy something to or from 
it I am getting a woeful 3 mb/sec transfer speed.

I ran hdparm -Tt /dev/hda and the result was the cache access was 
reporting the right speed but disk access was 3.5meg/sec (pathetic)

I ran hdparm again and turned all the go faster bits on, this increased 
it to 5.5 meg/sec.

Although I did notice that I get a DMA error in hdparm when trying to 
turn DMA on.

Any ideas anyone, thanks?


Lyle Chapman

Pre-Press Supervisor
Torch Publishing Co.
www.torchpublishing.com.au
47 Allingham Street, Condell Park 2200, NSW, Australia

(02) Ph: 9795 
(02) Fax: 9795 0096
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Disk Access Speed

2003-07-27 Thread Matthew Palmer
On Mon, Jul 28, 2003 at 11:34:10AM +1000, Lyle Chapman wrote:
 Sorry one more question to annoy everybody with, I have installed a new 
 80gb seagate drive and the problem is when I copy something to or from 
 it I am getting a woeful 3 mb/sec transfer speed.

Are you running it under 2.4.21?  I've had really slow speeds on HDD access
under 2.4.21, and I'm told it's because something got broken in IDE DMA in
that kernel version.

Luckily the machine I'm running it on is only my firewall, so HDD speed
isn't important.

- Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Disk Access Speed

2003-07-27 Thread Brett Fenton
I haven't really tuned anything for this. The newer 2.4 kernels mostly 
optimize the disk paramaters. Presently I've got a 120GB WD disk in the 
box. hdparm revels:

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.15 seconds =853.33 MB/sec
 Timing buffered disk reads:  64 MB in  1.42 seconds = 45.07 MB/sec
Which is okay for what I use the disk with. I remeber a while back 
playing with hdparm and getting the reads up around 60MB/s from memory.

I think you'll need to look in the IDE/ATAPI section of the kernel 
config there is options there *from memory* for use DMA by default and 
another option that escapes me for optimized use of DMA.

Brett

Lyle Chapman wrote:
Sorry one more question to annoy everybody with, I have installed a new 
80gb seagate drive and the problem is when I copy something to or from 
it I am getting a woeful 3 mb/sec transfer speed.

I ran hdparm -Tt /dev/hda and the result was the cache access was 
reporting the right speed but disk access was 3.5meg/sec (pathetic)

I ran hdparm again and turned all the go faster bits on, this increased 
it to 5.5 meg/sec.

Although I did notice that I get a DMA error in hdparm when trying to 
turn DMA on.

Any ideas anyone, thanks?

Lyle Chapman

Pre-Press Supervisor
Torch Publishing Co.
www.torchpublishing.com.au
47 Allingham Street, Condell Park 2200, NSW, Australia
(02) Ph: 9795 
(02) Fax: 9795 0096
--
Brett Fenton
General Manager
NetRegistry Pty Ltd
___
http://www.netregistry.com.au/

Tel: +61 2 96996099  |  Fax: +61 2 96996088
PO Box 270 Broadway  |  NSW 2007, Australia
Your Total Internet Business Services Provider
Trusted by 10,000s of Oz Businesses Since 1997


This email is from NetRegistry Pty Ltd. The contents of this message are 
commercial and in confidence to the intended addresseee.

The message may contain copyrighted and/or legally priviledged 
information. No person or entity other than the intended recipient may 
read, print or store this message, including any and all attached files.

The intended recipient may not forward this message to any third party 
without express written permission from NetRegistry Pty Ltd.
	

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Disk Access Speed

2003-07-27 Thread Brett Fenton
I've got 2.4.21 and the IDE/DMA seems to be fine.

Brett

Matthew Palmer wrote:
On Mon, Jul 28, 2003 at 11:34:10AM +1000, Lyle Chapman wrote:

Sorry one more question to annoy everybody with, I have installed a new 
80gb seagate drive and the problem is when I copy something to or from 
it I am getting a woeful 3 mb/sec transfer speed.


Are you running it under 2.4.21?  I've had really slow speeds on HDD access
under 2.4.21, and I'm told it's because something got broken in IDE DMA in
that kernel version.
Luckily the machine I'm running it on is only my firewall, so HDD speed
isn't important.
- Matt
--
Brett Fenton
General Manager
NetRegistry Pty Ltd
___
http://www.netregistry.com.au/

Tel: +61 2 96996099  |  Fax: +61 2 96996088
PO Box 270 Broadway  |  NSW 2007, Australia
Your Total Internet Business Services Provider
Trusted by 10,000s of Oz Businesses Since 1997


This email is from NetRegistry Pty Ltd. The contents of this message are 
commercial and in confidence to the intended addresseee.

The message may contain copyrighted and/or legally priviledged 
information. No person or entity other than the intended recipient may 
read, print or store this message, including any and all attached files.

The intended recipient may not forward this message to any third party 
without express written permission from NetRegistry Pty Ltd.
	

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Disk Access Speed

2003-07-27 Thread mlh
On Mon, Jul 28, 2003 at 11:34:10AM +1000, Lyle Chapman wrote:
 Although I did notice that I get a DMA error in hdparm when trying to 
 turn DMA on.

Do you have a good quality, dma capable cable?

Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug