Blog

Benchmark du serveur dédié FS-24T OVH (sortie en Aout 2013)

Écrit le 19 08 2013 par Kévin MET _

Je vais continuer sur cette série de benchmarks de serveurs OVH. Aujourd'hui, on s'attaque à un serveur de backup qui a 6 disques de 4 To 😃 Bref, y'a de la place mais quid des performances ? A vrai dire, ce genre de machine n'est pas trop faite pour être une bête de course mais j'avais tout de même envie de voir ce qu'elle a sous le capot.

J'ai fait une grappe RAID 5 soft de 16To pour les disques (le point de montage qui va être benché), coté RAM on a 16Go et coté processeur on a un Xeon E3-1225. Comme je me doutais que les performances du RAID5 allait être très moyenne uniquement en lecture et écriture aléatoire, j'ai également fait quelques benchs en séquentiel. En effet, ce serveur étant fait pour de la backup, il va faire beaucoup de rsync et son utilisation sera plus proche du bench en séquentiel qu'en aléatoire.

Concernant les résultats, je m'attendais un peu à ça, rien de bien folichon mais il fait ce pour quoi il est fait correctement .On peut mettre un backuppc dessus et faire pas mal de backup en parallèle avant de le mettre à genoux (en précisant une limite de bande passante à rsync). On a beaucoup de place et c'est vraiment pratique, on peut conserver un peu plus longtemps les backups. Les benchmarks on été réalisés sur une Debian Wheezy avec un Kernel stock en 3.2.

Caractéristiques techniques et informations supplémentaires

  • OS : Debian Wheezy, kernel debian 3.2 amd64
  • Disques : HITACHI HDS724040ALE640 (6 disques)
  • Raid : Raid5 soft via mdadm
  • Intel(R) Xeon(R) CPU E3-1225 V2 @ 3.20GHz
  • RAM : 32Go

Benchmark du CPU


# sysbench --test=cpu --cpu-max-prime=20000 --num-threads=1 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          23.3615s
    total number of events:              10000
    total time taken by event execution: 23.3608
    per-request statistics:
         min:                                  2.33ms
         avg:                                  2.34ms
         max:                                  5.30ms
         approx.  95 percentile:               2.34ms

Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   23.3608/0.00

# sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          6.1908s
    total number of events:              10000
    total time taken by event execution: 24.7559
    per-request statistics:
         min:                                  2.46ms
         avg:                                  2.48ms
         max:                                  9.08ms
         approx.  95 percentile:               2.47ms

Threads fairness:
    events (avg/stddev):           2500.0000/2.12
    execution time (avg/stddev):   6.1890/0.00

Benchmark et informations sur la partie disque


tune2fs -l /dev/md4 
tune2fs 1.42.5 (29-Jul-2012)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          6d65cf62-e486-4410-abcf-dadb11bdbd9e
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              507322368
Block count:              4058570880
Reserved block count:     202928544
Free blocks:              4026557117
Free inodes:              507322357
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      56
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         4096
Inode blocks per group:   256
RAID stride:              128
RAID stripe width:        640
Flex block group size:    16
Filesystem created:       Fri Aug 16 18:42:07 2013
Last mount time:          Fri Aug 16 18:44:51 2013
Last write time:          Fri Aug 16 18:44:51 2013
Mount count:              2
Maximum mount count:      -1
Last checked:             Fri Aug 16 18:42:07 2013
Check interval:           0 (<none>)
Lifetime writes:          259 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      18155278-05c1-49d0-a21b-b96162fa60f7
Journal backup:           inode blocks

mdadm --detail /dev/md4 
/dev/md4:
        Version : 1.2
  Creation Time : Fri Aug 16 18:41:48 2013
     Raid Level : raid5
     Array Size : 16234283520 (15482.22 GiB 16623.91 GB)
  Used Dev Size : 3246856704 (3096.44 GiB 3324.78 GB)
   Raid Devices : 6
  Total Devices : 6
    Persistence : Superblock is persistent

    Update Time : Fri Aug 16 19:01:32 2013
          State : clean 
 Active Devices : 6
Working Devices : 6
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 512K

           Name : rescue.ovh.net:4
           UUID : 5e5b843e:0167e753:191a1398:b5349022
         Events : 2

    Number   Major   Minor   RaidDevice State
       0       8        4        0      active sync   /dev/sda4
       1       8       20        1      active sync   /dev/sdb4
       2       8       36        2      active sync   /dev/sdc4
       3       8       52        3      active sync   /dev/sdd4
       4       8       68        4      active sync   /dev/sde4
       5       8       84        5      active sync   /dev/sdf4

