стресс-тесты

Обмен опытом по установке Линукс на разные аппаратные конфигурации

Модераторы: Olej, vikos

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

стресс-тесты

Непрочитанное сообщение Olej » 05 фев 2022, 22:51

Стресс-тесты нужны иногда, бывает, ... для нагрузки и проверки температурных режимов того, как оборудование выдерживает нагрузки.
Уже требовалось и упоминалось в темах:
питание Orange Pi и температура
управление кулерами
перегрев...
... и некоторых других.

Детально заморачиваться с выбором tools для нагрузки вряд ли имеет особый смысл. Берём то, что есть в стандартном репозитории (в данном случае Mint):

Код: Выделить всё

olej@ESPRIMO:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Linuxmint
Description:	Linux Mint 20.3
Release:	20.3
Codename:	una

Код: Выделить всё

olej@ESPRIMO:~$ aptitude search stress
p   netstress                                                - utility to stress and benchmark networks                          
p   stress                                                   - tool to impose load on and stress test a computer system          
p   stress-ng                                                - tool to load and stress a computer                                
p   stressant                                                - simple stress testing and burn-in tool                            
p   stressant-doc                                            - simple stress testing and burn-in tool (documentation)            
p   stressant-meta                                           - stress-testing, benchmarking and recovery tools (meta-package)    
p   stressapptest                                            - stress test application for simulating high load situations       
Но абсолютно то же кино будет в любом дистрибутиве Linux.

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: стресс-тесты

Непрочитанное сообщение Olej » 05 фев 2022, 22:58

Olej писал(а):
05 фев 2022, 22:51
Но абсолютно то же кино будет в любом дистрибутиве Linux.

Код: Выделить всё

olej@ESPRIMO:~$ aptitude show stressant
Пакет: stressant                                 
Версия: 0.6.0
Состояние: не установлен
Приоритет: необязательный
Раздел: universe/admin
Сопровождающий: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Архитектура: all
Размер в распакованном виде: 63,5 k
Зависит: python3-colorlog, python3-humanize, python3:any
Рекомендует: smartmontools, lshw, hdparm, fio, stress-ng, iperf3
Описание: simple stress testing and burn-in tool
 stressant is designed to run on new machines to make sure they will work reliably by testing various parts of the system (CPU,
 RAM, disk, network) by putting them under heavy load and try to detect failures. 
 
 As much as possible, stressant tries to reuse existing tools to perform the various tasks and aims to be run automatically.
Домашняя страница: https://gitlab.com/anarcat/stressant

Код: Выделить всё

olej@ESPRIMO:~$ sudo apt install stressant-meta --simulate
[sudo] пароль для olej:       
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Будут установлены следующие дополнительные пакеты:
  f3 fio ibverbs-providers iperf3 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libibverbs1 libiperf0 libipsec-mb0 libjudydebian1
  libpython2.7-minimal libpython2.7-stdlib librados2 librbd1 librdmacm1 libsctp1 libtirpc-common libtirpc3 nwipe python2.7
  python2.7-minimal python3-colorlog python3-humanize smartmontools stress-ng stressant
Предлагаемые пакеты:
  gnuplot gfio python-scipy lksctp-tools python2.7-doc binfmt-support gsmartcontrol smart-notifier mailx | mailutils
  stressant-doc blktool bonnie++ chntpw diskscan e2tools fatresize foremost gddrescue hfsplus hfsutils i7z lsscsi memtest86+
  mtd-utils partimage screen scrub sdparm sg3-utils s-tui smp-utils testdisk tofrodos u-boot-tools wodim
Следующие НОВЫЕ пакеты будут установлены:
  f3 fio ibverbs-providers iperf3 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libibverbs1 libiperf0 libipsec-mb0 libjudydebian1
  libpython2.7-minimal libpython2.7-stdlib librados2 librbd1 librdmacm1 libsctp1 libtirpc-common libtirpc3 nwipe python2.7
  python2.7-minimal python3-colorlog python3-humanize smartmontools stress-ng stressant stressant-meta
