Sponsored Content
Full Discussion: Determining Disk Speed
Top Forums UNIX for Dummies Questions & Answers Determining Disk Speed Post 302710745 by mojoman on Thursday 4th of October 2012 08:13:42 PM
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?
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
sgpio(1)							   USER COMMANDS							  sgpio(1)

NAME
sgpio - captive backplane LED control utility SYNOPSIS
sgpio [-h] [-V] [[-d|--disk <device>[,<device>...]] | [-p|--port <port>[,<port>...]]] [-s|--status <status>] [-f|--freq <frequency>] DESCRIPTION
Serial General Purpose Input Output (SGPIO) is a communication method used between a main board and a variety of internal and external hard disk drive bay enclosures. This utility can be used to control LEDs in an enclosure. For more information about SGPIO, please consult the SFF-8485 Specification. OPTIONS
-h, --help displays a short help text -V, --version displays the utility and AHCI SGPIO specification -d, --disk disk name of LED location. Names are sda,sdb,sdc,... Multiple names can be provided in a comma-delimited list. -p, --port SATA port number of LED location, can be used if a disk name is no longer valid. 0,1,2,3,... Multiple ports can be provided in a comma-delimited list. -s, --status status of the LED to set. LED status is: locate, fault, rebuild, off -f, --freq Set the frequency at which the LED should blink (in Hz). Frequency should be an integer between 1 and 10. EXAMPLES
Set the locate LED on SDA with an Intel Intelligent backplane: sgpio -d sda -s locate Set the locate LED on SDA to flash at 3 Hz for non-intelligent backplanes: sgpio -d sda -s locate -f 3 Set SATA port 2 with fault at a 3 Hz flash rate: sgpio -p 2 -s fault -f 3 Set disks sda through sdf to fault: sgpio -d sda,sdb,sdc,sdd,sde,sdf -s fault EXIT STATUS
sgpio should return zero when successful. It will return with a non-zero value if there was a failure. AUTHOR
Eric R. Hall <Eric.R.Hall@intel.com> version 0.3 December 2007 sgpio(1)
All times are GMT -4. The time now is 11:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy