<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CPU on Ricky</title><link>https://linzeyan.github.io/categories/cpu/</link><description>Recent content in CPU on Ricky</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 02 Sep 2025 08:24:00 +0800</lastBuildDate><atom:link href="https://linzeyan.github.io/categories/cpu/index.xml" rel="self" type="application/rss+xml"/><item><title>Dedicated Server CPU Frequency Maximization Guide</title><link>https://linzeyan.github.io/posts/2025/20250902-linux-cpu-performance/</link><pubDate>Tue, 02 Sep 2025 08:24:00 +0800</pubDate><guid>https://linzeyan.github.io/posts/2025/20250902-linux-cpu-performance/</guid><description>&lt;ul>
&lt;li>&lt;a href="https://blog.ibytebox.com/archives/02cf4c4a-0af7-43f1-bb65-ccdb54a52306" target="_blank" rel="noopener">Dedicated Server CPU Frequency Maximization Guide&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="check-which-cpu-mode-is-in-use">Check which CPU mode is in use&lt;/h2>
&lt;p>Prerequisites
System: Linux (Debian, Ubuntu, Proxmox, etc.)&lt;/p>
&lt;p>Privileges: root&lt;/p>
&lt;p>CPU: supports dynamic frequency scaling (Intel Xeon, AMD EPYC / Ryzen, etc.)&lt;/p>
&lt;h3 id="governor">governor&lt;/h3>
&lt;p>&lt;code>cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;/code>&lt;/p>
&lt;ul>
&lt;li>powersave: low-power mode (locked low frequency, power-saving but weak)&lt;/li>
&lt;li>ondemand: on-demand boost (only boosts when needed, may respond a bit slowly)&lt;/li>
&lt;li>performance: full performance (this is what we want)&lt;/li>
&lt;/ul>
&lt;h3 id="check-which-driver-the-kernel-uses-intel--amd">Check which driver the kernel uses (Intel / AMD)&lt;/h3>
&lt;p>&lt;code>cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver&lt;/code>&lt;/p></description></item></channel></rss>