Обновлено 0 пакетов, установлено 29 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Inst libpython2.7-minimal (2.7.18-1~20.04.1 Ubuntu:20.04/focal-updates, Ubuntu:20.04/focal-security [amd64])
Inst python2.7-minimal (2.7.18-1~20.04.1 Ubuntu:20.04/focal-updates, Ubuntu:20.04/focal-security [amd64])
Inst f3 (7.2-1 Ubuntu:20.04/focal [amd64])
Inst libglusterfs0 (7.2-2build1 Ubuntu:20.04/focal [amd64])
Inst libtirpc-common (1.2.5-1 Ubuntu:20.04/focal [all])
Inst libtirpc3 (1.2.5-1 Ubuntu:20.04/focal [amd64])
Inst libgfxdr0 (7.2-2build1 Ubuntu:20.04/focal [amd64])
Inst libgfrpc0 (7.2-2build1 Ubuntu:20.04/focal [amd64])
Inst libgfapi0 (7.2-2build1 Ubuntu:20.04/focal [amd64])
Inst libibverbs1 (28.0-1ubuntu1 Ubuntu:20.04/focal [amd64])
Inst librdmacm1 (28.0-1ubuntu1 Ubuntu:20.04/focal [amd64])
Inst librados2 (15.2.14-0ubuntu0.20.04.2 Ubuntu:20.04/focal-updates [amd64])
Inst librbd1 (15.2.14-0ubuntu0.20.04.2 Ubuntu:20.04/focal-updates [amd64])
Inst libpython2.7-stdlib (2.7.18-1~20.04.1 Ubuntu:20.04/focal-updates, Ubuntu:20.04/focal-security [amd64])
Inst python2.7 (2.7.18-1~20.04.1 Ubuntu:20.04/focal-updates, Ubuntu:20.04/focal-security [amd64])
Inst fio (3.16-1 Ubuntu:20.04/focal [amd64])
Inst ibverbs-providers (28.0-1ubuntu1 Ubuntu:20.04/focal [amd64])
Inst libsctp1 (1.0.18+dfsg-1 Ubuntu:20.04/focal [amd64])
Inst libiperf0 (3.7-3 Ubuntu:20.04/focal [amd64])
Inst iperf3 (3.7-3 Ubuntu:20.04/focal [amd64])
Inst libipsec-mb0 (0.53-1 Ubuntu:20.04/focal [amd64])
Inst libjudydebian1 (1.0.5-5 Ubuntu:20.04/focal [amd64])
Inst python3-colorlog (4.1.0-1 Ubuntu:20.04/focal [all])
Inst python3-humanize (1.0.0-1 Ubuntu:20.04/focal [all])
Inst smartmontools (7.1-1build1 Ubuntu:20.04/focal [amd64])
Inst stress-ng (0.11.07-1ubuntu2 Ubuntu:20.04/focal-updates [amd64])
Inst stressant (0.6.0 Ubuntu:20.04/focal [all])
Inst nwipe (0.26-1 Ubuntu:20.04/focal [amd64])
Inst stressant-meta (0.6.0 Ubuntu:20.04/focal [all])
Conf libpython2.7-minimal (2.7.18-1~20.04.1 Ubuntu:20.04/focal-updates, Ubuntu:20.04/focal-security [amd64])
Conf python2.7-minimal (2.7.18-1~20.04.1 Ubuntu:20.04/focal-updates, Ubuntu:20.04/focal-security [amd64])
Conf f3 (7.2-1 Ubuntu:20.04/focal [amd64])
Conf libglusterfs0 (7.2-2build1 Ubuntu:20.04/focal [amd64])
Conf libtirpc-common (1.2.5-1 Ubuntu:20.04/focal [all])
Conf libtirpc3 (1.2.5-1 Ubuntu:20.04/focal [amd64])
Conf libgfxdr0 (7.2-2build1 Ubuntu:20.04/focal [amd64])
Conf libgfrpc0 (7.2-2build1 Ubuntu:20.04/focal [amd64])
Conf libgfapi0 (7.2-2build1 Ubuntu:20.04/focal [amd64])
Conf libibverbs1 (28.0-1ubuntu1 Ubuntu:20.04/focal [amd64])
Conf librdmacm1 (28.0-1ubuntu1 Ubuntu:20.04/focal [amd64])
Conf librados2 (15.2.14-0ubuntu0.20.04.2 Ubuntu:20.04/focal-updates [amd64])
Conf librbd1 (15.2.14-0ubuntu0.20.04.2 Ubuntu:20.04/focal-updates [amd64])
Conf libpython2.7-stdlib (2.7.18-1~20.04.1 Ubuntu:20.04/focal-updates, Ubuntu:20.04/focal-security [amd64])
Conf python2.7 (2.7.18-1~20.04.1 Ubuntu:20.04/focal-updates, Ubuntu:20.04/focal-security [amd64])
Conf fio (3.16-1 Ubuntu:20.04/focal [amd64])
Conf ibverbs-providers (28.0-1ubuntu1 Ubuntu:20.04/focal [amd64])
Conf libsctp1 (1.0.18+dfsg-1 Ubuntu:20.04/focal [amd64])
Conf libiperf0 (3.7-3 Ubuntu:20.04/focal [amd64])
Conf iperf3 (3.7-3 Ubuntu:20.04/focal [amd64])
Conf libipsec-mb0 (0.53-1 Ubuntu:20.04/focal [amd64])
Conf libjudydebian1 (1.0.5-5 Ubuntu:20.04/focal [amd64])
Conf python3-colorlog (4.1.0-1 Ubuntu:20.04/focal [all])
Conf python3-humanize (1.0.0-1 Ubuntu:20.04/focal [all])
Conf smartmontools (7.1-1build1 Ubuntu:20.04/focal [amd64])
Conf stress-ng (0.11.07-1ubuntu2 Ubuntu:20.04/focal-updates [amd64])
Conf stressant (0.6.0 Ubuntu:20.04/focal [all])
Conf nwipe (0.26-1 Ubuntu:20.04/focal [amd64])
Conf stressant-meta (0.6.0 Ubuntu:20.04/focal [all])

Код: Выделить всё

olej@ESPRIMO:~$ sudo apt install stressant-meta stressant-doc
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Будут установлены следующие дополнительные пакеты:
  f3 fio fonts-font-awesome fonts-lato ibverbs-providers iperf3 javascript-common libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0
  libibverbs1 libiperf0 libipsec-mb0 libjs-jquery libjs-modernizr libjs-sphinxdoc libjs-underscore libjudydebian1 libpython2.7-minimal
  libpython2.7-stdlib librados2 librbd1 librdmacm1 libsctp1 libtirpc-common libtirpc3 nwipe python2.7 python2.7-minimal
  python3-colorlog python3-humanize smartmontools sphinx-rtd-theme-common stress-ng stressant
Предлагаемые пакеты:
  gnuplot gfio python-scipy apache2 | lighttpd | httpd lksctp-tools python2.7-doc binfmt-support gsmartcontrol smart-notifier mailx
  | mailutils blktool bonnie++ chntpw diskscan e2tools fatresize foremost gddrescue hfsplus hfsutils i7z lsscsi memtest86+ mtd-utils
  partimage screen scrub sdparm sg3-utils s-tui smp-utils testdisk tofrodos u-boot-tools wodim
Следующие НОВЫЕ пакеты будут установлены:
  f3 fio fonts-font-awesome fonts-lato ibverbs-providers iperf3 javascript-common libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0
  libibverbs1 libiperf0 libipsec-mb0 libjs-jquery libjs-modernizr libjs-sphinxdoc libjs-underscore libjudydebian1 libpython2.7-minimal
  libpython2.7-stdlib librados2 librbd1 librdmacm1 libsctp1 libtirpc-common libtirpc3 nwipe python2.7 python2.7-minimal
  python3-colorlog python3-humanize smartmontools sphinx-rtd-theme-common stress-ng stressant stressant-doc stressant-meta
