Our operations team faced alarming memory usage over 90% on several load‑balancer nodes, traced the surge to a dentry leak in curl‑7.19.7’s NSS library, and resolved it by disabling the probing script, clearing caches, and setting the NSS_SDB_USE_CACHE environment variable, while also reviewing Linux memory management concepts such as paging, NUMA, and slab allocation.
The article examines Linux’s Completely Fair Scheduler in Android, detailing weight‑based fairness, nice‑value mapping, group scheduling via CONFIG_FAIR_GROUP_SCHED, and the resulting challenges where vruntime compensation and priority adjustments become ineffective, leading to uneven time‑slice allocation among critical and background threads.
This article chronicles the development of operating systems from the early Z1 computer without an OS to modern platforms like Linux, Android, iOS, and Chrome OS, highlighting key milestones, innovations, and the impact on computing over the past decades.
This article outlines the fundamental differences between Linux and Unix, covering topics such as the non‑standard Bash shell, the absence of long‑option support in Unix, variations in Make and C compilers, the distinction between GNU and Linux, and the trademarked UNIX name, providing a concise guide for developers navigating these operating systems.
China announced a plan to replace Windows with Linux on over 50 million PCs, echoing Germany’s earlier shift, aiming to eliminate foreign operating systems, reduce licensing costs, and boost domestic tech, while prompting mixed reactions from hardware manufacturers and software vendors.
Alibaba Open Source Week 2022, held online from August 22‑24, offers a main forum and five specialized forums—Operating Systems, Databases, Cloud Native, Big Data & AI, and Terminal—featuring over 30 technical presentations by more than 40 global experts on open‑source ecosystem development, emerging technologies, and real‑world applications.
Ken Thompson, the Turing‑award‑winning computer pioneer, co‑created UNIX, contributed to the Multics project, helped develop the C language, and later co‑designed Go at Google, with a life story that blends groundbreaking OS design, hacker culture, and a passion for aviation.
Microsoft engineer Stephen Hemminger proposes removing the long‑obsolete DECnet code from the Linux kernel, a move that follows the recent OpenVMS 9.2 release and reflects the broader trend of phasing out legacy network protocols like IPX/SPX and AppleTalk in favor of modern TCP/IP.
After Microsoft halted sales and blocked Windows downloads in Russia, piracy surged and Russian government bodies began rapidly shifting to Linux, especially Astra Linux, signing billion‑ruble contracts while facing the complex challenges of migrating embedded, software‑controlled systems.
This article reviews virtual memory concepts and explains five page replacement algorithms—Optimal (OPT), First‑In‑First‑Out (FIFO), Least Recently Used (LRU), CLOCK (including a simple and improved version), and Least Frequently Used (LFU)—detailing their principles, operation, advantages, drawbacks, and illustrative examples.
This article explains the fundamentals of Translation Lookaside Buffers (TLB), their relationship with MMU and multi‑level page tables, how alias and ambiguity issues arise in multi‑process environments, and practical techniques such as ASID and global mapping to minimize costly TLB flushes.
This guide shows how to set up an Ubuntu 16.04 virtual machine on Windows, install QEMU, fetch a modernized Linux 0.11 source tree, and use VSCode Remote‑SSH together with GDB to debug the historic kernel without rebuilding outdated toolchains.
This article explores memory management concepts from both operating system and MySQL perspectives, covering virtual vs physical memory, process memory usage analysis using tools like top and /proc, and experimental verification of memory allocation behaviors.
This article explains how modern operating systems use virtual memory, memory management units, and multi‑level page tables to isolate processes, improve efficiency, and handle limited physical RAM, covering basic concepts, paging schemes, address translation, and swapping mechanisms.
The 2021 Linux roundup covers Richard Stallman's surprising return, Arch Linux's new installer script, Microsoft Edge arriving on Linux, the rise of CentOS alternatives, the Steam Deck's Linux‑based OS, Epic's Easy‑Anti‑Cheat Linux support, GNOME 40's redesign, kernel 5.15 native NTFS support, Linux turning 30, Linus Tech Tips' 30‑day Linux challenge, Asahi Linux's progress on Apple M1, and the impact of Windows 11 on Linux adoption.
This article explains how Linux implements traditional system‑call I/O using read() and write(), details the data‑copy and context‑switch overhead of read and write operations, describes network and disk I/O, and introduces high‑performance techniques such as zero‑copy, multiplexing, and page‑cache optimizations.
This article surveys the programming languages and technology stacks behind a wide range of operating systems, user interfaces, desktop search tools, office suites, databases, browsers, servers, and other software, highlighting the prevalence of C, C++, Java, and other languages across the industry.
Development Toolsoperating-systemsprogramming languages
A concise roundup of the most impactful Linux events of 2021, covering Richard Stallman's comeback, Arch Linux's new installer script, Microsoft Edge's stable Linux release, CentOS alternatives, Steam Deck's Linux base, anti‑cheat support, GNOME 40, native NTFS driver, Linux's 30th anniversary, Linus Tech Tips' desktop experiment, Apple M1 Linux progress, and the implications of Windows 11.
This article explains how CPUs receive interrupt numbers through hardware, exceptions, or the INT instruction, describes the structure and purpose of the Interrupt Descriptor Table, and details the stack operations and control‑flow steps the processor performs to handle and return from an interrupt.
This article offers a concise, chronological overview of the past hundred years of computing, highlighting key milestones from the ENIAC and early pioneers to the rise of semiconductors, mainframes, personal computers, and the early development of Linux, while also sharing intriguing historical trivia.
This article explains the fundamental principles of computer operation, covering CPU architecture, memory organization, instruction execution, compiler translation, caching strategies, and the role of operating systems, while illustrating concepts with diagrams and code examples.
This article examines how the health of hardware, software, and developer ecosystems determines the survival and market dominance of operating systems, using historical examples like Wintel, the challenges faced by Chinese OS vendors, and strategic recommendations for future domestic OS development.
This article traces the historical roots of Linux from its Unix‑inspired beginnings and the MINIX teaching OS, follows Linus Torvalds' creation of Linux, and details the two‑decade‑long SCO lawsuit against IBM and Linux that finally ended with a multi‑million‑dollar settlement.
The article examines YunOS’s rise and fall, its battles with Google, and how those experiences inform the challenges and opportunities facing Huawei’s HarmonyOS in the competitive mobile operating system landscape.
Celebrating Linux’s 30th anniversary, Linus Torvalds discusses the kernel’s evolution from a hobby project to a ubiquitous OS, the creation of Git, licensing choices, development processes, community governance, and future challenges, offering deep insights into open‑source engineering and collaborative software development.
Over decades, embedded technology has expanded into the Internet of Things, reshaping the tech stack, demanding new developer skill sets, introducing advanced IoT operating systems, and driving a shift from hardware‑centric sales to cloud‑based services and innovative business models.
This article explains CPU time‑slice scheduling, defines CPU utilization as T2/T1, and demonstrates through C programs how different loops affect measured CPU usage, showing why multi‑core systems can report over‑100% utilization while single‑core systems cannot.
The article explains the purpose and structure of the memory hierarchy—from ultra‑fast registers and caches inside the CPU, through volatile main memory, to slower non‑volatile disks—showing how programs are loaded, executed, and how virtual memory and locality principles extend usable memory beyond physical limits.
This tutorial walks through building a tiny 1 MB file system using 1 KB blocks, block bitmaps, 128‑byte inodes, superblocks, directory structures, and single‑ and double‑indirect indexing, culminating in a design comparable to Linux's ext2 filesystem.
A curated list of free Bilibili video courses covering Java, computer networks, operating systems, Redis, RocketMQ, Kafka, and MySQL, each with brief descriptions and direct links for beginners and intermediate learners.
This article introduces the rCore OS tutorial, a comprehensive guide to building a Unix-like kernel from scratch using Rust on RISC-V architecture, developed by Tsinghua University professors.
This article traces Linus Torvalds' journey from studying operating systems with Minix to creating the Linux kernel, highlighting the technical choices, community dynamics, and historical factors that turned a personal project into the foundation of modern open‑source computing.
This article introduces the five Linux I/O models—blocking, non‑blocking, I/O multiplexing, signal‑driven, and asynchronous—explaining core concepts such as blocking vs non‑blocking calls, synchronous vs asynchronous processing, and detailing each model’s execution phases, advantages, and typical use‑cases.
This article traces the origins of Unix and Linux, explains how Linux emerged as an open‑source clone of Unix, compares their licensing, portability, community support, and usage in data centers and devices, and highlights the key distinctions that set the two operating systems apart.
This article traces Linus Torvalds' journey from studying operating systems with Minix to creating the Linux monolithic kernel, highlighting the historical context, technical choices, community collaboration, GNU involvement, and the factors that propelled Linux to dominate modern computing.
This article recounts Linus Torvalds' journey from studying operating systems with Minix to creating the Linux kernel, explains the microkernel versus monolithic debate, and highlights the technical, community, and ecosystem factors that propelled Linux to become the dominant open‑source operating system.
This article traces the early emergence of domestic Linux‑based operating systems in China, examines why most early distributions faded, analyzes the ecosystem and policy shifts since 2015, and reviews the latest domestic CPUs and the unified UOS platform that aim to reshape the market.
This article reviews the award‑winning 2018 OSDI paper LegoOS, describing its split‑kernel architecture, component‑based resource management across processors, memory and storage, and how it enables hardware disaggregation in data‑center clusters while addressing network latency and failure handling.
OS Architecturedistributed systemshardware disaggregation
Explore the lineage from the 1969 birth of UNIX through the creation of Linux, the emergence of Apple's iOS, and the development of Android, highlighting key milestones, contributors, and how these systems interconnect as the foundational kernels of today’s major platforms.
This article traces the early emergence of Chinese Linux‑based operating systems, analyzes the reasons for their limited market impact, outlines the recent ecosystem improvements and policy support, and reviews key players, CPU developments, and the unified strategy behind modern domestic OS solutions such as UOS and Kylin.
The article uses a workshop metaphor to explain how CPUs handle asynchronous interrupt signals, the role of the 8259A PIC and modern APIC, how interrupt vectors and IDT work, and why interrupt and CPU affinity are essential for performance in multi‑core systems.
Deadlocks occur when multiple processes hold exclusive resources while waiting for each other, leading to indefinite blocking; this article explains deadlock concepts, resource types, the four necessary conditions, various detection and recovery methods, prevention strategies such as the banker’s algorithm, and related issues like livelocks and starvation.
This article reviews the development histories and market shares of Windows, macOS, ChromeOS, and the Chinese UOS, compares their ecosystems and office suites, and discusses how UOS and WPS may challenge Microsoft’s dominance in the domestic desktop operating‑system market.
This article explains the Linux CPU‑idle framework, detailing the idle governor architecture, the entry and exit flow, key data structures, and the menu governor’s prediction and correction algorithms that balance power savings with performance latency.
This article explains why virtual memory is essential in modern operating systems, covering its role as an abstraction layer, caching benefits, memory protection, multi‑level page tables, and how it enables efficient resource utilization and process isolation.
This article provides a comprehensive analysis of the historical development, current market dominance of foreign operating systems, the rapid rise of Chinese domestic OS, policy-driven security concerns, and projected multi‑billion‑yuan market opportunities for OS across government, enterprise, and consumer sectors in the next five years.
This answer explains why ordinary programmers should study core computer science subjects—data structures and algorithms, operating systems, compiler theory, and computer organization—illustrating each with practical examples, typical use cases, and the benefits they bring to real‑world software development.
The article examines the historical development of PC and mobile operating systems, explains why China has not produced a mainstream OS or programming language, and argues that future opportunities will depend on aligning technological timing, geographic advantages, and human resources within China's growing IT ecosystem.
This article explains the necessity of virtual memory in modern operating systems, covering its role as an abstraction layer, caching benefits, memory protection, multi‑level page tables, process isolation, and how these mechanisms improve performance, security, and resource utilization.
This article chronicles the development, challenges, and ultimate decline of IBM’s OS/2 operating system, detailing its partnership with Microsoft, hardware and software hurdles, market competition, and the lessons modern tech companies can draw from its ambitious yet ill-fated journey.
This article explains how modern operating systems sit atop processors, memory, and I/O devices, providing a simplified computer model, detailing kernel and user modes, CPU architecture, memory hierarchy, device drivers, interrupts, buses, boot processes, and the various types of operating systems in use today.
Tracing UNIX’s origins from Bell Labs’ 1970s creation to its myriad commercial and academic offshoots, this article outlines key milestones, design principles, and the pivotal role of C, BSD, and System V in shaping today’s diverse operating system landscape.
This article provides a comprehensive overview of the origins, evolution, legal disputes, and architectural differences of UNIX, its BSD offshoots, the GNU project, and the Linux kernel, highlighting their intertwined development and impact on modern operating systems.
Tencent Cloud has open‑sourced its server‑grade operating system kernel, TencentOS Kernel, which offers cloud‑optimized resource scheduling, enhanced container isolation, ARM64 hot‑patching, and performance‑security optimizations that boost CPU utilization and lower operating costs, extending the TencentOS family after the tiny IoT release.
The article explains Unix's core design that treats files, devices, sockets, and pipes as unified resources accessed via file descriptors, discusses the abstraction trade‑offs, and pays tribute to the pioneers behind these concepts while illustrating the ideas with several diagrams.
This article provides an in‑depth exploration of Linux’s timekeeping subsystem, covering how the kernel initializes and maintains system time, reads timestamps via vDSO and sequential locks, manages timers with various algorithms, and explains the underlying quartz crystal oscillator that generates the hardware clock.
This article reflects on why foundational computer‑science topics such as operating systems, databases, and networking are essential, describing their practical skill value, their role in shaping technical thinking, and the spiral learning process that deepens a programmer’s expertise over a career.
From Bill Gates’s 640 KB claim to today’s multi‑gigabyte machines, this article explains how loaders map executable files, the evolution from segmentation to swapping and paging, and why virtual memory lets programs run with far less physical RAM despite performance trade‑offs.
This article traces the evolution of operating systems—from early UNIX and BSD to embedded kernels like VxWorks and μClinux, culminating in the rise of Linux—highlighting key concepts, architectural differences, and why mastering Linux fundamentals is essential for every developer.
The article explains the Unix epoch, how 32‑bit time counters overflow on 19 January 2038 causing the infamous 2038 bug, and why 64‑bit systems extend the range far beyond any realistic horizon, effectively eliminating the problem.
From his early fascination with a VIC‑20 gifted by his grandfather to creating the Linux kernel and later inventing Git, Linus Torvalds’ relentless coding passion, clashes with industry giants, and steadfast commitment to free software shaped the open‑source world and his own remarkable life story.
This essay reflects on why mastering fundamentals such as operating systems, databases, and networking is essential for software engineers, describing both the practical technique benefits and the deeper thinking development that occur as these concepts evolve in a programmer’s mind over time.
This article traces the origins of Unix from the 1960s AT&T Bell Labs project, explains how Linux emerged from the GNU initiative and Linus Torvalds' kernel, and compares their philosophies, licensing, ecosystem, and current relevance across servers, cloud, embedded devices, and modern development.
This article traces the history of Unix, explains how Linux emerged from the GNU project and the Linux kernel, compares their philosophies, licensing, and technical features, and highlights why Linux now dominates servers, cloud, and embedded devices while Unix still persists in niche markets.
This article outlines the origins of UNIX, its trademark evolution, major branches such as BSD, System V, and the various commercial UNIX-like systems—including Mac OS X, AIX, Solaris, HP‑UX, IRIX, Xenix, A/UX—and the rise of Linux and its many distributions.
This article traces the evolution of modern operating systems from the pioneering Multics project through Unix, BSD, the GNU initiative, and finally the birth of Linux, highlighting key figures, technical milestones, and the cultural shift toward open‑source software.
The article shares the author’s interview experiences at over 30 companies and provides a comprehensive guide covering data‑structure and algorithm questions, core C++ concepts, operating‑system fundamentals, networking protocols, open‑source tools, project‑experience expectations, and practical advice for evaluating both technical and non‑technical aspects of potential employers.
Dennis Ritchie, the creator of the C programming language and co‑developer of Unix, transformed modern computing through his pioneering work at Bell Labs, his collaboration with Ken Thompson, and the lasting influence of his innovations on operating systems, programming practices, and today’s software ecosystem.
This article explains the operating‑system concepts of concurrency and parallelism, illustrates how time‑slicing creates the illusion of simultaneous tasks on a single‑CPU system, defines true parallel execution on multi‑CPU machines, and uses everyday analogies to clarify their differences.
The 13th OSDI conference in Carlsbad attracted over 650 attendees, featuring 47 accepted papers and three Best Papers—two led by Chinese students—while Alibaba showcased its latest OS kernel (AliKernel), next‑generation distributed storage system Pangu 2.0, and the large‑scale resource manager Sigma, sparking lively discussions among global experts.
From its AT&T Bell Labs origins to modern cloud servers, this article traces Unix’s evolution, explains how Linux emerged from the GNU project, and compares the two systems’ philosophies, licensing, and practical differences for developers and enterprises today.
According to StatCounter, Android holds 39.49% of the global personal device market, surpassing Windows, while Chrome OS captures 1.3% of Linux‑based desktops; DistroWatch and Google Trends data show Manjaro currently leading Linux distributions, with Ubuntu topping weekly searches and Linux Mint ranking third overall.
This article provides concise explanations of core Java and system concepts—including JVM class loading, HashMap implementation, concurrency utilities, IPC mechanisms, garbage collection, sorting algorithms, networking protocols, Linux scheduling, deadlock conditions, hashing techniques, and database normalization—useful for technical interviews and foundational study.
The author reflects on years of programming experience, urging beginners to master core computer science subjects such as discrete math, algorithms, operating systems, and architecture, arguing that solid fundamentals prevent costly missteps when later learning frameworks like .NET, Java, or web technologies.
A Reddit discussion sparked a deep dive into Linux kernel architecture, comparing microkernel and monolithic approaches, exploring security versus performance trade‑offs, and questioning whether the kernel's design remains modern compared to Windows, macOS, and other systems.
The article traces the origins of Unix, its various branches such as BSD, System V, and modern derivatives like XNU, AIX, Solaris, and Linux, highlighting key historical milestones, licensing, and the impact of open‑source releases on developers.
This article explains the fundamental concepts of how programs run on a computer, covering CPU, memory, I/O, system software layers, process scheduling, virtual memory, multithreading models, synchronization mechanisms, and common pitfalls that affect concurrency and performance.
CPU architecturememory managementoperating-systems
A recent Eclipse Foundation survey of 713 developers reveals the most popular programming languages and operating systems across constrained IoT devices, gateways, and cloud platforms, highlighting C/C++ dominance, Java's rise, and Linux's prevalence in the IoT ecosystem.
This article explains the Linux kernel's process sleep and wake‑up mechanisms, distinguishes interruptible and uninterruptible states, demonstrates how race conditions cause invalid wakeups, and provides concrete code patterns and kernel examples to avoid such bugs.
This extensive essay traces the evolution of computer operating systems from the 1940s to today, analyzes the limitations of current OS architectures, and proposes a cloud‑native, container‑based future exemplified by the open‑source Elastos platform, highlighting security, interoperability, and new business models.
This article surveys the most notable open‑source operating systems for the Internet of Things, covering both Linux‑based and non‑Linux platforms, and highlights their memory footprints, power efficiency, modular networking stacks, security features, and real‑time determinism requirements.
This article explains the basic components and functions of a computer system, outlines the classification and differences of Linux distributions, describes the Linux philosophy, details the general command syntax with examples of common commands, and shows how to access command help and manual sections.
Linux BasicsLinux distributionscomputer fundamentals
This article provides an overview of electronic computers, describing their definition, evolution, hardware components, system architecture, and the universal nature of modern machines, followed by an introduction to Linux distributions, core philosophies, essential commands, and usage examples, offering a concise foundation for beginners in computing.
The article explains how the Linux kernel’s flexible architecture and highly modular design enable massive volunteer contributions, seamless extensibility, and cross‑platform portability by detailing its position in the system, core functions, subsystem interactions, key data structures, and the benefits of its layered, dependency‑driven design.
Process schedulerkernel architecturememory management
Linus Torvalds discusses the origins of Linux, the role of open‑source collaboration, the evolution of Git, his personal work habits, and the broader impact of open‑source software on technology, business, and future innovation in a candid TED‑style interview.
This article provides a comprehensive guide to Linux's printk system, covering its ring‑buffer design, log level definitions, early boot usage, helper macros, rate‑limiting techniques, kernel‑side implementation details, and ways to access logs from user space.
Linus Torvalds, who created Linux as a hobbyist student and later Git, attributes their massive success to his lack of foresight, embracing openness and collaboration, which turned a free operating system into the backbone of servers, supercomputers, Android, and a thriving open‑source ecosystem.
This article presents a curated collection of seminal papers and resources covering operating systems, virtual machines, system design principles, distributed algorithms, overlay networking, and debugging techniques to help engineers deepen their understanding of system architecture and advance beyond growth bottlenecks.
This article explains what a deadlock is, why it occurs, the four necessary conditions that enable it, and outlines common strategies—including ignoring, detection and recovery, avoidance, and prevention—to manage or eliminate deadlocks in operating systems.