Blog

Benchmark SP BestOf (sortie en juillet 2013)

Écrit le 26 07 2013 par Kévin MET _

On continue avec un nouveau bench d'une machine OVH. Cette fois on va bencher la nouvelle BestOf qui est sortie en juillet 2013. Elle est un peu plus cher que la SP 32G mais elle bénéficie d'une vraie carte RAID ce qui améliore grandement les performances disques. Ce sont d'ailleurs les mêmes disques SATA que dans la machine SP32G. Par contre le processeur est un peu moins bien que sur l'ancien modèle même si il s'agit d'un Xeon i7. Celui-ci est un peu moins rapide que l'ancien modèle sur sysbench. Elle est proposée à un tarif de 59.99€ HT/Mois. Dans ce benchmark nous allons utiliser deux kernels différents. Un kernel de la branche 3.2 et un kernel de la branche 3.8 (Kernel OVH par défaut).

Caractéristiques techniques et informations supplémentaires

  • OS : Debian Squeeze, kernel debian 3.2.0-0.bpo.4-amd64
  • Disque : TOSHIBA DT01ACA200 (2 disques)
  • Raid : Raid1 sur carte Intel RS25AB080
  • CPU : Intel(R) Xeon(R) CPU W3530 @ 2.80GHz
  • 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:                          21.1895s
    total number of events:              10000
    total time taken by event execution: 21.1886
    per-request statistics:
         min:                                  2.12ms
         avg:                                  2.12ms
         max:                                  4.17ms
         approx.  95 percentile:               2.12ms

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

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

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

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          4.3544s
    total number of events:              10000
    total time taken by event execution: 34.8181
    per-request statistics:
         min:                                  2.37ms
         avg:                                  3.48ms
         max:                                 11.81ms
         approx.  95 percentile:               3.50ms

Threads fairness:
    events (avg/stddev):           1250.0000/2.96
    execution time (avg/stddev):   4.3523/0.00

Benchmark et informations sur la partie Disque


# MegaCli -PDList -aALL
                                     
Adapter #0

Enclosure Device ID: 252
Slot Number: 0
Device Id: 9
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA
Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
Coerced Size: 1.817 TB [0xe8b6d000 Sectors]
Firmware state: Online
SAS Address(0): 0x4433221103000000
Connected Port Number: 1(path0) 
Inquiry Data:            43U3RTKASTOSHIBA DT01ACA200                      MX4OABB0
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Foreign State: None 
Device Speed: Unknown 
Link Speed: Unknown 
Media Type: Hard Disk Device

Enclosure Device ID: 252
Slot Number: 1
Device Id: 8
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA
Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
Coerced Size: 1.817 TB [0xe8b6d000 Sectors]
Firmware state: Online
SAS Address(0): 0x4433221102000000
Connected Port Number: 0(path0) 
Inquiry Data:            43U3RW0ASTOSHIBA DT01ACA200                      MX4OABB0
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Foreign State: None 
Device Speed: Unknown 
Link Speed: Unknown 
Media Type: Hard Disk Device


Exit Code: 0x00

# MegaCli -AdpAllInfo -aALL
                                     
Adapter #0

==============================================================================
                    Versions
                ================
Product Name    : Intel (R) RAID Controller RS25AB080
Serial No       : SV24628377
FW Package Build: 23.12.0-0013

                    Mfg. Data
                ================
Mfg. Date       : 11/17/12
Rework Date     : 00/00/00
Revision No     : 30B
Battery FRU     : N/A

                Image Versions in Flash:
                ================
BIOS Version       : 5.42.00_4.12.05.00_0x05270000
WebBIOS Version    : 6.1-62-e_62-Rel
Preboot CLI Version: 05.07-00:#%00011
FW Version         : 3.240.25-2382
Boot Block Version : 2.05.00.00-0010

                Pending Images in Flash
                ================
None

                PCI Info
                ================
Vendor Id       : 1000
Device Id       : 005b
SubVendorId     : 8086
SubDeviceId     : 9268

Host Interface  : PCIE

Number of Frontend Port: 0 
Device Interface  : PCIE

Number of Backend Port: 8 
Port  :  Address
0        4433221102000000 
1        4433221103000000 
2        0000000000000000 
3        0000000000000000 
4        0000000000000000 
5        0000000000000000 
6        0000000000000000 
7        0000000000000000 

                HW Configuration
                ================