Обновлено 0 пакетов, установлено 38 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 17,9 MB архивов.
После данной операции объём занятого дискового пространства возрастёт на 81,0 MB.
Хотите продолжить? [Д/н] y
Пол:1 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-lato all 2.0-2 [2.698 kB]
Пол:2 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libpython2.7-minimal amd64 2.7.18-1~20.04.1 [335 kB]
Пол:3 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python2.7-minimal amd64 2.7.18-1~20.04.1 [1.285 kB]
Пол:4 http://archive.ubuntu.com/ubuntu focal/universe amd64 f3 amd64 7.2-1 [46,1 kB]
Пол:5 http://archive.ubuntu.com/ubuntu focal/universe amd64 libglusterfs0 amd64 7.2-2build1 [286 kB]
Пол:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libtirpc-common all 1.2.5-1 [7.632 B]
Пол:7 http://archive.ubuntu.com/ubuntu focal/main amd64 libtirpc3 amd64 1.2.5-1 [77,2 kB]
Пол:8 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgfxdr0 amd64 7.2-2build1 [24,2 kB]
Пол:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgfrpc0 amd64 7.2-2build1 [46,1 kB]
Пол:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgfapi0 amd64 7.2-2build1 [72,6 kB]
Пол:11 http://archive.ubuntu.com/ubuntu focal/main amd64 libibverbs1 amd64 28.0-1ubuntu1 [53,6 kB]
Пол:12 http://archive.ubuntu.com/ubuntu focal/main amd64 librdmacm1 amd64 28.0-1ubuntu1 [64,9 kB]
Пол:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 librados2 amd64 15.2.14-0ubuntu0.20.04.2 [3.212 kB]
Пол:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 librbd1 amd64 15.2.14-0ubuntu0.20.04.2 [1.623 kB]
Пол:15 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libpython2.7-stdlib amd64 2.7.18-1~20.04.1 [1.887 kB]
Пол:16 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python2.7 amd64 2.7.18-1~20.04.1 [248 kB]
Пол:17 http://archive.ubuntu.com/ubuntu focal/universe amd64 fio amd64 3.16-1 [507 kB]
Пол:18 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-1 [514 kB]
Пол:19 http://archive.ubuntu.com/ubuntu focal/main amd64 ibverbs-providers amd64 28.0-1ubuntu1 [232 kB]
Пол:20 http://archive.ubuntu.com/ubuntu focal/main amd64 libsctp1 amd64 1.0.18+dfsg-1 [7.876 B]
Пол:21 http://archive.ubuntu.com/ubuntu focal/universe amd64 libiperf0 amd64 3.7-3 [72,0 kB]
Пол:22 http://archive.ubuntu.com/ubuntu focal/universe amd64 iperf3 amd64 3.7-3 [14,2 kB]
Пол:23 http://archive.ubuntu.com/ubuntu focal/main amd64 javascript-common all 11 [6.066 B]
Пол:24 http://archive.ubuntu.com/ubuntu focal/universe amd64 libipsec-mb0 amd64 0.53-1 [491 kB]
Пол:25 http://archive.ubuntu.com/ubuntu focal/main amd64 libjs-jquery all 3.3.1~dfsg-3 [329 kB]
Пол:26 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libjs-underscore all 1.9.1~dfsg-1ubuntu0.20.04.1 [99,5 kB]
Пол:27 http://archive.ubuntu.com/ubuntu focal/main amd64 libjs-sphinxdoc all 1.8.5-7ubuntu3 [97,1 kB]
Пол:28 http://archive.ubuntu.com/ubuntu focal/universe amd64 libjudydebian1 amd64 1.0.5-5 [94,6 kB]
Пол:29 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-colorlog all 4.1.0-1 [20,2 kB]
Пол:30 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-humanize all 1.0.0-1 [23,3 kB]
Пол:31 http://archive.ubuntu.com/ubuntu focal/main amd64 smartmontools amd64 7.1-1build1 [525 kB]
Пол:32 http://archive.ubuntu.com/ubuntu focal/main amd64 libjs-modernizr all 2.6.2+ds1-3ubuntu1 [46,2 kB]
Пол:33 http://archive.ubuntu.com/ubuntu focal/main amd64 sphinx-rtd-theme-common all 0.4.3+dfsg-3 [990 kB]
Пол:34 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 stress-ng amd64 0.11.07-1ubuntu2 [1.698 kB]
Пол:35 http://archive.ubuntu.com/ubuntu focal/universe amd64 stressant all 0.6.0 [27,9 kB]
Пол:36 http://archive.ubuntu.com/ubuntu focal/universe amd64 stressant-doc all 0.6.0 [50,5 kB]
Пол:37 http://archive.ubuntu.com/ubuntu focal/universe amd64 nwipe amd64 0.26-1 [35,6 kB]
Пол:38 http://archive.ubuntu.com/ubuntu focal/universe amd64 stressant-meta all 0.6.0 [1.952 B]
Получено 17,9 MB за 3с (5.527 kB/s)         
Извлекаются шаблоны из пакетов: 100%
Выбор ранее не выбранного пакета fonts-lato.
(Чтение базы данных … на данный момент установлено 356064 файла и каталога.)
Подготовка к распаковке …/00-fonts-lato_2.0-2_all.deb …
Распаковывается fonts-lato (2.0-2) …
Выбор ранее не выбранного пакета libpython2.7-minimal:amd64.
Подготовка к распаковке …/01-libpython2.7-minimal_2.7.18-1~20.04.1_amd64.deb …
Распаковывается libpython2.7-minimal:amd64 (2.7.18-1~20.04.1) …
Выбор ранее не выбранного пакета python2.7-minimal.
Подготовка к распаковке …/02-python2.7-minimal_2.7.18-1~20.04.1_amd64.deb …
Распаковывается python2.7-minimal (2.7.18-1~20.04.1) …
Выбор ранее не выбранного пакета f3.
Подготовка к распаковке …/03-f3_7.2-1_amd64.deb …
Распаковывается f3 (7.2-1) …
Выбор ранее не выбранного пакета libglusterfs0:amd64.
Подготовка к распаковке …/04-libglusterfs0_7.2-2build1_amd64.deb …
Распаковывается libglusterfs0:amd64 (7.2-2build1) …
Выбор ранее не выбранного пакета libtirpc-common.
Подготовка к распаковке …/05-libtirpc-common_1.2.5-1_all.deb …
Распаковывается libtirpc-common (1.2.5-1) …
Выбор ранее не выбранного пакета libtirpc3:amd64.
Подготовка к распаковке …/06-libtirpc3_1.2.5-1_amd64.deb …
Распаковывается libtirpc3:amd64 (1.2.5-1) …
Выбор ранее не выбранного пакета libgfxdr0:amd64.
Подготовка к распаковке …/07-libgfxdr0_7.2-2build1_amd64.deb …
Распаковывается libgfxdr0:amd64 (7.2-2build1) …
Выбор ранее не выбранного пакета libgfrpc0:amd64.
Подготовка к распаковке …/08-libgfrpc0_7.2-2build1_amd64.deb …
Распаковывается libgfrpc0:amd64 (7.2-2build1) …
Выбор ранее не выбранного пакета libgfapi0:amd64.
Подготовка к распаковке …/09-libgfapi0_7.2-2build1_amd64.deb …
Распаковывается libgfapi0:amd64 (7.2-2build1) …
Выбор ранее не выбранного пакета libibverbs1:amd64.
Подготовка к распаковке …/10-libibverbs1_28.0-1ubuntu1_amd64.deb …
Распаковывается libibverbs1:amd64 (28.0-1ubuntu1) …
Выбор ранее не выбранного пакета librdmacm1:amd64.
Подготовка к распаковке …/11-librdmacm1_28.0-1ubuntu1_amd64.deb …
Распаковывается librdmacm1:amd64 (28.0-1ubuntu1) …
Выбор ранее не выбранного пакета librados2.
Подготовка к распаковке …/12-librados2_15.2.14-0ubuntu0.20.04.2_amd64.deb …
Распаковывается librados2 (15.2.14-0ubuntu0.20.04.2) …
Выбор ранее не выбранного пакета librbd1.
Подготовка к распаковке …/13-librbd1_15.2.14-0ubuntu0.20.04.2_amd64.deb …
Распаковывается librbd1 (15.2.14-0ubuntu0.20.04.2) …
Выбор ранее не выбранного пакета libpython2.7-stdlib:amd64.
Подготовка к распаковке …/14-libpython2.7-stdlib_2.7.18-1~20.04.1_amd64.deb …
Распаковывается libpython2.7-stdlib:amd64 (2.7.18-1~20.04.1) …
Выбор ранее не выбранного пакета python2.7.
Подготовка к распаковке …/15-python2.7_2.7.18-1~20.04.1_amd64.deb …
Распаковывается python2.7 (2.7.18-1~20.04.1) …
Выбор ранее не выбранного пакета fio.
Подготовка к распаковке …/16-fio_3.16-1_amd64.deb …
Распаковывается fio (3.16-1) …
Выбор ранее не выбранного пакета fonts-font-awesome.
Подготовка к распаковке …/17-fonts-font-awesome_5.0.10+really4.7.0~dfsg-1_all.deb …
Распаковывается fonts-font-awesome (5.0.10+really4.7.0~dfsg-1) …
Выбор ранее не выбранного пакета ibverbs-providers:amd64.
Подготовка к распаковке …/18-ibverbs-providers_28.0-1ubuntu1_amd64.deb …
Распаковывается ibverbs-providers:amd64 (28.0-1ubuntu1) …
Выбор ранее не выбранного пакета libsctp1:amd64.
Подготовка к распаковке …/19-libsctp1_1.0.18+dfsg-1_amd64.deb …
Распаковывается libsctp1:amd64 (1.0.18+dfsg-1) …
Выбор ранее не выбранного пакета libiperf0:amd64.
Подготовка к распаковке …/20-libiperf0_3.7-3_amd64.deb …
Распаковывается libiperf0:amd64 (3.7-3) …
Выбор ранее не выбранного пакета iperf3.
Подготовка к распаковке …/21-iperf3_3.7-3_amd64.deb …
Распаковывается iperf3 (3.7-3) …
Выбор ранее не выбранного пакета javascript-common.
Подготовка к распаковке …/22-javascript-common_11_all.deb …
Распаковывается javascript-common (11) …
Выбор ранее не выбранного пакета libipsec-mb0.
Подготовка к распаковке …/23-libipsec-mb0_0.53-1_amd64.deb …
Распаковывается libipsec-mb0 (0.53-1) …
Выбор ранее не выбранного пакета libjs-jquery.
Подготовка к распаковке …/24-libjs-jquery_3.3.1~dfsg-3_all.deb …
Распаковывается libjs-jquery (3.3.1~dfsg-3) …
Выбор ранее не выбранного пакета libjs-underscore.
Подготовка к распаковке …/25-libjs-underscore_1.9.1~dfsg-1ubuntu0.20.04.1_all.deb …
Распаковывается libjs-underscore (1.9.1~dfsg-1ubuntu0.20.04.1) …
Выбор ранее не выбранного пакета libjs-sphinxdoc.
Подготовка к распаковке …/26-libjs-sphinxdoc_1.8.5-7ubuntu3_all.deb …
Распаковывается libjs-sphinxdoc (1.8.5-7ubuntu3) …
Выбор ранее не выбранного пакета libjudydebian1.
Подготовка к распаковке …/27-libjudydebian1_1.0.5-5_amd64.deb …
Распаковывается libjudydebian1 (1.0.5-5) …
Выбор ранее не выбранного пакета python3-colorlog.
Подготовка к распаковке …/28-python3-colorlog_4.1.0-1_all.deb …
Распаковывается python3-colorlog (4.1.0-1) …
Выбор ранее не выбранного пакета python3-humanize.
Подготовка к распаковке …/29-python3-humanize_1.0.0-1_all.deb …
Распаковывается python3-humanize (1.0.0-1) …
Выбор ранее не выбранного пакета smartmontools.
Подготовка к распаковке …/30-smartmontools_7.1-1build1_amd64.deb …
Распаковывается smartmontools (7.1-1build1) …
Выбор ранее не выбранного пакета libjs-modernizr.
Подготовка к распаковке …/31-libjs-modernizr_2.6.2+ds1-3ubuntu1_all.deb …
Распаковывается libjs-modernizr (2.6.2+ds1-3ubuntu1) …
Выбор ранее не выбранного пакета sphinx-rtd-theme-common.
Подготовка к распаковке …/32-sphinx-rtd-theme-common_0.4.3+dfsg-3_all.deb …
Распаковывается sphinx-rtd-theme-common (0.4.3+dfsg-3) …
Выбор ранее не выбранного пакета stress-ng.
Подготовка к распаковке …/33-stress-ng_0.11.07-1ubuntu2_amd64.deb …
Распаковывается stress-ng (0.11.07-1ubuntu2) …
Выбор ранее не выбранного пакета stressant.
Подготовка к распаковке …/34-stressant_0.6.0_all.deb …
Распаковывается stressant (0.6.0) …
Выбор ранее не выбранного пакета stressant-doc.
Подготовка к распаковке …/35-stressant-doc_0.6.0_all.deb …
Распаковывается stressant-doc (0.6.0) …
Выбор ранее не выбранного пакета nwipe.
Подготовка к распаковке …/36-nwipe_0.26-1_amd64.deb …
Распаковывается nwipe (0.26-1) …
Выбор ранее не выбранного пакета stressant-meta.
Подготовка к распаковке …/37-stressant-meta_0.6.0_all.deb …
Распаковывается stressant-meta (0.6.0) …
Настраивается пакет smartmontools (7.1-1build1) …
Created symlink /etc/systemd/system/smartd.service → /lib/systemd/system/smartmontools.service.
Created symlink /etc/systemd/system/multi-user.target.wants/smartmontools.service → /lib/systemd/system/smartmontools.service.
Настраивается пакет javascript-common (11) …
Настраивается пакет libibverbs1:amd64 (28.0-1ubuntu1) …
Настраивается пакет fonts-lato (2.0-2) …
Настраивается пакет ibverbs-providers:amd64 (28.0-1ubuntu1) …
Настраивается пакет python3-colorlog (4.1.0-1) …
Настраивается пакет libtirpc-common (1.2.5-1) …
Настраивается пакет libjs-modernizr (2.6.2+ds1-3ubuntu1) …
Настраивается пакет libjudydebian1 (1.0.5-5) …
Настраивается пакет libipsec-mb0 (0.53-1) …
Настраивается пакет libglusterfs0:amd64 (7.2-2build1) …
Настраивается пакет libpython2.7-minimal:amd64 (2.7.18-1~20.04.1) …
Настраивается пакет python2.7-minimal (2.7.18-1~20.04.1) …
Linking and byte-compiling packages for runtime python2.7...
Настраивается пакет nwipe (0.26-1) …
Настраивается пакет f3 (7.2-1) …
Настраивается пакет libsctp1:amd64 (1.0.18+dfsg-1) …
Настраивается пакет libjs-jquery (3.3.1~dfsg-3) …
Настраивается пакет python3-humanize (1.0.0-1) …
Настраивается пакет fonts-font-awesome (5.0.10+really4.7.0~dfsg-1) …
Настраивается пакет sphinx-rtd-theme-common (0.4.3+dfsg-3) …
Настраивается пакет libjs-underscore (1.9.1~dfsg-1ubuntu0.20.04.1) …
Настраивается пакет libtirpc3:amd64 (1.2.5-1) …
Настраивается пакет librdmacm1:amd64 (28.0-1ubuntu1) …
Настраивается пакет librados2 (15.2.14-0ubuntu0.20.04.2) …
Настраивается пакет stressant (0.6.0) …
Настраивается пакет stressant-meta (0.6.0) …
Настраивается пакет libpython2.7-stdlib:amd64 (2.7.18-1~20.04.1) …
Настраивается пакет stress-ng (0.11.07-1ubuntu2) …
Настраивается пакет libiperf0:amd64 (3.7-3) …
Настраивается пакет librbd1 (15.2.14-0ubuntu0.20.04.2) …
Настраивается пакет libjs-sphinxdoc (1.8.5-7ubuntu3) …
Настраивается пакет libgfxdr0:amd64 (7.2-2build1) …
Настраивается пакет python2.7 (2.7.18-1~20.04.1) …
Настраивается пакет iperf3 (3.7-3) …
Настраивается пакет stressant-doc (0.6.0) …
Настраивается пакет libgfrpc0:amd64 (7.2-2build1) …
Настраивается пакет libgfapi0:amd64 (7.2-2build1) …
Настраивается пакет fio (3.16-1) …
Обрабатываются триггеры для desktop-file-utils (0.24+linuxmint1) …
Обрабатываются триггеры для mime-support (3.64ubuntu1) …
Обрабатываются триггеры для doc-base (0.10.9) …
Обработка 1 добавленный файл doc-base...
Обрабатываются триггеры для gnome-menus (3.36.0-1ubuntu1) …
Обрабатываются триггеры для libc-bin (2.31-0ubuntu9.2) …
Обрабатываются триггеры для systemd (245.4-4ubuntu3.15) …
Обрабатываются триггеры для man-db (2.9.1-1) …
Обрабатываются триггеры для fontconfig (2.13.1-2ubuntu3) …

