Understanding CPU Limitation with CGroup in Linux CFS Scheduler

1. Core Cnocepts Linux kernel's task scheduling is complex, but we'll focus on how CGroup limits CPU usage in the CFS scheduler. This explanation simplifies the process by omiting nested CGroup scenarios and using CentOS 7.6 (3.10.0-957.el7) kernel code as reference. 2. Basic CGroup CPU Configuration To create a CGroup named 'test' with CPU lim ...

Posted on Mon, 17 Aug 2026 16:25:30 +0000 by samona

Managing CPU Frequency Scaling via Sysfs in Linux

The cpufreq infrastructure in Linux allows for dynamic adjustment of processor clock speeds to balance performance and power consumption. This subsystem exports its configuration through the sysfs interface, usually found at /sys/devices/system/cpu/cpu[N]/cpufreq/. By modifying specific files in this directory, users can control how the kernel ...

Posted on Wed, 05 Aug 2026 16:37:27 +0000 by northernmonkey

Inspecting Physical CPUs, Cores, Threads, and Their Running Processes on Linux

Key Fields in /proc/cpuinfo physical id – unique identifier for each physical processor package (socket). cpu cores – number of physical cores inside one package. processor – logical CPU identifier; every SMT sibling is counted separately. Definitions Term Meaning Physical CPU A real procesor chip that fits into a motherboard socket. ...

Posted on Fri, 24 Jul 2026 16:49:52 +0000 by chalbing

Desktop PC Buying Guide

Build Your Own Note: The downside of building your own PC is that you will likely need to learn how to assemble it. You can follow this video tutorial, which is very detailed. The advantage is the flexibility to choose components, allowing you to get a better configuration for the same price. Assembly Video 1 Assembly Video 2 Assembly Video 3 ...

Posted on Wed, 01 Jul 2026 17:54:20 +0000 by tzicha

MySQL CPU Performance Troubleshooting

Understanding CPU Utilization in MySQL High CPU usage often indicates underlying performance issues. Analyzing resource consumption helps identify bottlenecks and optimize server operations. MySQL can cause CPU spikes due to inefficient queries, IO bottlenecks, or configuration issues. CPU States Explained $ top top - 10:24:03 up 36 days, 28 mi ...

Posted on Thu, 21 May 2026 18:42:17 +0000 by sBForum