Тестирование выделенных серверов, VPS

Команды для использования по сетевому протоколу SSH. В Windows используйте PuTTY, а в Linux подойдет любой терминал. 🙂

bench.sh

# wget -qO- bench.sh | bash

Пример вывода bench.sh:

nench.sh (усовершенствованный bench.sh)

Запускать можно двумя способами:

# sudo apt install curl (если не установлен curl)
# (curl -s wget.racing/nench.sh | bash; curl -s wget.racing/nench.sh | bash) 2>&1 | tee nench.log
# (wget -qO- wget.racing/nench.sh | bash; wget -qO- wget.racing/nench.sh | bash) 2>&1 | tee nench.log

Пример вывода nench.sh:

-------------------------------------------------
 nench.sh v2019.07.20 -- https://git.io/nench.sh
 benchmark timestamp:    2020-07-10 08:21:15 UTC
-------------------------------------------------

Processor:    Intel(R) Xeon(R) CPU E3-1275 v5 @ 3.60GHz
CPU cores:    8
Frequency:    900.718 MHz
RAM:          62Gi
Swap:         31Gi
Kernel:       Linux 4.19.0-9-amd64 x86_64

Disks:
nvme0n1    477G  SSD
nvme1n1    477G  SSD

CPU: SHA256-hashing 500 MB
    2.202 seconds
CPU: bzip2-compressing 500 MB
    CPU: AES-encrypting 500 MB
    0.691 seconds

ioping: seek rate
    min/avg/max/mdev = 47.8 us / 62.3 us / 7.39 ms / 34.5 us
ioping: sequential read speed
    generated 32.0 k requests in 5.00 s, 7.82 GiB, 6.41 k iops, 1.56 GiB/s

dd: sequential write speed
    1st run:    892.64 MiB/s
    2nd run:    888.82 MiB/s
    3rd run:    885.96 MiB/s
    average:    889.14 MiB/s

IPv4 speedtests
    your IPv4:    88.198.52.xxxx

    Cachefly CDN:         85.11 MiB/s
    Leaseweb (NL):        80.21 MiB/s
    Softlayer DAL (US):   6.84 MiB/s
    Online.net (FR):      49.03 MiB/s
    OVH BHS (CA):         15.34 MiB/s

IPv6 speedtests
    your IPv6:    2a01:4f8:221:xxxx

    Leaseweb (NL):        58.98 MiB/s
    Softlayer DAL (US):   7.29 MiB/s
    Online.net (FR):      30.35 MiB/s
    OVH BHS (CA):         15.56 MiB/s
-------------------------------------------------

S.M.A.R.T.

S.M.A.R.T. дает полную информацию о дисках.

# apt install smartmontools
# lsblk (смотрим список дисков и разделы на дисках, для проверки необходимого)
# smartctl -a /dev/nvme1n1 (nvme1n1 - мы указали необходимый диск для проверки)

Пример вывода lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme1n1     259:0    0   477G  0 disk
├─nvme1n1p1 259:4    0    32G  0 part
│ └─md0       9:0    0    32G  0 raid1 [SWAP]
├─nvme1n1p2 259:6    0   512M  0 part
│ └─md1       9:1    0   511M  0 raid1 /boot
└─nvme1n1p3 259:7    0 444.4G  0 part
  └─md2       9:2    0 444.3G  0 raid1 /
nvme0n1     259:1    0   477G  0 disk
├─nvme0n1p1 259:2    0    32G  0 part
│ └─md0       9:0    0    32G  0 raid1 [SWAP]
├─nvme0n1p2 259:3    0   512M  0 part
│ └─md1       9:1    0   511M  0 raid1 /boot
└─nvme0n1p3 259:5    0 444.4G  0 part
  └─md2       9:2    0 444.3G  0 raid1 /