Код: Выделить всё

olej@ESPRIMO:~$ which stressant
/usr/bin/stressant

Код: Выделить всё

olej@ESPRIMO:~$ stressant --help
usage: stressant [-h] [--version] [--logfile PATH] [--email EMAIL] [--smtpserver HOST] [--smtpuser USERNAME] [--smtppass PASSWORD]
                 [--information] [--disk] [--no-smart] [--diskDevice PATH] [--jobFile PATH] [--overwrite] [--writeSize SIZE]
                 [--directory PATH] [--diskRuntime DISKRUNTIME] [--cpu] [--cpuBurnTime TIME] [--network] [--iperfServer HOST]
                 [--iperfTime TIME]

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --logfile PATH        write reports to the given logfile (default: None)
  --email EMAIL         send report by email to given address
  --smtpserver HOST     SMTP server to use, use a colon to specify the port number if non-default (25). willl attempt to use STARTTLS
                        to secure the connexion and fail if unsupported (default: deliver using the --mta command)
  --smtpuser USERNAME   username for the SMTP server (default: no user)
  --smtppass PASSWORD   password for the SMTP server (default: prompted, if --smtpuser is specified)
  --information, --no-information
                        gather basic information (default: True)
  --disk, --no-disk     run disk tests (default: True)
  --no-smart, --smart   run SMART tests (default: False)
  --diskDevice PATH     device to benchmark (default: /dev/sda)
  --jobFile PATH        path to the fio job file to use (default: /usr/share/doc/fio/examples/basic-verify.fio)
  --overwrite           actually destroy the given device (default: False)
  --writeSize SIZE      size to write to disk, bytes or percentage (default: 100M)
  --directory PATH      directory to perform file tests in, created if missing (default: None)
  --diskRuntime DISKRUNTIME
                        upper limit for disk benchmark (default: 1m)
  --cpu, --no-cpu       run CPU tests (default: True)
  --cpuBurnTime TIME    timeout for CPU burn-in (default: 1m)
  --network, --no-network
                        run network tests (default: True)
  --iperfServer HOST    iperf server to use (default: iperf.he.net)
  --iperfTime TIME      timeout for iperf test, in seconds (default: 60)