SAS Address     : 500605b00599cf20
BBU             : Present
Alarm           : Present
NVRAM           : Present
Serial Debugger : Present
Memory          : Present
Flash           : Present
Memory Size     : 1024MB
TPM             : Absent

                Settings
                ================
Current Time                     : 11:41:22 7/26, 2013
Predictive Fail Poll Interval    : 300sec
Interrupt Throttle Active Count  : 16
Interrupt Throttle Completion    : 50us
Rebuild Rate                     : 30%
PR Rate                          : 30%
Resynch Rate                     : 30%
Check Consistency Rate           : 30%
Reconstruction Rate              : 30%
Cache Flush Interval             : 4s
Max Drives to Spinup at One Time : 4
Delay Among Spinup Groups        : 2s
Physical Drive Coercion Mode     : 1GB
Cluster Mode                     : Disabled
Alarm                            : Enabled
Auto Rebuild                     : Enabled
Battery Warning                  : Enabled
Ecc Bucket Size                  : 15
Ecc Bucket Leak Rate             : 1440 Minutes
Restore HotSpare on Insertion    : Enabled
Expose Enclosure Devices         : Disabled
Maintain PD Fail History         : Enabled
Host Request Reordering          : Enabled
Auto Detect BackPlane Enabled    : SGPIO/i2c SEP
Load Balance Mode                : Auto
Use FDE Only                     : No
Security Key Assigned            : No
Security Key Failed              : No
Security Key Not Backedup        : No

Any Offline VD Cache Preserved   : No

                Capabilities
                ================
RAID Level Supported             : RAID0, RAID1, RAID5, RAID6, RAID10, RAID50, RAID60, PRL 11, PRL 11 with spanning, SRL 3 supported
Supported Drives                 : SAS, SATA

Allowed Mixing:

Mix in Enclosure Allowed
Mix of SAS/SATA of HDD type in VD Allowed

                Status
                ================
ECC Bucket Count                 : 0

                Limitations
                ================
Max Arms Per VD         : 32 
Max Spans Per VD        : 8 
Max Arrays              : 128 
Max Number of VDs       : 64 
Max Parallel Commands   : 1008 
Max SGE Count           : 60 
Max Data Transfer Size  : 8192 sectors 
Max Strips PerIO        : 42 
Min Stripe Size         : 8 KB
Max Stripe Size         : 1.0 MB

                Device Present
                ================
Virtual Drives    : 1 
  Degraded        : 0 
  Offline         : 0 
Physical Devices  : 3 
  Disks           : 2 
  Critical Disks  : 0 
  Failed Disks    : 0 

                Supported Adapter Operations
                ================
Rebuild Rate                    : Yes
CC Rate                         : Yes
BGI Rate                        : Yes
Reconstruct Rate                : Yes
Patrol Read Rate                : Yes
Alarm Control                   : Yes
Cluster Support                 : No
BBU                             : Yes
Spanning                        : Yes
Dedicated Hot Spare             : Yes
Revertible Hot Spares           : Yes
Foreign Config Import           : Yes
Self Diagnostic                 : Yes
Allow Mixed Redundancy on Array : No
Global Hot Spares               : Yes
Deny SCSI Passthrough           : No
Deny SMP Passthrough            : No
Deny STP Passthrough            : No
Support Security                : No

                Supported VD Operations
                ================
Read Policy          : Yes
Write Policy         : Yes
IO Policy            : Yes
Access Policy        : Yes
Disk Cache Policy    : Yes
Reconstruction       : Yes
Deny Locate          : No
Deny CC              : No
Allow Ctrl Encryption: No

                Supported PD Operations
                ================
Force Online                            : Yes
Force Offline                           : Yes
Force Rebuild                           : Yes
Deny Force Failed                       : No
Deny Force Good/Bad                     : No
Deny Missing Replace                    : No
Deny Clear                              : No
Deny Locate                             : No
Disable Copyback                        : No
Enable Copyback on SMART                : No
Enable Copyback to SSD on SMART Error   : Yes
Enable SSD Patrol Read                  : No
Enable Spin Down of UnConfigured Drives : Yes

                Error Counters
                ================
Memory Correctable Errors   : 0 
Memory Uncorrectable Errors : 0 

                Cluster Information
                ================
Cluster Permitted     : No
Cluster Active        : No

                Default Settings
                ================