parted /dev/sda
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit s print                                                     
Model: ATA HGST HDS724040AL (scsi)
Disk /dev/sda: 7814037168s
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start        End          Size         File system     Name     Flags
 1      40s          2048s        2009s                        primary  bios_grub
 2      4096s        40962047s    40957952s    ext4            primary  raid
 3      40962048s    43007999s    2045952s     linux-swap(v1)  primary
 4      43008000s    6536984575s  6493976576s                  primary  raid
 5      6536984576s  7814027263s  1277042688s                  primary  raid

(parted) quit 

sysbench --test=fileio --file-total-size=150G prepare
sysbench 0.4.12:  multi-threaded system evaluation benchmark

128 files, 1228800Kb each, 153600Mb total
Creating files for the test...

sysbench --test=fileio --file-total-size=150G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.


Extra file open flags: 0
128 files, 1.1719Gb each
150Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting...
Done.

Operations performed:  13260 Read, 8840 Write, 28274 Other = 50374 Total
Read 207.19Mb  Written 138.12Mb  Total transferred 345.31Mb  (1.151Mb/sec)
   73.66 Requests/sec executed

Test execution summary:
    total time:                          300.0139s
    total number of events:              22100
    total time taken by event execution: 111.2041
    per-request statistics:
         min:                                  0.00ms
         avg:                                  5.03ms
         max:                                 85.07ms
         approx.  95 percentile:              18.89ms

Threads fairness:
    events (avg/stddev):           22100.0000/0.00
    execution time (avg/stddev):   111.2041/0.00

sysbench --test=fileio --file-total-size=150G --file-test-mode=seqrewr --init-rng=on --max-time=300 --max-requests=0 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.


Extra file open flags: 0
128 files, 1.1719Gb each
150Gb total file size
Block size 16Kb
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential rewrite test
Threads started!
Time limit exceeded, exiting...
Done.

Operations performed:  0 Read, 4288040 Write, 0 Other = 4288040 Total
Read 0b  Written 65.43Gb  Total transferred 65.43Gb  (223.33Mb/sec)
14293.00 Requests/sec executed

Test execution summary:
    total time:                          300.0097s
    total number of events:              4288040
    total time taken by event execution: 299.0121
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.07ms
         max:                                713.77ms
         approx.  95 percentile:               0.01ms

Threads fairness:
    events (avg/stddev):           4288040.0000/0.00
    execution time (avg/stddev):   299.0121/0.00

sysbench --test=fileio --file-total-size=150G --file-test-mode=seqwr --init-rng=on --max-time=300 --max-requests=0 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.


Extra file open flags: 0
128 files, 1.1719Gb each
150Gb total file size
Block size 16Kb
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential write (creation) test
Threads started!
Time limit exceeded, exiting...
Done.

Operations performed:  0 Read, 4446372 Write, 0 Other = 4446372 Total
Read 0b  Written 67.846Gb  Total transferred 67.846Gb  (231.58Mb/sec)
14821.23 Requests/sec executed

Test execution summary:
    total time:                          300.0001s
    total number of events:              4446372
    total time taken by event execution: 296.0861
    per-request statistics:
         min:                                  0.01ms
         avg:                                  0.07ms
         max:                                287.07ms
         approx.  95 percentile:               0.02ms

Threads fairness:
    events (avg/stddev):           4446372.0000/0.00
    execution time (avg/stddev):   296.0861/0.00

sysbench --test=fileio --file-total-size=150G --file-test-mode=seqrd --init-rng=on --max-time=300 --max-requests=0 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.


Extra file open flags: 0
128 files, 1.1719Gb each
150Gb total file size
Block size 16Kb
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential read test
Threads started!
FATAL: Failed to read file! file: 60 pos: 1126760448 errno = 0 ()
Done.

Operations performed:  4446372 Read, 0 Write, 0 Other = 4446372 Total
Read 67.846Gb  Written 0b  Total transferred 67.846Gb  (440.79Mb/sec)
28210.62 Requests/sec executed

Test execution summary:
    total time:                          157.6134s
    total number of events:              4446372
    total time taken by event execution: 157.0151
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.04ms
         max:                               1281.24ms
         approx.  95 percentile:               0.00ms

Threads fairness:
    events (avg/stddev):           4446372.0000/0.00
    execution time (avg/stddev):   157.0151/0.00
♥ Partage sur tes réseaux sociaux ♥
Kévin MET
Kévin MET

Auteur de ce blog et gérant de la société MNT-TECH, je publie sur ce blog lorsque le temps me le permet et lorsqu'un sujet qui me parait intéressant n'a pas encore été abordé en français. Toutes les informations techniques présentes sur cette page peuvent être réutilisées moyennant le fait de citer la source.