Stressant is a simple yet complete stress-testing tool that forces a computer to perform a series of test using well-known Linux
software in order to detect possible design or construction failures.

Код: Выделить всё

olej@ESPRIMO:~$ sudo stressant --cpu --no-network --no-disk
[sudo] пароль для olej:       
INFO: Starting tests
INFO: CPU cores: 8
INFO: Memory: 12 GiB (12489781248 bytes)
INFO: Hardware inventory
DEBUG: Calling lshw -short
OUTPUT: H/W path        Устройство  Класс     Описание
OUTPUT: =====================================================================
OUTPUT: system         ESPRIMO P420 (S26361-Kxxx-Vyyy)
OUTPUT: /0                                    bus            D3230-A1
OUTPUT: /0/0                                  memory         64KiB BIOS
OUTPUT: /0/4b                                 processor      Intel(R) Xeon(R) CPU E3-1240 v3 @ 3.40GHz
OUTPUT: /0/4b/4c                              memory         1MiB L2 кэш
OUTPUT: /0/4b/4d                              memory         256KiB L1 кэш
OUTPUT: /0/4b/4e                              memory         8MiB L3 кэш
OUTPUT: /0/4f                                 memory         12GiB Системная память
OUTPUT: /0/4f/0                               memory         8GiB DIMM DDR3 Синхронная 1333 MHz (0,8 ns)
OUTPUT: /0/4f/1                               memory         4GiB DIMM DDR3 Синхронная 1867 MHz (0,5 ns)
OUTPUT: /0/2022                               generic
OUTPUT: /0/100                                bridge         Xeon E3-1200 v3 Processor DRAM Controller
OUTPUT: /0/100/1                              bridge         Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller
OUTPUT: /0/100/1/0                            display        GK208B [GeForce GT 730]
OUTPUT: /0/100/1/0.1                          multimedia     GK208 HDMI/DP Audio Controller
OUTPUT: /0/100/14                             bus            8 Series/C220 Series Chipset Family USB xHCI
OUTPUT: /0/100/14/0     usb3                  bus            xHCI Host Controller
OUTPUT: /0/100/14/0/9                         input          USB Keyboard
OUTPUT: /0/100/14/0/a                         input          USB Optical Mouse
OUTPUT: /0/100/14/1     usb4                  bus            xHCI Host Controller
OUTPUT: /0/100/16                             communication  8 Series/C220 Series Chipset Family MEI Controller #1
OUTPUT: /0/100/1a                             bus            8 Series/C220 Series Chipset Family USB EHCI #2
OUTPUT: /0/100/1a/1     usb1                  bus            EHCI Host Controller
OUTPUT: /0/100/1a/1/1                         bus            USB-концентратор
OUTPUT: /0/100/1b                             multimedia     8 Series/C220 Series Chipset High Definition Audio Controller
OUTPUT: /0/100/1c                             bridge         8 Series/C220 Series Chipset Family PCI Express Root Port #1
OUTPUT: /0/100/1c.3                           bridge         8 Series/C220 Series Chipset Family PCI Express Root Port #4
OUTPUT: /0/100/1c.3/0   enp3s0                network        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
OUTPUT: /0/100/1d                             bus            8 Series/C220 Series Chipset Family USB EHCI #1
OUTPUT: /0/100/1d/1     usb2                  bus            EHCI Host Controller
OUTPUT: /0/100/1d/1/1                         bus            USB-концентратор
OUTPUT: /0/100/1f                             bridge         H81 Express LPC Controller
OUTPUT: /0/100/1f.2                           storage        8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
OUTPUT: /0/100/1f.3                           bus            8 Series/C220 Series Chipset Family SMBus Controller
OUTPUT: /0/100/1f.6                           generic        8 Series Chipset Family Thermal Management Controller
OUTPUT: /0/1                                  system         PnP device PNP0c01
OUTPUT: /0/2                                  system         PnP device PNP0c02
OUTPUT: /0/3                                  system         PnP device PNP0b00
OUTPUT: /0/4                                  generic        PnP device INT3f0d
OUTPUT: /0/5                                  system         PnP device PNP0c02
OUTPUT: /0/6                                  system         PnP device PNP0c02
OUTPUT: /0/7                                  system         PnP device PNP0c02
OUTPUT: /0/8            scsi4                 storage
OUTPUT: /0/8/0.0.0      /dev/sda              disk           240GB KIOXIA-EXCERIA S
OUTPUT: /0/8/0.0.0/1    /dev/sda1             volume         512MiB Windows FAT volume
OUTPUT: /0/8/0.0.0/2    /dev/sda2             volume         223GiB Extended partition
OUTPUT: /0/8/0.0.0/2/5  /dev/sda5             volume         223GiB Том EXT4
OUTPUT: /1                                    power          To Be Filled By O.E.M.
INFO: SMART information for /dev/sda
DEBUG: Calling smartctl -qnoserial -i /dev/sda
OUTPUT: smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-97-generic] (local build)
OUTPUT: Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
OUTPUT: 
OUTPUT: === START OF INFORMATION SECTION ===
OUTPUT: Device Model:     KIOXIA-EXCERIA SATA SSD
OUTPUT: Firmware Version: SBFA17.5
OUTPUT: User Capacity:    240.056.327.680 bytes [240 GB]
OUTPUT: Sector Size:      512 bytes logical/physical
OUTPUT: Rotation Rate:    Solid State Device
OUTPUT: Form Factor:      2.5 inches
OUTPUT: Device is:        Not in smartctl database [for details use: -P showall]
OUTPUT: ATA Version is:   ACS-4 (minor revision not indicated)
OUTPUT: SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 3.0 Gb/s)
OUTPUT: Local Time is:    Sat Feb  5 22:09:55 2022 EET
OUTPUT: SMART support is: Available - device has SMART capability.
OUTPUT: SMART support is: Enabled
OUTPUT: 
INFO: CPU stress test for 1m
DEBUG: Calling stress-ng --timeout 1m --cpu 0 --ignite-cpu --metrics-brief --log-brief --tz --times --aggressive
OUTPUT: dispatching hogs: 8 cpu
OUTPUT: successful run completed in 60.08s (1 min, 0.08 secs)
OUTPUT: stressor       bogo ops real time  usr time  sys time   bogo ops/s   bogo ops/s
OUTPUT: (secs)    (secs)    (secs)   (real time) (usr+sys time)
OUTPUT: cpu               68969     60.04    290.50      0.35      1148.79       237.13
OUTPUT: cpu:
OUTPUT: acpitz   29.80 C (302.95 K)
OUTPUT: x86_pkg_temp   53.90 C (327.05 K)
OUTPUT: acpitz   45.20 C (318.35 K)
OUTPUT: pch_haswell   47.02 C (320.17 K)
OUTPUT: for a 60.08s run time:
OUTPUT: 480.64s available CPU time
OUTPUT: 290.53s user time   ( 60.45%)
OUTPUT: 0.38s system time (  0.08%)
OUTPUT: 290.91s total time  ( 60.53%)
OUTPUT: load average: 7.31 4.34 3.05
INFO: all done

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: стресс-тесты

