Quick Stresstest

A quick python script to eat up some cpu.

Run with this command to use more cores:

powershell: foreach ($i in 1..8) { Start-Job { python your_script.name.py } }

linux:for i in {1..8}; do python3 your_script_name.py & done

python:

import sys from decimal import Decimal, getcontext

import sysfrom decimal import Decimal, getcontext

def stress_test_pi():# Set […]

Disable SysMain service for better drive life

open up the Run command. Type in services.msc and hit Enter. The Services console will open up, listing all the services on your Windows device. Simply scroll down (or press S to get there faster), and right-click on SysMain → Properties. Now, in the Startup type dropdown, select Disabled, and then hit Apply → OK.

[…]