Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My raid performance the same as my single drives alone?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zacay
Tux's lil' helper
Tux's lil' helper


Joined: 23 Mar 2003
Posts: 95

PostPosted: Fri Nov 19, 2004 3:00 pm    Post subject: My raid performance the same as my single drives alone? Reply with quote

Hello,
I have a problem with my raid setup.

I have two Raptor 36gb disc setup in Software RAID1.
And when I test my harddrives performance I don't get any speedup at all..

Code:

# hdparm -tT /dev/sda /dev/sdb /dev/md3

/dev/sda:
 Timing cached reads:   3880 MB in  2.00 seconds = 1939.33 MB/sec
 Timing buffered disk reads:  164 MB in  3.00 seconds =  54.62 MB/sec

/dev/sdb:
 Timing cached reads:   3868 MB in  2.00 seconds = 1935.26 MB/sec
 Timing buffered disk reads:  122 MB in  3.00 seconds =  40.61 MB/sec

/dev/md3:
 Timing cached reads:   3812 MB in  2.00 seconds = 1906.29 MB/sec
 Timing buffered disk reads:  140 MB in  3.01 seconds =  46.44 MB/sec


First of I dont' know why my sdb always gets a bit slower, second of all is that my raid setup isn't faster then my single drives alone.

I really need help to solve this, I use this computer as a productionserver.

:(
_________________
Network script for wlan & lan
Clean your old kernels, gain alot of space

What we have to learn to do, we learn by doing...
Back to top
View user's profile Send private message
Sgaduuw
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2002
Posts: 133
Location: Rotterdam, Netherlands

PostPosted: Fri Nov 19, 2004 3:27 pm    Post subject: Reply with quote

software raid1 doen't make things faster, you just get your data mirrored.
_________________
my website
Back to top
View user's profile Send private message
Zacay
Tux's lil' helper
Tux's lil' helper


Joined: 23 Mar 2003
Posts: 95

PostPosted: Fri Nov 19, 2004 3:44 pm    Post subject: Reply with quote

Are you sure?, should it be double the read speed?
cause the data is on two disc and it should read data from both drives at different positions?
_________________
Network script for wlan & lan
Clean your old kernels, gain alot of space

What we have to learn to do, we learn by doing...
Back to top
View user's profile Send private message
transienteagle
Apprentice
Apprentice


Joined: 24 Dec 2003
Posts: 190
Location: UK

PostPosted: Fri Nov 19, 2004 4:02 pm    Post subject: Reply with quote

Zacay,

You should begin to see a reasonable performance increase (albeit not staggering) on reads from your array in a production environment. I dont believe that hdparm will show this performance gain.

As Sgaduuw said all you are doing with Raid 1 is protecting your data in the event of a system crash (hard disk failure), any performance improvements are a bonus.

Write performance will be slightly downgraded (in theory at least, I would be hard pressed to say that I have noticed any difference)

rgds

TE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum