LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-06-2005, 08:26 AM   #1
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
poor performance on ata (native sata board)


I own a sata system that has the option to plug two normal ata devices in (one on each cable) for old cd-roms etc. Recently I bought an ata dvd-burner. I was surprised to find that it burned no faster than the old cd-rom that was in it's place read. I plugged a harddrive in it's slot and bang, it still had a maximum throughput of 2.5 - 3.0 MBps.

My other sata discs have a throughput of 48 - 56 MBps (i see that much in gkrellm) but this... Total faliure.

Could this be fixed?
 
Old 10-07-2005, 01:13 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The numbers you quote are typical for a hard drive with DMA turned off. Try 'hdparm /dev/hda' (maybe as root, if that's your drive) and check for 'using_dma = 1' in the output.

You can turn on DMA with 'hdparm -d1 /dev/hda'.

There is a kernel compile flag to force DMA usage. Sometimes you also need a kernel module for your particular chipset before DMA will work.
 
Old 10-07-2005, 01:39 AM   #3
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Original Poster
Rep: Reputation: 31
/dev/hda:
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument

ok.. this has got to be bad

I'll see what kernel flags are availible.

Thanks!
 
Old 10-07-2005, 01:40 AM   #4
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Original Poster
Rep: Reputation: 31
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)


This is even worse...

The system is quite new, the kernel should have a module.

I'll keep everyone posted
 
Old 10-07-2005, 02:23 AM   #5
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Original Poster
Rep: Reputation: 31
human genome project/dev/hda:
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument


Ok, so this looks more like it...


However, the drive still behaves porely, because burning software only recognises it's speed for like 2x instead of 16x. Any relation to HDIO_GETGEO failed?
 
Old 10-07-2005, 02:35 AM   #6
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Original Poster
Rep: Reputation: 31
I just figured it might be the media, but do you even get 2x DVD-R's nowadays?
 
Old 10-07-2005, 03:10 AM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Sorry, haven't seen that 'HDIO_GETGEO failed: Invalid argument' message before. If you google the whole message you will gets lots of hits, many related to DVD drives.
 
  


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
poor performance madwifi ulb Linux - Networking 2 09-02-2005 02:10 PM
poor performance javabb Red Hat 8 01-20-2005 06:48 AM
poor performance in x ah786 Slackware 10 11-09-2004 12:11 PM
Poor performance Shyne Red Hat 1 10-17-2004 12:50 PM
Is native SATA same as ncq SATA satimis Linux - Hardware 8 10-01-2004 09:25 PM


All times are GMT -5. The time now is 11:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration