WEB anyone have striped ultra320's?

Discussion in 'OT Technology' started by crazybenf, Apr 15, 2009.

  1. crazybenf

    crazybenf Active Member

    Joined:
    Nov 14, 2001
    Messages:
    15,575
    Likes Received:
    2
    I want to compare against my new database server running SSD's.


    Dual Xeon X5450
    32GB DDR2 800 ECC REG
    3Ware 9650se Raid Controller
    6 x 80GB Intel X25-M Rated @ max 80MB/sec writes (RAID50)

    Reading from offset 31244812 blocks with 2048 bytes per block. Offset in bytes = 63989374976
    4882+0 records in
    4882+0 records out
    9998336 bytes (10 MB) copied, 0.023831 s, 420 MB/s
     
  2. crazybenf

    crazybenf Active Member

    Joined:
    Nov 14, 2001
    Messages:
    15,575
    Likes Received:
    2
    none of you guys have scsi drives?

    Code:
    #!/bin/bash
    #Script for multiple test runs of dd on a hard disk using different block sizes and offsets.
    #This script is provided as is and there is no warranty at all so use it at your own risk.
    
    TEST_RUNS=5
    DATA_SIZE=10000000
    
    #read size of disk in sectors
    DISK_SIZE=`fdisk -lu $1 | grep ".*sectors$" | awk '{print $8}'`
    
    #get sector size
    SECTOR_SIZE=`fdisk -lu $1 | grep "^Units" | awk '{ print $9}'`
    
    echo "Size of $1 in sectors: $DISK_SIZE - With $SECTOR_SIZE bytes per sector."
    echo "Size of $1 in bytes: $(($DISK_SIZE * $SECTOR_SIZE))"
    echo "Size of data being read: $DATA_SIZE"
    
    for j in 1 2 4;
    do
            BLOCK_SIZE=$(($SECTOR_SIZE * $j))
            BLOCK_COUNT=$(($DATA_SIZE / $BLOCK_SIZE))
    
            echo -e "\n\nPerforming reads with block size: $BLOCK_SIZE"
    
            for ((i=0; i < $TEST_RUNS ; i++));
            do
                    OFFSET=$(($DISK_SIZE / $TEST_RUNS / $j * $i))
                    echo -e "\nReading from offset $OFFSET blocks with $BLOCK_SIZE bytes per block. Offset in bytes = $(($OFFSET * $BLOCK_SIZE))"
    
                    #sync first.
                    #Changed this as suggested by highlandsun. Though for linux a single call of sync should be safe; but i do not know about other *nixes.
                    sync; sync
                    #clear caches. Caution this throws away all data not written to disk!
                    echo 3 > /proc/sys/vm/drop_caches
    
                    dd if=$1 of=/dev/null bs=$BLOCK_SIZE count=$BLOCK_COUNT skip=$OFFSET ;
            done;
    done
    
     
  3. thomor25

    thomor25 I make money online....

    Joined:
    Jun 11, 2000
    Messages:
    11,101
    Likes Received:
    0
    Location:
    Denver Colorado
    i'll run it if I get a chance, nigga I'm on a boat in the deep blue sea, won't get off the cruise until another week.
     
  4. Pepsi1975

    Pepsi1975 Mod of the Year

    Joined:
    Jan 6, 2005
    Messages:
    47,590
    Likes Received:
    0
    Location:
    Detroit
    thanks thomor, now I can't get this out of my head

    [y]R7yfISlGLNU[/y]
     
  5. jizzmo

    jizzmo New Member

    Joined:
    Jul 9, 2008
    Messages:
    1,336
    Likes Received:
    0
    :rofl: This si what is known as addiction. Taking a cruise and surfing ot... :uh:
     
  6. thomor25

    thomor25 I make money online....

    Joined:
    Jun 11, 2000
    Messages:
    11,101
    Likes Received:
    0
    Location:
    Denver Colorado
    Reading from offset 229395660 blocks with 512 bytes per block. Offset in bytes = 117450577920
    ./script.sh: line 33: know: command not found
    19531+0 records in
    19531+0 records out
    9999872 bytes (10 MB) copied, 0.180135 seconds, 55.5 MB/s


    Reading from offset 43011684 blocks with 2048 bytes per block. Offset in bytes = 88087928832
    ./script.sh: line 33: know: command not found
    4882+0 records in
    4882+0 records out
    9998336 bytes (10 MB) copied, 0.168609 seconds, 59.3 MB/s
     
  7. thomor25

    thomor25 I make money online....

    Joined:
    Jun 11, 2000
    Messages:
    11,101
    Likes Received:
    0
    Location:
    Denver Colorado
    how much was that server man?
     
  8. crazybenf

    crazybenf Active Member

    Joined:
    Nov 14, 2001
    Messages:
    15,575
    Likes Received:
    2
    ~$6k in parts.


    You sure you're on scsis? I get that same speed from my SATA machine.



    Raid1 - Server 1- Q6600, 4GB DDR2 800, 3Ware 9650se Raid Controller
    2 x 500gb SATA 7200rpm Seagates

    Reading from offset 15197798 blocks with 1024 bytes per block. Offset in bytes = 15562545152
    9765+0 records in
    9765+0 records out
    9999360 bytes (10 MB) copied, 0.177063 seconds, 56.5 MB/s




    Raid1 - Server 2 - Q6600, 4GB DDR2 800, 3Ware 9650se Raid Controller
    2 x 30GB OCz SSDs Rated @ max 130MB/sec writes

    Reading from offset 5819596 blocks with 2048 bytes per block. Offset in bytes = 11918532608
    4882+0 records in
    4882+0 records out
    9998336 bytes (10 MB) copied, 0.078201 seconds, 128 MB/s



    Raid50 - Server 3 - Dual Xeon X5450, 32GB DDR2 800 ECCREG, 3Ware 9650se Raid Controller
    6 x 80GB Intel X25-M Rated @ max 80MB/sec writes

    Reading from offset 31244812 blocks with 2048 bytes per block. Offset in bytes = 63989374976
    4882+0 records in
    4882+0 records out
    9998336 bytes (10 MB) copied, 0.023831 s, 420 MB/s




    Server 1 with Ramdisk using 6GB DDR2 800:

    Reading from offset 78643 blocks with 16384 bytes per block. Offset in bytes = 1288486912
    610+0 records in
    610+0 records out
    9994240 bytes (10 MB) copied, 0.004643 seconds, 2.2 GB/s
     
  9. thomor25

    thomor25 I make money online....

    Joined:
    Jun 11, 2000
    Messages:
    11,101
    Likes Received:
    0
    Location:
    Denver Colorado
    I dunno thats what I ordered from liquidweb, how would you tell?
     
  10. crazybenf

    crazybenf Active Member

    Joined:
    Nov 14, 2001
    Messages:
    15,575
    Likes Received:
    2
    type dmesg and pm me the output
     

Share This Page