Пример вывода S.M.A.R.T. по диску nvme1n1

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-31-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       SAMSUNG MZVLB512HAJQ-00000
Serial Number:                      S3W8NA1M323691
Firmware Version:                   EXA7301Q
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Total NVM Capacity:                 512,110,190,592 [512 GB]
Unallocated NVM Capacity:           0
Controller ID:                      4
Number of Namespaces:               1
Namespace 1 Size/Capacity:          512,110,190,592 [512 GB]
Namespace 1 Utilization:            511,765,864,448 [511 GB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            002538 83910924a5
Local Time is:                      Fri Jul 10 18:23:09 2020 CEST
Firmware Updates (0x16):            3 Slots, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x001f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat
Maximum Data Transfer Size:         512 Pages
Warning  Comp. Temp. Threshold:     81 Celsius
Critical Comp. Temp. Threshold:     82 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     7.02W       -        -    0  0  0  0        0       0
 1 +     6.30W       -        -    1  1  1  1        0       0
 2 +     3.50W       -        -    2  2  2  2        0       0
 3 -   0.0760W       -        -    3  3  3  3      210    1200
 4 -   0.0050W       -        -    4  4  4  4     2000    8000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        30 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    23%
Data Units Read:                    5,163,502 [2.64 TB]
Data Units Written:                 262,243,272 [134 TB]
Host Read Commands:                 695,453,035
Host Write Commands:                12,900,295,088
Controller Busy Time:               14,701
Power Cycles:                       16
Power On Hours:                     7,985
Unsafe Shutdowns:                   2
Media and Data Integrity Errors:    6
Error Information Log Entries:      16
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               30 Celsius
Temperature Sensor 2:               28 Celsius

Error Information (NVMe Log 0x01, max 64 entries)
No Errors Logged

Geekbench 4

Geekbench тестирует процессор сервера.

Ubuntu

# sudo dpkg --add-architecture i386
# sudo apt-get update
# sudo apt-get install libc6:i386 libstdc++6:i386

# wget http://cdn.geekbench.com/Geekbench-4.3.3-Linux.tar.gz ~/
# tar -zxvf ~/Geekbench-4.3.3-Linux.tar.gz && cd ~/Geekbench-4.3.3-Linux/

# ./geekbench4

Пример вывода Geekbench 4:

В конце вывода вы можете видеть ссылку на официальный сайт Geekbench, перейдя по которой, открываются результаты теста Geekbench 4.

 Running Gathering system information
System Information
  Operating System              Ubuntu 20.04 LTS 5.4.0-31-generic x86_64
  Model                         FUJITSU D3417-B1
  Motherboard                   FUJITSU D3417-B1
  Memory                        62.6 GB
  BIOS                          FUJITSU // American Megatrends Inc. V5.0.0.11 R1.28.0.SR.1 for D3417-B1x

Processor Information
  Name                          Intel Xeon E3-1275 v5
  Topology                      1 Processor, 4 Cores, 8 Threads
  Identifier                    GenuineIntel Family 6 Model 94 Stepping 3
  Base Frequency                4.00 GHz
  L1 Instruction Cache          32.0 KB x 4
  L1 Data Cache                 32.0 KB x 4
  L2 Cache                      256 KB x 4
  L3 Cache                      8.00 MB


Single-Core
  Running AES
  Running LZMA
  Running JPEG
  Running Canny
  Running Lua
  Running Dijkstra
  Running SQLite
  Running HTML5 Parse
  Running HTML5 DOM
  Running Histogram Equalization
  Running PDF Rendering
  Running LLVM
  Running Camera
  Running SGEMM
  Running SFFT
  Running N-Body Physics
  Running Ray Tracing
  Running Rigid Body Physics
  Running HDR
  Running Gaussian Blur
  Running Speech Recognition
  Running Face Detection
  Running Memory Copy
  Running Memory Latency
  Running Memory Bandwidth

Multi-Core
  Running AES
  Running LZMA
  Running JPEG
  Running Canny
  Running Lua
  Running Dijkstra
  Running SQLite
  Running HTML5 Parse
  Running HTML5 DOM
  Running Histogram Equalization
  Running PDF Rendering
  Running LLVM
  Running Camera
  Running SGEMM
  Running SFFT
  Running N-Body Physics
  Running Ray Tracing
  Running Rigid Body Physics
  Running HDR
  Running Gaussian Blur
  Running Speech Recognition
  Running Face Detection
  Running Memory Copy
  Running Memory Latency
  Running Memory Bandwidth


Uploading results to the Geekbench Browser. This could take a minute or two
depending on the speed of your internet connection.

Upload succeeded. Visit the following link and view your results online:

  https://browser.geekbench.com/v4/cpu/15619711

Geekbench 5

Ubuntu

# sudo dpkg --add-architecture i386
# sudo apt-get update
# sudo apt-get install libc6:i386 libstdc++6:i386

# wget http://cdn.geekbench.com/Geekbench-5.4.4-Linux.tar.gz ~/
# tar -zxvf ~/Geekbench-5.4.4-Linux.tar.gz && cd ~/Geekbench-5.4.4-Linux/

# ./geekbench5

Пример вывода Geekbench 5:

 Running Gathering system information
System Information
  Operating System              Ubuntu 20.04 LTS 5.4.0-31-generic x86_64
  Model                         FUJITSU D3417-B1
  Motherboard                   FUJITSU D3417-B1
  BIOS                          FUJITSU // American Megatrends Inc. V5.0.0.11 R1.28.0.SR.1 for D3417-B1x

Processor Information
  Name                          Intel Xeon E3-1275 v5
  Topology                      1 Processor, 4 Cores, 8 Threads
  Identifier                    GenuineIntel Family 6 Model 94 Stepping 3
  Base Frequency                4.00 GHz
  L1 Instruction Cache          32.0 KB x 4
  L1 Data Cache                 32.0 KB x 4
  L2 Cache                      256 KB x 4
  L3 Cache                      8.00 MB

Memory Information
  Size                          62.6 GB


Single-Core
  Running AES-XTS
  Running Text Compression
  Running Image Compression
  Running Navigation
  Running HTML5
  Running SQLite
  Running PDF Rendering
  Running Text Rendering
  Running Clang
  Running Camera
  Running N-Body Physics
  Running Rigid Body Physics
  Running Gaussian Blur
  Running Face Detection
  Running Horizon Detection
  Running Image Inpainting
  Running HDR
  Running Ray Tracing
  Running Structure from Motion
  Running Speech Recognition
  Running Machine Learning

Multi-Core
  Running AES-XTS
  Running Text Compression
  Running Image Compression
  Running Navigation
  Running HTML5
  Running SQLite
  Running PDF Rendering
  Running Text Rendering
  Running Clang
  Running Camera
  Running N-Body Physics
  Running Rigid Body Physics
  Running Gaussian Blur
  Running Face Detection
  Running Horizon Detection
  Running Image Inpainting
  Running HDR
  Running Ray Tracing
  Running Structure from Motion
  Running Speech Recognition
  Running Machine Learning


Uploading results to the Geekbench Browser. This could take a minute or two
depending on the speed of your internet connection.

Upload succeeded. Visit the following link and view your results online:

  https://browser.geekbench.com/v5/cpu/2876961

Если вы нашли ошибку, пожалуйста, выделите фрагмент текста и нажмите Ctrl+Enter.

5 1 голос
Article Rating
Подписаться
Уведомить о
guest
0 Комментарий
Межтекстовые Отзывы
Посмотреть все комментарии

Сообщить об опечатке

Текст, который будет отправлен нашим редакторам: