LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools Search this Thread
Old 06-29-2009, 03:18 AM   #1
perazim
LQ Newbie
 
Registered: Jun 2009
Posts: 4
Thanked: 0
Poor disk performance Fedora 10 on Gigabyte GA-G31M-ES2L


[Log in to get rid of this advertisement]
Poor disk performance Fedora 10 on Gigabyte GA-G31M-ES2L:

Kernel is Linux-2.6.27.25-170.2.72fc10.i686

This is an entry level board with integrated graphics and four sata-2 ports. I have two Hitachi 500GB Sata-2 drives plugged in and am seeing only 4MB/S when copying files between them. I have tried different combinations of sata-2 ports on the mainboard, but get same consistently bad results.

When I run hdparm -tT, I see 90+MB/S on both drives:

[root@server work-2]# hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 7782 MB in 2.00 seconds = 3899.22 MB/sec
Timing buffered disk reads: 272 MB in 3.01 seconds = 90.45 MB/sec

When I look at drive mode, I get this:

[root@server ~]# hdparm -c /dev/sda

/dev/sda:
IO_support = 0 (default)
16-bit)
[root@server ~]# hdparm -c3 /dev/sda

When I try to set it to 32 bit mode, I get this:

/dev/sda:
setting 32-bit IO_support flag to 3
HDIO_SET_32BIT failed: Invalid argument
IO_support = 0 (default)
16-bit)
[root@server ~]#

Does anybody know what is going on here?

Thanks
perazim is offline     Reply With Quote
Old 06-29-2009, 04:41 AM   #2
perazim
LQ Newbie
 
Registered: Jun 2009
Posts: 4
Thanked: 0

Original Poster
I forgot to mention that the file system on both the source and destination for the copy is EXT4
perazim is offline     Reply With Quote
Old 06-29-2009, 05:08 AM   #3
perazim
LQ Newbie
 
Registered: Jun 2009
Posts: 4
Thanked: 0

Original Poster
Some more info:

Disk sda has three partitions:
sda1:ext3 /
sda2:swap
sda3:ext4 /work-1

Disk sdb has one partition:
sdb1:ext4 /work-2

Copying a file in File Manager from sdb1 to sda3 (EXT4 to EXT4) gives about 4MB/S.

Copying a file in File Manager from sdb1 to sda1 (EXT4 to EXT3) gives about 74MB/S.

So maybe the problem has to do with the EXT4 file system? I reformatted sda3 as EXT3. Same slow results!

What's up here?
perazim is offline     Reply With Quote
Old 06-29-2009, 06:14 AM   #4
perazim
LQ Newbie
 
Registered: Jun 2009
Posts: 4
Thanked: 0

Original Poster
Just to cover all bases, I re-flashed the mainboard BIOS with the latest.
perazim is offline     Reply With Quote
Old 06-29-2009, 08:58 AM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,006
Thanked: 117
Yes, you have the latest BIOS...

Have you tried to look at and possibly change the BIOS settings to see if there is something, AHCI or IDE, perhaps, or settings that reserve memory for the graphics chip, that is slowing the system?

Have you tried to download and burn a linux live-cd and used it to copy a large file from each HDD to a USB device or from a HDD to some other location, and see if the process is as slow as using your installed linux for the same operation? Does the live-cd transfer data any quicker between the two HDDs than your installed linux?

Last edited by thorkelljarl; 06-29-2009 at 08:52 PM..
thorkelljarl is offline     Reply With Quote
Old 08-18-2009, 08:30 AM   #6
brunojcm
LQ Newbie
 
Registered: Mar 2009
Posts: 2
Thanked: 0
I'm having the same problem here.. with both ext3, ext4 or vfat partitions in Fedora 11.


Observing the disk activity, I realize that the read speed downs to almost 0 after the first write, and keeps down for the remaining copy time.

I other words, everything goes ok in the first 5 seconds, when data is being copied from source disk to cache.
After the first cache flush to destination disk, the read speed goes down and keep slow up to the end of copy process.

Can you see the same behaviour? I see that in the gnome system monitor.
brunojcm is offline     Reply With Quote

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
Very Poor Disk Performance SAS 15000 RPM Drives JustinK101 Linux - Newbie 4 07-02-2008 08:57 PM
Extremely poor disk performance on SCSI RAID Yalla-One Linux - Hardware 5 03-29-2007 09:04 PM
[Fedora Core 3]Poor write performance with raid controller TomG22 Linux - Hardware 1 09-22-2005 10:25 AM
poor performance javabb Red Hat 8 01-20-2005 06:48 AM
Poor performance Shyne Red Hat 1 10-17-2004 12:50 PM


All times are GMT -5. The time now is 06:12 PM.

Main Menu
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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration