User Tools

Site Tools


linux:notes:misc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:notes:misc [2026/07/10 22:31] – [Show CPU Frequency] Sean Rhonelinux:notes:misc [2026/08/02 21:16] (current) Sean Rhone
Line 367: Line 367:
  
   * [[linux;notes;x86_energy_perf_policy]]   * [[linux;notes;x86_energy_perf_policy]]
- 
-  grep 'MHz' '/proc/cpuinfo' 
  
   watch --interval '0.5' grep \'cpu MHz\' '/proc/cpuinfo'   watch --interval '0.5' grep \'cpu MHz\' '/proc/cpuinfo'
 +
 +  grep 'MHz' '/proc/cpuinfo'
  
   cat '/sys/devices/system/cpu/cpu'*'/cpufreq/scaling_cur_freq'   cat '/sys/devices/system/cpu/cpu'*'/cpufreq/scaling_cur_freq'
 +
 +  cpupower frequency-info
  
 ====== OpenSSL Supported Ciphers ====== ====== OpenSSL Supported Ciphers ======
Line 614: Line 616:
  
   OSU_SDL3='1'   OSU_SDL3='1'
 +
 +====== sysctl Checks ======
 +
 +===== All Overrides =====
 +
 +  cat '/etc/sysctl.d/'*
 +
 +  ls '/etc/sysctl.d/'*
 +
 +===== BPF Disable =====
 +
 +  * ''kernel.unprivileged_bpf_disabled = 0''
 +
 +  '/usr/sbin/sysctl' 'kernel.unprivileged_bpf_disabled'
 +
 +===== Legacy MMap =====
 +
 +  * ''vm.legacy_va_layout = 1''
 +
 +  '/usr/sbin/sysctl' 'vm.legacy_va_layout'
 +
 +===== Perf Counters =====
 +
 +  * ''kernel.perf_event_paranoid = -1''
 +
 +  '/usr/sbin/sysctl' 'kernel.perf_event_paranoid'
 +
 +===== Intel Perf Counters =====
 +
 +  * ''dev.i915.perf_stream_paranoid = 0''
 +
 +  '/usr/sbin/sysctl' 'dev.i915.perf_stream_paranoid'
 +
 +===== Magic SysRq key =====
 +
 +  * ''kernel.sysrq = 1''
 +
 +  '/usr/sbin/sysctl' 'kernel.sysrq'
 +
 +===== Memory Map Count =====
 +
 +  * ''vm.max_map_count = 2147483642''
 +
 +  '/usr/sbin/sysctl' 'vm.max_map_count'
 +
 +===== Swappiness =====
 +
 +  * ''vm.swappiness = 0''
 +
 +  '/usr/sbin/sysctl' 'vm.swappiness'
  
 ====== Wine Envs ====== ====== Wine Envs ======
/usr/local/www/wiki/data/attic/linux/notes/misc.1783737100.txt.gz · Last modified: by Sean Rhone