Непрочитанное сообщение Olej » 05 фев 2022, 23:13

Следующий :lol:

Код: Выделить всё

olej@ESPRIMO:~$ aptitude search stress
p   netstress                                                   - utility to stress and benchmark networks                              
p   stress                                                      - tool to impose load on and stress test a computer system              
i A stress-ng                                                   - tool to load and stress a computer                                    
i A stressant                                                   - simple stress testing and burn-in tool                                
i   stressant-doc                                               - simple stress testing and burn-in tool (documentation)                
i   stressant-meta                                              - stress-testing, benchmarking and recovery tools (meta-package)        
p   stressapptest                                               - stress test application for simulating high load situations           

Код: Выделить всё

olej@ESPRIMO:~$ sudo apt install stress
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Следующие НОВЫЕ пакеты будут установлены:
  stress
Обновлено 0 пакетов, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 18,4 kB архивов.
После данной операции объём занятого дискового пространства возрастёт на 55,3 kB.
Пол:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 stress amd64 1.0.4-6 [18,4 kB]
Получено 18,4 kB за 0с (107 kB/s) 
Выбор ранее не выбранного пакета stress.
(Чтение базы данных … на данный момент установлено 357557 файлов и каталогов.)
Подготовка к распаковке …/stress_1.0.4-6_amd64.deb …
Распаковывается stress (1.0.4-6) …
Настраивается пакет stress (1.0.4-6) …
Обрабатываются триггеры для install-info (6.7.0.dfsg.2-5) …
Обрабатываются триггеры для man-db (2.9.1-1) …

