Home / General
Example usage:
# 1 stressor, 75% of memory (TODO this also works fine with 100% for some reason, find out what it actually means), with verification, for 10 minutes
stress-ng --vm 1 --vm-bytes 75% --vm-method all --verify -t 10m -v
journalctl | grep 'EDAC' | grep -i 'error'grep '.*' /sys/devices/system/edac/mc/mc*/dimm*/dimm_*_countdmidecode -t memory | grep 'Locator:.*DIMM.*'apt install fio--fsync=1 for synchronous IO.--time_based --runtime=<seconds> to repeat the test for the provided duration.Examples usage:
# Sequential, asynchronous, 4kiB, random write
fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=4k --size=4G --numjobs=1 --iodepth=1 --runtime=60 --time_based --end_fsync=1
# 16 parallel, asynchronous, 64kiB, random write
fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=64k --size=256M --numjobs=16 --iodepth=16 --runtime=60 --time_based --end_fsync=1
# Sequential, asynchronous, 1MiB, random write
fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=1m --size=16G --numjobs=1 --iodepth=1 --runtime=60 --time_based --end_fsync=1
tail -n +1 /sys/devices/system/cpu/vulnerabilities/*sudo lspci -vv, find the device (e.g. NVIDIA Corporation TU102 [GeForce RTX 2080 Ti Rev. A]) and look for the LnkCap and LnkSta lines under “Capabilities”.LnkCap is the device capability and LnkSta is the current status. Both show the (max and current) PCIe speed/version (speed for around 8 lanes wrt. the specific version) and the number of lanes.LnkSta (1): Speed 16GT/s (ok), Width x16 (ok), meaning PCIe 4.0, using 16 lanes.LnkSta (2): Speed 8GT/s (ok), Width x4 (downgraded), meaning PCIe 3.0, downgraded to 4 lanes, e.g. if the motherboard doesn’t support that many PCIe devices running at full widths.