Stress testing tool: Stress in detail

Introduction: Stress is a stress testing tool under Linux system, which can effectively simulate the pressure load of CPU, memory, I/O and disk space, etc., to help test the robustness and stability of the system. Especially before hardware upgrades, system optimizations, or environment migrations, stress testing can detect possible problems earlier.

History Raiders:

GPU: Use gpu-burn to test GPU

Ubutnu: query and adjust CPU frequency

win10, ubuntu system set CPU high-performance mode, excellent performance

Interactive process viewer: htop

Install:

sudo apt-get update
sudo apt-get install stress

Common examples:

# 8个工作线程上模拟CPU压力。
stress --cpu 8

# 模拟CPU和内存压力: 8个CPU核心和4个虚拟内存区域(每个分配1024M)
stress --cpu 8 --vm 4 --vm-bytes 1024M

# 60秒的压力测试
stress --cpu 8 --vm 4 --vm-bytes 1024M --timeout 60s

operation result:

Finally: The complete software testing video tutorial below has been organized and uploaded, and friends who need it can get it by themselves [Guaranteed 100% free]

Software Testing Interview Documentation

We must study to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Byte bosses have given authoritative answers. Finish this set The interview materials believe that everyone can find a satisfactory job.

Guess you like

Origin blog.csdn.net/wx17343624830/article/details/131659473