Код: Выделить всё

olej@ESPRIMO:~$ which stress
/usr/bin/stress

Код: Выделить всё

olej@ESPRIMO:~$ stress --help
`stress' imposes certain types of compute stress on your system

Usage: stress [OPTION [ARG]] ...
 -?, --help         show this help statement
     --version      show version statement
 -v, --verbose      be verbose
 -q, --quiet        be quiet
 -n, --dry-run      show what would have been done
 -t, --timeout N    timeout after N seconds
     --backoff N    wait factor of N microseconds before work starts
 -c, --cpu N        spawn N workers spinning on sqrt()
 -i, --io N         spawn N workers spinning on sync()
 -m, --vm N         spawn N workers spinning on malloc()/free()
     --vm-bytes B   malloc B bytes per vm worker (default is 256MB)
     --vm-stride B  touch a byte every B bytes (default is 4096)
     --vm-hang N    sleep N secs before free (default none, 0 is inf)
     --vm-keep      redirty memory instead of freeing and reallocating
 -d, --hdd N        spawn N workers spinning on write()/unlink()
     --hdd-bytes B  write B bytes per hdd worker (default is 1GB)

Example: stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s

Note: Numbers may be suffixed with s,m,h,d,y (time) or B,K,M,G (size).
До запуска:

Код: Выделить всё

olej@ESPRIMO:~$ uptime
 22:20:03 up  8:33,  4 users,  load average: 2,41, 2,57, 2,66
Запуск:

Код: Выделить всё

olej@ESPRIMO:~$ stress --cpu 4 --timeout 120s
stress: info: [30467] dispatching hogs: 4 cpu, 0 io, 0 vm, 0 hdd
stress: info: [30467] successful run completed in 120s
... и загрузка к завершению:

Код: Выделить всё

olej@ESPRIMO:~$ uptime
 22:22:12 up  8:35,  4 users,  load average: 5,33, 3,70, 3,07

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: стресс-тесты

Непрочитанное сообщение Olej » 05 фев 2022, 23:29

Olej писал(а):
05 фев 2022, 23:13
Следующий
И последний:

Код: Выделить всё

olej@ESPRIMO:~$ aptitude search stress
p   netstress                                                   - utility to stress and benchmark networks                              
i   stress                                                      - tool to impose load on and stress test a computer system              
i A stress-ng                                                   - tool to load and stress a computer                                    
i A stressant                                                   - simple stress testing and burn-in tool                                
i   stressant-doc                                               - simple stress testing and burn-in tool (documentation)                
i   stressant-meta                                              - stress-testing, benchmarking and recovery tools (meta-package)        
p   stressapptest                                               - stress test application for simulating high load situations           

Код: Выделить всё

olej@ESPRIMO:~$ sudo aptitude show stressapptest
Пакет: stressapptest                             
Версия: 1.0.6-2build2
Состояние: установлен
Установлен автоматически: нет
Приоритет: дополнительный
Раздел: universe/utils
Сопровождающий: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Архитектура: amd64
Размер в распакованном виде: 317 k
Зависит: libaio1 (>= 0.3.93), libc6 (>= 2.15), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2)
Описание: stress test application for simulating high load situations
 Stressful Application Test (or stressapptest, its unix name) tries to maximize randomized traffic to memory from processor and I/O,
 with the intent of creating a realistic high load situation in order to test the existing hardware devices in a computer. 
 
 Stressapptest may be used for various purposes: 
 * stress test 
 * hardware qualification and debugging 
 * memory interface test 
 * disk testing
Домашняя страница: http://code.google.com/p/stressapptest/

Код: Выделить всё

olej@ESPRIMO:~$ sudo apt install stressapptest
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Следующие НОВЫЕ пакеты будут установлены:
  stressapptest
Обновлено 0 пакетов, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 114 kB архивов.
После данной операции объём занятого дискового пространства возрастёт на 317 kB.
Пол:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 stressapptest amd64 1.0.6-2build2 [114 kB]
Получено 114 kB за 0с (412 kB/s)      
Выбор ранее не выбранного пакета stressapptest.
(Чтение базы данных … на данный момент установлено 357567 файлов и каталогов.)
Подготовка к распаковке …/stressapptest_1.0.6-2build2_amd64.deb …
Распаковывается stressapptest (1.0.6-2build2) …
Настраивается пакет stressapptest (1.0.6-2build2) …
Обрабатываются триггеры для man-db (2.9.1-1) …

Код: Выделить всё

olej@ESPRIMO:~$ which stressapptest
/usr/bin/stressapptest

Код: Выделить всё

olej@ESPRIMO:~$ stressapptest --help
Stats: SAT revision 1.0.6_autoconf, 64 bit binary
Log: buildd @ lgw01-amd64-029 on Sun Mar 22 18:14:26 UTC 2020 from open source release
Usage: ./sat(32|64) [options]
 -M mbytes        megabytes of ram to test
 -H mbytes        minimum megabytes of hugepages to require
 -s seconds       number of seconds to run
 -m threads       number of memory copy threads to run
 -i threads       number of memory invert threads to run
 -C threads       number of memory CPU stress threads to run
 --findfiles      find locations to do disk IO automatically
 -d device        add a direct write disk thread with block device (or file) 'device'
 -f filename      add a disk thread with tempfile 'filename'
 -l logfile       log output to file 'logfile'
 --max_errors n   exit early after finding 'n' errors
 -v level         verbosity (0-20), default is 8
 -W               Use more CPU-stressful memory copy
 -A               run in degraded mode on incompatible systems
 -p pagesize      size in bytes of memory chunks
 --filesize size  size of disk IO tempfiles
 -n ipaddr        add a network thread connecting to system at 'ipaddr'
 --listen         run a thread to listen for and respond to network threads.
 --no_errors      run without checking for ECC or other errors
 --force_errors   inject false errors to test error handling
 --force_errors_like_crazy   inject a lot of false errors to test error handling
 -F               don't result check each transaction
 --stop_on_errors  Stop after finding the first error.
 --read-block-size     size of block for reading (-d)
 --write-block-size    size of block for writing (-d). If not defined, the size of block for writing will be defined as the size of block for reading
 --segment-size   size of segments to split disk into (-d)
 --cache-size     size of disk cache (-d)
 --blocks-per-segment  number of blocks to read/write per segment per iteration (-d)
 --read-threshold      maximum time (in us) a block read should take (-d)
 --write-threshold     maximum time (in us) a block write should take (-d)
 --random-threads      number of random threads for each disk write thread (-d)
 --destructive    write/wipe disk partition (-d)
 --monitor_mode   only do ECC error polling, no stress load.
 --cc_test        do the cache coherency testing
 --cc_inc_count   number of times to increment the cacheline's member
 --cc_line_count  number of cache line sized datastructures to allocate for the cache coherency threads to operate
 --paddr_base     allocate memory starting from this address
 --pause_delay    delay (in seconds) between power spikes
 --pause_duration duration (in seconds) of each pause
 --local_numa     choose memory regions associated with each CPU to be tested by that CPU
 --remote_numa    choose memory regions not associated with each CPU to be tested by that CPU
 --interleave_size bytes  size in bytes of each channel's data as interleaved between memory channels
 --channel_width bits     width in bits of each memory channel
 --memory_channel u1,u2   defines a comma-separated list of names
                          for dram packages in a memory channel.
                          Use multiple times to define multiple channels.
До:

Код: Выделить всё

olej@ESPRIMO:~$ uptime
 22:34:22 up  8:47,  4 users,  load average: 2,21, 2,34, 2,57
Запуск:

Код: Выделить всё

olej@ESPRIMO:~$ stressapptest -s 60 -m 4 -M 1000
Log: Commandline - stressapptest -s 60 -m 4 -M 1000
Stats: SAT revision 1.0.6_autoconf, 64 bit binary
Log: buildd @ lgw01-amd64-029 on Sun Mar 22 18:14:26 UTC 2020 from open source release
Log: 1 nodes, 8 cpus.
Log: Prefer using hugepace allocation.
Log: failed to allocate shared hugepage object - err 1 (unknown failure)
Log: sysctl -w vm.nr_hugepages=XXX allows hugepages.
Log: Using memaligned allocation at 0x7f0ccd7ff000.
Stats: Starting SAT, 1000M, 60 seconds
Log: Region mask: 0x1
Log: Seconds remaining: 50
Log: Seconds remaining: 40
Log: Seconds remaining: 30
Log: Seconds remaining: 20
Log: Seconds remaining: 10
Stats: Found 0 hardware incidents
Stats: Completed: 270266.00M in 60.00s 4504.08MB/s, with 0 hardware incidents, 0 errors
Stats: Memory Copy: 270266.00M at 4504.32MB/s
Stats: File Copy: 0.00M at 0.00MB/s
Stats: Net Copy: 0.00M at 0.00MB/s
Stats: Data Check: 0.00M at 0.00MB/s
Stats: Invert Data: 0.00M at 0.00MB/s
Stats: Disk: 0.00M at 0.00MB/s

Status: PASS - please verify no corrected errors
При завершении:

Код: Выделить всё

olej@ESPRIMO:~$ uptime
 22:35:31 up  8:48,  4 users,  load average: 4,69, 3,03, 2,80

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Re: стресс-тесты

Непрочитанное сообщение Olej » 06 фев 2022, 22:21

А в качестве диагностики загруженности мне нравится (в силу простоты):

Код: Выделить всё

olej@ESPRIMO:~$ mpstat -P ALL
Linux 5.4.0-97-generic (ESPRIMO) 	06.02.2022 	_x86_64_	(8 CPU)

21:18:52     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
21:18:52     all   52,97    0,00    0,48    0,01    0,00    0,00    0,00    0,00    0,00   46,53
21:18:52       0   99,73    0,00    0,11    0,00    0,00    0,00    0,00    0,00    0,00    0,15
21:18:52       1   99,74    0,00    0,11    0,00    0,00    0,00    0,00    0,00    0,00    0,15
21:18:52       2   99,73    0,00    0,12    0,00    0,00    0,00    0,00    0,00    0,00    0,15
21:18:52       3   99,73    0,00    0,11    0,00    0,00    0,00    0,00    0,00    0,00    0,16
21:18:52       4    6,14    0,00    0,71    0,01    0,00    0,00    0,00    0,00    0,00   93,13
21:18:52       5    5,88    0,00    1,25    0,01    0,00    0,00    0,00    0,00    0,00   92,86
21:18:52       6    5,96    0,00    0,73    0,04    0,00    0,00    0,00    0,00    0,00   93,28
21:18:52       7    6,08    0,00    0,72    0,01    0,00    0,01    0,00    0,00    0,00   93,18
Или проще так:

Код: Выделить всё

olej@ESPRIMO:~$ mpstat 
Linux 5.4.0-97-generic (ESPRIMO) 	06.02.2022 	_x86_64_	(8 CPU)

21:21:31     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
21:21:31     all   52,98    0,00    0,48    0,01    0,00    0,00    0,00    0,00    0,00   46,53
Или так:

Код: Выделить всё

olej@ESPRIMO:~$ iostat --human -c
Linux 5.4.0-97-generic (ESPRIMO) 	06.02.2022 	_x86_64_	(8 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          52,9%    0,0%    0,5%    0,0%    0,0%   46,6%

Ответить

Вернуться в «Железо для Linux»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 4 гостя