#Sysctl
sysctl? how about sis cuddle instead, nerd
July 16, 2026 at 11:07 AM
Get your CPU temperatures! Get them while they're hot!
% cat ~dvl/bin/snmp-cpu-temperature.sh
#!/bin/sh
for index in $(jot - 0 $(expr $(sysctl -n kern.smp.cpus) - 1))
do
sysctl -n dev.cpu.$index.temperature | awk '{gsub("C",""); print}'
done%
#FreeBSD
December 12, 2024 at 2:30 AM
J'envisage sérieusement de coller un "sysctl -w kernel.modules_disabled=1", une heure après le boot des machines.

Ça limitera drastiquement le périmètre d'attaque des 2 failles 0 day d'aujourd'hui et la semaine dernière. 🤔
May 7, 2026 at 10:30 PM
`sudo sysctl net.ipv4.tcp_congestion_control=bbr` btw
September 15, 2026 at 10:10 PM
sysctl would never
September 24, 2025 at 6:31 AM
you could use a little sysctl work.
April 24, 2026 at 7:46 AM
OpenBSD Hardening Tricks: harden malloc, accounting, sysctl tuning, audit with Lynis tool #OpenBSD #BSD ioctl.uk/2018/11/open...
March 3, 2025 at 8:10 PM
check your `sysctl vm.swappiness` perhaps. i set it to 10 and it barely ever uses any
August 23, 2026 at 7:21 AM
@foobly.bsky.social just commented that the kern.corefile sysctl in macOS is my code, from BSD days...
October 16, 2025 at 5:53 PM
yup. if you look in sysctl you'll see hw.cachelinesize is 128 on M1/M2/M3.
January 18, 2024 at 4:56 PM
The only optimisations I do while still using vanilla arch kernel

- Load ntsync module
- Increase memlocks
- Configure zram
- Enable lavd
- Split lock mitigate to 0
- Virtual memory sysctl tweaks
- File handle/inode cache sysctl increase
7 days I been on EndeavourOS ... AND I STILL THINK OPTIMISED KERNELS ARE A JOKE.

EndeavourOS vs Cachy ... NO DIFFERENCE LMFAOOOOOO
June 14, 2026 at 12:15 AM
Favorite shell alias for #golang dev on Apple Silicon chips:

alias bgtest='GOMAXPROCS=`sysctl -n hw.perflevel1.logicalcpu` taskpolicy -b go test'

Runs tests on efficiency cores only, perfect for fuzz testing (`bgtest -fuzz FuzzFoo`) in background without affecting normal work.
November 12, 2024 at 3:48 AM
found a fix on protondb YAY

run in terminal:
sudo sysctl -w kernel.split_lock_mitigate=0

set launch options in steam:
gamemoderun %command% --compile-shaders-at-startup --vulkan-device-index=0
today is putting me in a whole different torture labyrinth from every other alex player
March 26, 2026 at 5:47 AM
Le Replay de la suite de NixOS est en ligne pour ceux qui ont loupé !
Après l'épisode 1 (Install de NixOS et des logiciels),
ON A VU TOUTE LA PUISSANCE du système en personnalisant sysctl, zram, et géré les paramètres utilisateurs (GNOME, dotfiles)
youtube.com/live/eSoC0VK...
Suite de Fedora vers NixOS : Config sysctl, zram, ... et home-manager [Mercredi Tech Live]
YouTube video by Adrien Linuxtricks
youtube.com
April 29, 2026 at 9:05 PM
To print your computer’s memory size you can use these:

On a Linux distro: grep MemTotal /proc/meminfo | awk '{print $2 / 1024 / 1024 " GB"}'

On macOS: sysctl hw.memsize | awk '{printf "%.2f GB\n", $2 / (1024*1024*1024)}'
April 6, 2025 at 12:48 PM
If you're using #debian 13 and you're wondering why the `ping` command has stopped working for non-root users... `apt install linux-sysctl-defaults` will fix that for you.
November 16, 2025 at 9:07 PM
Another option, if you don't mind more text in the output:

sysctl dev.cpu | grep temperature

I set this as an alias in my shell. 😉
December 12, 2024 at 6:52 AM
Don't know, but I added this to my shell env:

export MIX_OS_DEPS_COMPILE_PARTITION_COUNT=$(( $(sysctl -n hw.physicalcpu) / 2 )
October 25, 2025 at 1:44 PM
Lost in Linux kernel tuning ? explore all sysctl settings sysctl-explorer.net
Sysctl Explorer
Painless access to Linux sysctl reference documentation
sysctl-explorer.net
March 27, 2025 at 8:02 AM
On M-series Macs, you can run this to see how many P-cores you have:

sysctl -n hw.perflevel0.logicalcpu

Quickdraw should be about that many times as fast.
December 17, 2024 at 9:49 PM