LinuxQuestions.org
Visit Jeremy's Blog.
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-14-2008, 04:41 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Rediculously slow write times with Supermicro Board, SATA drives


I am getting rediculously slow write times on my Supermicro Board with SATA drives.

Any idea what could be causing this? It writes at about 14mbps.
 
Old 10-14-2008, 05:03 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Probably need more info. Logs, what exactly it is you're writing, any tests or benchmarks you've tried, etc? How it's setup, RAID, H/W RAID, etc?
 
Old 10-14-2008, 07:04 PM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by trickykid View Post
Probably need more info. Logs, what exactly it is you're writing, any tests or benchmarks you've tried, etc? How it's setup, RAID, H/W RAID, etc?
No raid or anything, the drives are connected right to the board.

Here is the test I ran:
# time dd if=/dev/zero of=file bs=1024 count=512288
512288+0 records in
512288+0 records out
524582912 bytes (525 MB) copied, 35.2333 seconds, 14.9 MB/s

real 0m35.275s
user 0m0.844s
sys 0m10.461s
 
Old 10-14-2008, 07:26 PM   #4
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
How is SATA set up in bios?
What is your kernel?
What are DMA results?
 
Old 10-22-2008, 11:11 PM   #5
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by forum1793 View Post
What are DMA results?
How do I get the DMA output?
 
Old 10-23-2008, 12:22 AM   #6
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
What else is running on your system that might contend with this test for I/O bandwidth? Memory limitations leading to swapping perhaps?
 
Old 10-23-2008, 12:33 AM   #7
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
You are reading from /dev/zero and writing to a file called "file". Where is "file" located? Is it on the same disk that you are reading from? This presumes that you are executing the dd command while in on /dev/zero

Please list the specific device names so that it is easier to understand what you are doing. Too many people write a description of what they are trying to do instead of actually what they are doing and without precise information it is impossible to give a specific if not precise answer.
 
Old 10-23-2008, 03:10 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
First try booting with kernel option "hda=noprobe", and see if it works better. If not, try putting the drive in AHCI mode in the BIOS, make sure you have ahci enabled in the kernel.
 
Old 10-23-2008, 10:13 AM   #9
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by AuroraCA View Post
You are reading from /dev/zero and writing to a file called "file". Where is "file" located? Is it on the same disk that you are reading from? This presumes that you are executing the dd command while in on /dev/zero

Please list the specific device names so that it is easier to understand what you are doing. Too many people write a description of what they are trying to do instead of actually what they are doing and without precise information it is impossible to give a specific if not precise answer.
/dev/zero is a virtual file maintained by the kernel to generate zeros upon demand. It does not exist on any drive anyplace. The test is valid, as far as it goes, to measure drive write speed.

When I ran the identical command in a bash window I opened, pointed at my home directory, on my heavily loaded and busy workstation, I got 47 mB/sec. The target drive is a 10K RPM SCSI drive.
 
Old 10-23-2008, 10:18 AM   #10
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
Quote:
Originally Posted by jiml8 View Post
/dev/zero is a virtual file maintained by the kernel to generate zeros upon demand. It does not exist on any drive anyplace. The test is valid, as far as it goes, to measure drive write speed.

When I ran the identical command in a bash window I opened, pointed at my home directory, on my heavily loaded and busy workstation, I got 47 mB/sec. The target drive is a 10K RPM SCSI drive.
Thank you. I did not know that.

I ran the same test on an old server with IDE drives and it took 13.2785 seconds with 39.5 MB/s transfer.

Last edited by AuroraCA; 10-23-2008 at 10:22 AM.
 
  


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
Knoppix Live Boot CD wont work on Supermicro Board abefroman Linux - Server 2 08-19-2008 03:50 AM
System freezes when I write to/read from either of my two new SATA drives jagavskyrproblem Linux - Hardware 0 09-22-2007 11:22 PM
supermicro board, won't turn on, any help plz PB0711 Linux - Hardware 2 03-09-2007 08:04 PM
Doom 3 Rediculously Slow (10 fps) sancho Linux - Games 17 02-05-2006 07:21 AM
Rediculously slow framerate in America's Army r_jensen11 Linux - Games 7 07-06-2004 09:38 AM

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

All times are GMT -5. The time now is 09:58 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