AMD Opteron 6300 Tune BIOS on KVM Virtualization

2.2 BIOS Configuration Summary
Load BIOS defaults.
Set the date and time.

I am going to provide the bios configuration of the faster machine for the CPU and the Memory options

Bios->Advanced->& Clock Options

GART Error [Disabled]
Microcode Update [Enabled]
Secure Virtual Machine Mode [Enabled]
PowerNow [Enabled]
C State Mode [C6]
PowerCap [P-state 0]
HPC Mode [Enabled]
CPB Mode [Auto]
CPU DownCore Mode [Disabled]
C1E Support [Enabled]
Clock Spread Spectrum [Disabled]

Processor BIOS AMD Opteron 6300 HPC

OR Disable PowerNOW

Bios->Advanced->& Clock Options

GART Error [Disabled]
Microcode Update [Enabled]
Secure Virtual Machine Mode [Enabled]
PowerNow [Disabled]
C State Mode [C6]
CPB Mode [Auto]
CPU DownCore Mode [Disabled]
C1E Support [Enabled]
Clock Spread Spectrum [Disabled]

 

Bios->Advanced->Advanced Chipset Control -> NorthBridge Configuration

 

HT Speed Support [Auto]
IOMMU [Enabled]

 

Bios->Advanced->Advanced Chipset Control -> NorthBridge Configuration ->Memory Configuration

 

Bank Interleaving [Auto]
Node Interleaving [Auto] THE MOST IMPORTANT CHANGE
Channel Interleaving [Auto]
CS Sparing Enable [Disabled]
Bank Swizzle Mode [Enabled]

TEST 1

[root@hydra ~]# stress-ng --cpu 1 --io 2 --vm 5 --vm-bytes 1G --metrics-brief --timeout 1m
stress-ng: info:  [11907] dispatching hogs: 1 cpu, 2 io, 5 vm
stress-ng: info:  [11907] successful run completed in 60.32s (1 min, 0.32 secs)
stress-ng: info:  [11907] stressor       bogo ops real time  usr time  sys time   bogo ops/s   bogo ops/s
stress-ng: info:  [11907]                           (secs)    (secs)    (secs)   (real time) (usr+sys time)
stress-ng: info:  [11907] cpu                7480     60.00     60.01      0.03       124.66       124.58
stress-ng: info:  [11907] io               464208     60.02      0.16     45.80      7733.59     10100.26
stress-ng: info:  [11907] vm              6253380     60.30    226.31     75.29    103698.58     20734.02

TEST 2 on HPC

[root@hydra ~]# stress-ng --cpu 1 --io 2 --vm 5 --vm-bytes 1G --metrics-brief --timeout 1m
stress-ng: info:  [11963] dispatching hogs: 1 cpu, 2 io, 5 vm
stress-ng: info:  [11963] successful run completed in 60.30s (1 min, 0.30 secs)
stress-ng: info:  [11963] stressor       bogo ops real time  usr time  sys time   bogo ops/s   bogo ops/s
stress-ng: info:  [11963]                           (secs)    (secs)    (secs)   (real time) (usr+sys time)
stress-ng: info:  [11963] cpu                7481     60.06     60.05      0.01       124.56       124.56
stress-ng: info:  [11963] io               474248     60.21      0.15     43.49      7877.11     10867.28
stress-ng: info:  [11963] vm              6253380     60.29    227.81     73.57    103723.99     20749.15

 

Тестирование до внедрения настроек

[root@zodiac ~]# stress-ng --cpu 1 --io 2 --vm 5 --vm-bytes 1G --metrics-brief --timeout 1m
stress-ng: info:  [1153] dispatching hogs: 1 cpu, 2 io, 5 vm
stress-ng: info:  [1153] successful run completed in 60.37s (1 min, 0.37 secs)
stress-ng: info:  [1153] stressor       bogo ops real time  usr time  sys time   bogo ops/s   bogo ops/s
stress-ng: info:  [1153]                           (secs)    (secs)    (secs)   (real time) (usr+sys time)
stress-ng: info:  [1153] cpu                7333     60.14     60.11      0.03       121.93       121.93
stress-ng: info:  [1153] io                16339     60.00      0.01    118.21       272.31       138.21
stress-ng: info:  [1153] vm              6253380     60.33    229.41     72.06    103655.13     20742.96

Test sysbench —test=cpu —cpu-max-prime=20000 —num-threads=2 run

Hydra — Enable CPB Mode and HPC Mode

[root@hydra ~]# sysbench --test=cpu --cpu-max-prime=20000 --num-threads=2 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
WARNING: --num-threads is deprecated, use --threads instead
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 2
Initializing random number generator from current time


Prime numbers limit: 20000

Initializing worker threads...

Threads started!

CPU speed:
    events per second:   860.64

General statistics:
    total time:                          10.0022s
    total number of events:              8611

Latency (ms):
         min:                                    2.31
         avg:                                    2.32
         max:                                    2.76
         95th percentile:                        2.35
         sum:                                19999.15

Threads fairness:
    events (avg/stddev):           4305.5000/2.50
    execution time (avg/stddev):   9.9996/0.00

Zodiac — Disable CPB Mode and HPC Mode

[root@zodiac-u7 ~]# sysbench --test=cpu --cpu-max-prime=20000 --num-threads=2 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
WARNING: --num-threads is deprecated, use --threads instead
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 2
Initializing random number generator from current time


Prime numbers limit: 20000

Initializing worker threads...

Threads started!

CPU speed:
    events per second:   856.62

General statistics:
    total time:                          10.0024s
    total number of events:              8571

Latency (ms):
         min:                                    2.31
         avg:                                    2.33
         max:                                    2.68
         95th percentile:                        2.39
         sum:                                19996.44

Threads fairness:
    events (avg/stddev):           4285.5000/1.50
    execution time (avg/stddev):   9.9982/0.00

 

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.