Shocking! Modifying Linux Kernel Code Can Reduce Data Center Energy Consumption by 30%!

As global energy consumption in data centers continues to rise, finding ways to reduce energy consumption while meeting the increasing demand for computing power has become an urgent issue. Recently, researchers from the University of Waterloo in Canada proposed an innovative solution: by modifying approximately 30 lines of code in the Linux kernel’s network stack, … Read more

Common Linux Disk Management Commands

1. Common Disk Management Commands Command Description Core Purpose df Displays disk space usage of file systems View overall disk usage and remaining space du Counts disk usage of files/directories Analyze storage usage of specific directories or files fdisk Disk partition management tool Create, delete, and adjust disk partitions mkfs Formats a disk partition to … Read more

Linus Torvalds Criticizes Case-Insensitive File Systems as a Major Mistake

Linus Torvalds, the “Father of Linux,” has once again expressed his frustration in a lengthy post on the Linux Kernel Mailing List (LKML), harshly criticizing the case-insensitive feature in file systems. He explicitly stated that this design is a “huge mistake” and that file system developers have never learned from past errors. The core issue … Read more

The ‘Non-configurable’ Aspects of Linux: Underlying Constraints and Design Choices

🌟 The ‘Non-configurable’ Aspects of Linux: Underlying Constraints and Design Choices 💡 Introduction: The Linux system is renowned for its high degree of customizability, with nearly all configurations achievable through modifying configuration files, recompiling the kernel, or writing scripts. However, within this open and free system, there still exist some ‘non-configurable’ or ‘hard-to-configure’ components. Today, … Read more

DevOps: Deploying Java on Linux

Environment Requirements Four Ways to Deploy Java Services on Linux (Including Environment Dependencies and Start/Stop Instructions) This article provides four methods for deploying Java services, compatible with JDK 21, detailing the environment dependencies, start, stop, and restart operations for each method. The JAR file provided in this example has been automatically placed in the /root/resume/ … Read more

Linux Philosophy: Everything is a File

🌟 Linux Philosophy: Everything is a File In Linux and Unix operating systems, “Everything is a File” is a core design principle. It means that almost everything in the system is abstracted as a file, including regular files, directories, hardware devices, process information, network interfaces, and more. 📂 1. What is “Everything is a File”? … Read more

Installing JDK 8 on CentOS Linux

Preparation Server: CentOS Linux release 7.9.2009 (Core) JDK: jdk-8u301-linux-x64.tar.gz JDK 8 download link:https://www.oracle.com/java/technologies/downloads/#java8 Installation Connect to the server using Xshell. Upload to the server, you can use the command # rz upload, -y to overwrite files rz -y If prompted that the command ‘rz’ is not found, install it manually # rz is a file … Read more

Linux Power Management (2): Basic Concepts and Software Architecture of Conventional Power Management

Original: https://mp.weixin.qq.com/s/HJihdfu9zVYEuvHVV0WXwQ 1. Introduction Conventional power management methods in Linux systems include shutdown (Power off), standby (Standby or Hibernate), and reboot (Reboot). These methods were used during the era of PCs or servers before the widespread adoption of embedded Linux. In that primitive era of computer science, driven by Moore’s Law, humanity was focused on … Read more

From Assembly to Kernel Hacking: The Underlying Art of Linux System Calls

1. Overview of System Calls A system call is a set of interfaces provided by the operating system kernel to user-space programs, allowing user programs to request services from the kernel. It is a controlled communication mechanism between user space and kernel space. Why Do We Need System Calls? Permission Isolation: User programs run in … Read more