Crates.io | strain |
lib.rs | strain |
version | 0.1.2 |
source | src |
created_at | 2024-05-06 22:46:30.707589 |
updated_at | 2024-07-27 21:48:34.6013 |
description | A CPU stressing utility written in Rust |
homepage | |
repository | |
max_upload_size | |
id | 1231577 |
size | 60,790 |
This project is currently in the v0.x stage. There may be many bugs and it is not even guaranteed that it will compile/run at all. That said, please report any bugs by filing an issue on the GitHub page. Please label your issues with the relevant labels.
In addition to the project being v0.x, the nature of this program is to create very taxing workloads on a processor. Without proper cooling this could result in the processor reaching unsafe temperature. Please exercise caution and equip a CPU temperature reading program to make sure your CPU does not burn out.
A good CPU monitoring tool on GNU/Linux is lm_sensors.
Strain is a lightweight CPU stress-testing utility written in Rust. The main purpose it serves is to determine CPU stability and thermal output under load.
Ensure that the Rust compiler, the C compiler (GCC), and Cargo are installed on your system.
Ensure that the following libraries are available on your system:
gmp
)gmpfr
)libmpc
)Then, run the following command from the project root: cargo build --frozen --release
.
This will produce a binary in the target/release
folder called strain
.
If the binary is not there, it is likely you have the CARGO_TARGET_DIR
environment variable set.
In that case, the binary is located at $CARGO_TARGET_DIR/release/strain
.