Determining Disk Speed


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Determining Disk Speed
# 1  
Old 10-04-2012
Determining Disk Speed

Hi,

I went to a computer store and the salesman sold me a SATA cable and told me that all SATA cables are the same. Another salesman at a different store told me a cable rated for SATA 2, which I bought, MIGHT work as well as one rate for SATA 3 but it is not guaranteed. I decided to run a speed test on my SSD drive to check the results.

Code:
dd if=/dev/zero of=/tmp/output.img bs=8k count=256k
262144+0 records in
262144+0 records out
2147483648 bytes (2.1 GB) copied, 0.530362 s, 4.0 GB/s



Code:
for i in 1 2 3; do hdparm -tT /dev/sda; done

/dev/sda:
 Timing cached reads:   27076 MB in  2.00 seconds = 13556.06 MB/sec
 Timing buffered disk reads: 1244 MB in  3.00 seconds = 414.46 MB/sec

/dev/sda:
 Timing cached reads:   28788 MB in  2.00 seconds = 14414.45 MB/sec
 Timing buffered disk reads: 1244 MB in  3.00 seconds = 414.48 MB/sec

/dev/sda:
 Timing cached reads:   27958 MB in  2.00 seconds = 13998.11 MB/sec
 Timing buffered disk reads: 1248 MB in  3.00 seconds = 415.91 MB/sec
[root@mohit-speed-daemon ~]#

I can verify from dmesg and /var/log/messages analysis that I am connected a 6.0gbps. Are my results consistent with that type of connection?
# 2  
Old 10-04-2012
Code:
sudo hdparm -I /dev/sda | grep -i speed

where /dev/sda : Hard disk device file
# 3  
Old 10-04-2012
That command will just tell me that these speeds are supported.
I ran the read/write tests to see what speed it is actually operating at.
I want to know if these speeds are acceptable for a 6.0gbps drive?
# 4  
Old 10-05-2012
The maximum transfer rate of SATA 2 is, ideally, around 300 megabytes per second. You're beating that by 30% in the real world so it really does look like you're getting SATA 3 speeds.

Just because a drive uses a SATA 3 port doesn't mean it's capable of its full 600 megabytes per second, of course. Whether you're reaching the true maximum speed of your drive, I can't say without knowing what it is and looking in its manual. The limits of your southbridge and memory are also important.

Last edited by Corona688; 10-05-2012 at 01:22 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Best practice - determining what region you are on

Hello all, I have a question about what you think the best practice is to determine what region you are running on when you have a system setup with a DEV/TEST, QA, and PROD regions running the same scripts in all. So, when you run in DEV, you have a different directory structure, and you... (4 Replies)
Discussion started by: Rediranch
4 Replies

2. Programming

determining the IP of a function

Is there a way to determine the "Instruction Pointer" of a function in c++, and if so can someone tell me? (5 Replies)
Discussion started by: neur0n
5 Replies

3. Filesystems, Disks and Memory

Disk read and write speed.

Being a novice user to linux i m little unaware of how would i check disk read write speed. One of my mate is suggesting to create a file using dd command and check how much time it takes to create a 30 gb file . I think this has a little sense however i would also like to take your reviews... (5 Replies)
Discussion started by: pinga123
5 Replies

4. UNIX for Advanced & Expert Users

Determining interface to access IP

Hello I've got a server with multiple NICS. In a script I want to log the outbound interface. Is there an easy way I can do this so that the output looks something like this: host(xxx.xxx.xxx.xxx): Opening connection to ... Obviously, getting the host is simple with hostname. But how... (4 Replies)
Discussion started by: brsett
4 Replies

5. Filesystems, Disks and Memory

data from blktrace: read speed V.S. write speed

I analysed disk performance with blktrace and get some data: read: 8,3 4 2141 2.882115217 3342 Q R 195732187 + 32 8,3 4 2142 2.882116411 3342 G R 195732187 + 32 8,3 4 2144 2.882117647 3342 I R 195732187 + 32 8,3 4 2145 ... (1 Reply)
Discussion started by: W.C.C
1 Replies

6. Solaris

determining miniroot revision

Hi guys I have a bunch of x4100's x4140's etc with solaris 10 update4 running on them but I suspect that when a lot of these boxes were originally built, the jumpstart process used an update2 miniroot, now as far as i understand it, the miniroot used at jumpstart is the miniroot that stays on... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

7. Filesystems, Disks and Memory

dmidecode, RAM speed = "Current Speed: Unknown"

Hello, I have a Supermicro server with a P4SCI mother board running Debian Sarge 3.1. This is the "dmidecode" output related to RAM info: RAM speed information is incomplete.. "Current Speed: Unknown", is there anyway/soft to get the speed of installed RAM modules? thanks!! Regards :)... (0 Replies)
Discussion started by: Santi
0 Replies

8. AIX

AIX - Determining link speed

I am trying to find a command to return the "link" speed of the networks installed on AIX. ifconfig - gives me where the link is up and the duplex setting. I need to determine for example if the ethernet connection is 10, 100, 1000 Mbs or what the current speed is based on the network media... (3 Replies)
Discussion started by: karlgo
3 Replies

9. UNIX for Advanced & Expert Users

determining ethernet port speed in solaris

i purchased, what was labeled as a 4-port fast ethernet sbus card from ebay. i installed it in my ultra1, and it seems to be working fine. how can i determine if the card is infact a fast ethernet card vs. the standard ethernet 4-port card? (7 Replies)
Discussion started by: xyyz
7 Replies
Login or Register to Ask a Question