Phy Polarity                     : 0 
Phy PolaritySplit                : 0 
Background Rate                  : 30 
Stripe Size                      : 256kB
Flush Time                       : 4 seconds
Write Policy                     : WB
Read Policy                      : Adaptive
Cache When BBU Bad               : Disabled
Cached IO                        : No
SMART Mode                       : Mode 6
Alarm Disable                    : Yes
Coercion Mode                    : 1GB
ZCR Config                       : Unknown
Dirty LED Shows Drive Activity   : No
BIOS Continue on Error           : No
Spin Down Mode                   : None
Allowed Device Type              : SAS/SATA Mix
Allow Mix in Enclosure           : Yes
Allow HDD SAS/SATA Mix in VD     : Yes
Allow SSD SAS/SATA Mix in VD     : No
Allow HDD/SSD Mix in VD          : No
Allow SATA in Cluster            : No
Max Chained Enclosures           : 16 
Disable Ctrl-R                   : Yes
Enable Web BIOS                  : Yes
Direct PD Mapping                : No
BIOS Enumerate VDs               : Yes
Restore Hot Spare on Insertion   : Yes
Expose Enclosure Devices         : No
Maintain PD Fail History         : Yes
Disable Puncturing               : No
Zero Based Enclosure Enumeration : No
PreBoot CLI Enabled              : Yes
LED Show Drive Activity          : Yes
Cluster Disable                  : Yes
SAS Disable                      : No
Auto Detect BackPlane Enable     : SGPIO/i2c SEP
Use FDE Only                     : No
Enable Led Header                : Yes
Delay during POST                : 0 

Exit Code: 0x00

# 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: Intel RS25AB080 (scsi)
Disk /dev/sda: 3904294912s
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start        End          Size         File system     Name     Flags
 4      40s          2048s        2009s                        primary  bios_grub
 1      4096s        41947135s    41943040s    ext4            primary  boot
 2      41947136s    3903238143s  3861291008s  ext4            primary
 3      3903238144s  3904288767s  1050624s     linux-swap(v1)  primary

# tune2fs -l /dev/sda2 
tune2fs 1.41.12 (17-May-2010)
Filesystem volume name:   /home
Last mounted on:          <not available>
Filesystem UUID:          52f2566e-4cb3-401d-9c74-82ec9ac8a32d
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:              120668160
Block count:              482661376
Reserved block count:     24133068
Free blocks:              475037907
Free inodes:              120668149
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      908
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Fri Jul 26 01:54:40 2013
Last mount time:          Fri Jul 26 11:27:09 2013
Last write time:          Fri Jul 26 11:27:09 2013
Mount count:              4
Maximum mount count:      -1
Last checked:             Fri Jul 26 01:54:40 2013
Check interval:           0 (<none>)
Lifetime writes:          29 GB
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:      6683045c-dd65-4bd8-96d2-2bfb9839d063
Journal backup:           inode blocks

# 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:  31498 Read, 20998 Write, 67072 Other = 119568 Total
Read 492.16Mb  Written 328.09Mb  Total transferred 820.25Mb  (2.7341Mb/sec)
  174.98 Requests/sec executed

Test execution summary:
    total time:                          300.0044s
    total number of events:              52496
    total time taken by event execution: 297.3623
    per-request statistics:
         min:                                  0.00ms
         avg:                                  5.66ms
         max:                                567.48ms
         approx.  95 percentile:              13.39ms

Threads fairness:
    events (avg/stddev):           52496.0000/0.00
    execution time (avg/stddev):   297.3623/0.00

Deuxième série de bench avec un Kernel OVH 3.8

La seule différence est sur la partie disque. Je colle uniquement le résultat sysbench qui est la seule différence avec le kernel 3.2


# 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:  37713 Read, 25142 Write, 80384 Other = 143239 Total
Read 589.27Mb  Written 392.84Mb  Total transferred 982.11Mb  (3.2736Mb/sec)
  209.51 Requests/sec executed

Test execution summary:
    total time:                          300.0088s
    total number of events:              62855
    total time taken by event execution: 291.9828
    per-request statistics:
         min:                                  0.00ms
         avg:                                  4.65ms
         max:                                267.87ms
         approx.  95 percentile:              13.35ms

Threads fairness:
    events (avg/stddev):           62855.0000/0.00
    execution time (avg/stddev):   291.9828/0.00

On note donc que le kernel 3.8 permet de gagner pas mal de performances disques.

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