Tagged articles
disk I/O
74 articles · Page 1 of 1
This comprehensive guide covers Linux troubleshooting methodology using 5W2H, essential tools for CPU, memory, disk I/O, network, and load analysis, plus flame graph techniques for on-CPU, off-CPU, memory, and differential profiling, illustrated with a real nginx cluster case study.
CPU profilingLinux troubleshootingNetwork Monitoring
0 likes · 18 min read

This article explains why database indexes accelerate queries by detailing disk storage mechanics, demonstrating binary search on 100,000 records reducing block scans from 20,000 to 14, covering clustered vs non-clustered indexes, index trade-offs, common failure cases like OR conditions, and practical SQL optimization techniques.
B+TreeInterview questionsQuery Performance
0 likes · 14 min read

This article explains how MySQL uses B+ tree indexes to accelerate queries, detailing their structure, differences from binary search trees, organization around 16KB pages, and why smaller index values reduce tree height and disk I/O for better performance.
B+TreeDatabase PerformanceInnoDB
0 likes · 6 min read

This guide walks you through a step‑by‑step, non‑disruptive workflow for diagnosing high disk I/O on Linux servers using built‑in tools such as vmstat, iostat, iotop, pidstat, lsof and the low‑level tracer blktrace, then shows how to interpret the data, identify common root causes, apply targeted fixes, and verify improvements with fio benchmarks and continuous monitoring.
LinuxPerformance Monitoringblktrace
0 likes · 26 min read

This comprehensive guide walks you through the fundamentals of Linux disk I/O performance, explains how to interpret key metrics such as IOPS, throughput and latency, and provides step‑by‑step instructions, scripts and configuration examples for diagnosing bottlenecks, optimizing filesystems, kernel parameters, application settings and storage layouts in production environments.
FilesystemLinuxPerformance Tuning
0 likes · 60 min read

This article explains how to identify and troubleshoot the four main resource bottlenecks—CPU, memory, disk I/O, and network—by detailing Linux internals, key metrics, practical command examples, real‑world case studies, and a step‑by‑step decision tree for accurate diagnosis and tuning.
CPULinuxMemory
0 likes · 46 min read

This guide walks Linux operators through a systematic, four‑dimensional investigation of server slowdown—covering CPU, memory, disk I/O, and network—using concrete commands, diagnostic scripts, real‑world scenarios, and step‑by‑step remediation strategies to pinpoint and resolve performance bottlenecks.
CPULinuxMemory
0 likes · 32 min read

This guide walks through diagnosing and tuning CPU, memory, network, disk I/O, and filesystem on Linux servers, showing how to use tools such as mpstat, pidstat, vmstat, ss, iostat, iotop and df, and provides concrete commands, parameter recommendations, and real‑world case studies.
CPUFilesystemMemory
0 likes · 16 min read

The article explains Linux's core storage components—inode, dentry, superblock, and logical blocks—how the Virtual File System abstracts different file systems, the classification of file systems and I/O types, disk technologies, the block layer, I/O schedulers, and practical performance metrics and monitoring tools.
I/O schedulerInodeLinux
0 likes · 20 min read

This guide provides a systematic, multi‑layered approach to Linux performance optimization, covering CPU usage analysis, memory management, disk I/O tuning, kernel parameter tweaks, NUMA and container adjustments, with concrete commands, real‑world case studies, monitoring scripts, and actionable best‑practice checklists.
CPULinuxMemory
0 likes · 14 min read

This article walks through a comprehensive set of Linux disk I/O optimizations—including hardware health checks, SSD adoption, RAID configuration, block‑device scheduler tuning, sector size alignment, filesystem selection, swap and huge‑page settings, kernel cache tweaks, third‑party caches, and application‑level strategies—to dramatically improve storage throughput and latency.
FilesystemI/O schedulerLinux
0 likes · 12 min read

This guide explains how to monitor a Linux server’s health by checking CPU load and core count, memory usage, disk I/O statistics, and network traffic with common command‑line tools such as uptime, top, free, iostat, iotop, nload and nethogs, and shows how to interpret the results to identify bottlenecks.
CPULinuxMemory
0 likes · 13 min read

This article explains the Linux storage I/O stack, breaks down disk latency into transmission, queue, and processing time, shows how to measure each part with tools like iostat and disktool, and provides a step‑by‑step checklist for diagnosing high disk latency.
I/O StackLinuxPerformance Tuning
0 likes · 11 min read

This article explains Linux filesystem structures, the virtual filesystem layer, various disk I/O mechanisms—including buffered, non‑buffered, blocking, non‑blocking, synchronous and asynchronous I/O—and provides practical commands for observing inode and dentry caches to aid performance optimization.
FilesystemLinuxPerformance Tuning
0 likes · 8 min read

This article provides a systematic, end‑to‑end guide for diagnosing and optimizing Linux system performance across CPU, memory, and disk I/O layers, offering concrete commands, metric thresholds, real‑world case studies, and advanced techniques such as NUMA and container tuning.
CPULinuxdisk I/O
0 likes · 14 min read

This comprehensive guide walks you through Linux system performance tuning—from CPU, memory, and disk I/O diagnostics to practical optimization techniques, key metric interpretation, real‑world case studies, monitoring scripts, and advanced tips—helping you boost performance by 30‑50%.
CPUMemoryPerformance Tuning
0 likes · 15 min read

This comprehensive guide explains Linux disk I/O fundamentals, compares HDD and SSD characteristics, details file system structures, outlines I/O operation flow, introduces key performance metrics like IOPS, throughput and latency, and provides practical testing tools and optimization techniques for both applications and storage layers.
Linuxdisk I/Ofio
0 likes · 31 min read

This guide explains how to monitor a Linux server’s key resources—including CPU load, memory usage, disk I/O, and network bandwidth—using built‑in commands such as uptime, top, free, iostat, iotop, nload and nethogs, and shows how to interpret the results to identify performance bottlenecks.
CPUMemorySystem Monitoring
0 likes · 15 min read

Kafka attains million‑level message throughput by writing logs sequentially to disk, leveraging OS page cache for batch flushing, sending messages in large batches, and employing zero‑copy techniques that move data directly from disk to network sockets, dramatically reducing I/O overhead and CPU usage.
KafkaPage Cachebatching
0 likes · 4 min read

MySQL's Multi-Range Read (MRR) optimization reduces random disk I/O by scanning indexes, sorting keys, and retrieving rows sequentially, offering advantages like sequential data access and batch key processing, while outlining its limitations, applicable scenarios, usage conditions, and configuration via optimizer_switch variables and buffer settings.
Index OptimizationMRRMySQL
0 likes · 5 min read

This article explains what disk I/O is, compares HDD and SSD characteristics, describes the Linux I/O stack, outlines performance metrics such as throughput, IOPS and latency, and reviews factors, tools, caching strategies, and RAID configurations that affect storage performance.
I/O toolsLinux storageRAID
0 likes · 19 min read

This guide explains how to install the Linux stress utility, describes its key command‑line options, and shows practical examples for stressing CPU, memory, and disk I/O to evaluate server stability under load.
CPU loadLinuxdisk I/O
0 likes · 4 min read

This article explains how MySQL writes data to cache before flushing to disk, compares single‑row versus batch inserts, discusses how hardware limits, transaction size, and lock contention affect performance, and shows how to estimate an optimal batch size with concrete calculations and MyBatis examples.
MemoryMyBatisMySQL
0 likes · 14 min read

The article explains MySQL’s Multi-Range Read (MRR) optimization, detailing how it scans secondary indexes, buffers and sorts primary keys, leverages disk pre‑read and cache locality to convert random I/O into sequential I/O, and shows configuration, monitoring methods, and a concrete orders‑table example.
InnoDBMRRMulti-Range Read
0 likes · 11 min read

This article presents a practical guide for backend developers to troubleshoot Linux performance problems, covering essential analysis tools, a systematic diagnosis method, and detailed checklists for CPU, memory, disk I/O, and network I/O issues.
BackendCPULinux
0 likes · 9 min read

The article presents a concise mind‑map of essential Linux performance tools and a flexible troubleshooting workflow, guiding backend developers through CPU, memory, disk, and network issues by using utilities such as top, oprofile, slabtop, iotop, netstat, and strace to quickly pinpoint and resolve bottlenecks.
CPULinuxMemory
0 likes · 11 min read

This guide maps Linux kernel subsystems to key performance metrics and presents a curated set of CPU, memory, disk I/O, and network tools—complete with visual charts, metric explanations, and practical notes for effective system analysis.
CPULinuxMemory
0 likes · 5 min read

This guide explains why disk I/O matters for server performance and walks through using the Linux dd command to create a test file, run read/write benchmarks, interpret the results from /proc/diskstats, and automate regular checks with a cron script.
benchmarkdd commanddisk I/O
0 likes · 7 min read

Learn how to use macOS’s built-in dmc utility to artificially throttle disk read/write speeds, configure various HDD/SSD profiles, and verify the impact with fio benchmarks, enabling realistic performance testing on low-speed machines without complex cgroup or Docker setups.
disk I/Odisk throttlingdmc
0 likes · 5 min read

This article explains Linux disk I/O performance metrics, benchmark methods, observation tools like iostat, pidstat, and iotop, and walks through a practical case of diagnosing and resolving an I/O spike caused by the jbd2 journaling process.
LinuxPerformance Monitoringdisk I/O
0 likes · 14 min read

This article details a systematic investigation of MySQL insert slowdown caused by disk I/O anomalies, describing log analysis, blktrace data collection, RAID controller firmware bugs, and the final resolution through firmware upgrade, providing practical guidance for database performance troubleshooting.
MySQLRAIDblktrace
0 likes · 11 min read

Linux performance hinges on the interplay of hardware resources, OS configuration, and application efficiency; this guide outlines key factors such as CPU, memory, disk I/O, RAID, network bandwidth, kernel tuning, and the roles of ops, architects, and developers in systematic performance optimization.
LinuxMemoryRAID
0 likes · 16 min read

The article explains the fundamentals of tree data structures, compares B, B+, B*, and red‑black trees, and shows how B+ trees reduce disk I/O and improve range query performance, which is why MySQL adopts B+ trees for its indexes.
B+TreeMySQLdata structures
0 likes · 15 min read


ITPUBDec 10, 2022 · Backend Development
This article explores Kafka's performance secrets by examining network, disk, and algorithmic factors, detailing sequential writes, zero‑copy techniques, page‑cache usage, Reactor‑based networking, batching, compression, partition concurrency, and file‑structure optimizations, and provides practical guidance for high‑throughput deployments.
Reactor Modelbatchingdisk I/O
0 likes · 18 min read

This article explains the fundamentals of MySQL indexing, detailing how InnoDB pages, B+‑tree structures, clustered and non‑clustered indexes, and disk prefetching work together to reduce I/O operations and dramatically improve query performance.
B+TreeDatabase PerformanceIndex
0 likes · 18 min read

This article walks through a systematic analysis of MySQL slow‑log entries, correlating them with error‑log flush events, disk‑I/O monitoring, and semi‑synchronous replication traces to pinpoint performance bottlenecks and provide practical troubleshooting steps.
MySQLPerformance TroubleshootingSemi-sync Replication
0 likes · 20 min read

Learn the essential Linux disk I/O performance metrics—utilization, saturation, IOPS, throughput, and response time—and discover how to monitor them using iostat, pidstat, and iotop, with practical examples and guidance for interpreting /proc/diskstats data and evaluating storage bottlenecks.
Linuxdisk I/Oiostat
0 likes · 11 min read

This article explains Linux’s storage I/O stack, defines the five core performance metrics—utilization, saturation, IOPS, throughput, and response time—and demonstrates how to monitor them using tools such as iostat, pidstat, and iotop, with practical command examples.
LinuxPerformance Monitoringdisk I/O
0 likes · 9 min read

This article explains the Linux storage I/O stack, defines the five key disk performance metrics, and shows how to monitor both disk and process I/O using iostat, pidstat, and iotop, with practical command examples and interpretation tips.
disk I/Oiostatiotop
0 likes · 9 min read

This article explains the key Linux disk performance indicators—utilization, saturation, IOPS, throughput, and response time—and shows how to monitor them using tools such as iostat, pidstat, and iotop, including practical command examples and interpretation tips.
Linuxdisk I/Oiostat
0 likes · 9 min read


政采云技术Feb 15, 2022 · Big Data
This article describes a performance bottleneck in a high‑traffic search service, details the investigation of hardware limits, long‑tail query impact, load‑testing methodology, and the subsequent optimizations—including SSD upgrade, data‑structure reduction, and Elasticsearch segment tuning—that reduced disk I/O and improved throughput.
ElasticsearchPerformance TuningSegment Optimization
0 likes · 11 min read

This article explains the principles of disk I/O, covering read/write workflows, DMA acceleration, page cache, memory‑mapped files, buffering techniques, Linux kernel parameters and practical Java code examples to illustrate how to reduce CPU involvement and improve overall system performance.
BufferingDMALinux
0 likes · 12 min read

The article explains the fundamentals of disk I/O, covering read/write processes, IO interrupts, DMA, page cache, mmap, buffered versus unbuffered file operations, ByteBuffer usage, Linux dirty‑page parameters, and how these mechanisms affect application performance and reliability.
DMALinuxPage Cache
0 likes · 12 min read

This article explores Linux file system fundamentals, covering physical disk layout, partition strategies, how the OS reduces random‑read latency, the real space cost of empty files and directories, inode usage, block allocation, and practical tips for improving disk I/O performance.
Filesystem FundamentalsLinuxPartitioning
0 likes · 16 min read

This article outlines systematic methods for diagnosing subtle performance issues by leveraging detailed data analysis of CPU, memory, disk I/O, and network metrics, and presents real-world case studies that demonstrate how targeted profiling and optimization can reveal and resolve hidden bottlenecks in complex systems.
CPU analysisNetwork Monitoringdisk I/O
0 likes · 11 min read

This article explains how B+Tree improves disk I/O efficiency in MySQL InnoDB by detailing disk storage fundamentals, sector/block/page concepts, the differences between B‑Tree and B+Tree, and practical search examples that illustrate reduced I/O operations and faster queries.
B+TreeInnoDBMySQL
0 likes · 15 min read

This article explains the types, components, operation principles, data layout, read/write process, locality-based prefetching, fragmentation, capacity calculations, and RAID configurations of modern hard disk drives, providing a comprehensive technical overview for anyone interested in storage fundamentals.
RAIDdisk I/Ohard disk
0 likes · 21 min read


ITPUBApr 16, 2021 · Fundamentals
This article demystifies the Linux I/O stack by tracing a single‑byte read through system calls, VFS, page cache, filesystem layers, block management and I/O scheduling, revealing when real disk I/O occurs and how much data is actually transferred.
FilesystemI/O StackLinux
0 likes · 13 min read

This article provides a comprehensive overview of Kafka performance optimization, covering network, disk, and complexity challenges, sequential write techniques, zero‑copy data transfer, page‑cache usage, reactor‑based networking, batch processing, compression, partition concurrency, and file‑structure design to help developers build high‑throughput, low‑latency streaming systems.
Java NIOdisk I/Onetwork
0 likes · 17 min read

The article investigates why an InfluxDB 1.8 instance on a 32‑core, 64 GB production server consumes over 95% memory and generates heavy disk I/O, analyzes runtime statistics, pprof data, and Go memory‑release behavior, and presents configuration and runtime tweaks that reduce memory usage to ~55% and I/O load to acceptable levels.
InfluxDBMemory LeakPerformance Tuning
0 likes · 12 min read


ITPUBJan 19, 2021 · Databases
This article explains how database indexes improve query performance by exploring binary trees, binary search, balanced trees, B‑trees, and B+‑trees, illustrating their structures, advantages, disadvantages, and the impact of disk I/O on overall efficiency.
B+TreeB-treeQuery Performance
0 likes · 17 min read

The article investigates why a MySQL instance experiences frequent "Opening tables" states, analyzing stack traces, identifying a data dictionary lock held by the dict_stats_thread, and concluding that slow disk writes trigger InnoDB's synchronous dirty‑page flush, blocking many operations.
InnoDBMySQLOpening tables
0 likes · 14 min read

The article explains how B+ trees serve as efficient disk-based indexes, contrasting disk and memory I/O, describing node and leaf structures, retrieval methods, and dynamic insertion and deletion operations, highlighting their advantages for large-scale data storage and query performance.
B+TreeStoragedata structures
0 likes · 11 min read

This article presents a detailed fio benchmark comparing sequential and random I/O on a 7‑disk RAID5 array, revealing how I/O size, RAID strip size, and caching affect bandwidth, latency, and IOPS, and explains the implications for database transactions, file copying, and B+‑tree indexing.
B+TreeRAID5database
0 likes · 10 min read

This article explains the hierarchical storage pyramid, Linux kernel I/O stack, page‑cache synchronization policies, the atomicity of write operations, the role of mmap and Direct I/O, and how disk characteristics influence multithreaded read/write performance and design decisions.
Direct I/OLinuxPage Cache
0 likes · 15 min read

This article demonstrates how to reproduce disk‑IO saturation in MySQL, enable performance_schema instruments and consumers, apply load, and use sys.x$latest_file_io together with events_waits_history_long to pinpoint whether binlog, redo log, or specific tables are causing the slowdown.
MySQLdisk I/Operformance_schema
0 likes · 3 min read

This guide explains how to create a delayed‑disk device on Linux, place MySQL binlog files on it, and use tools like mysqlslap and pt‑ioprofile to observe the impact of artificially slow I/O on MySQL performance.
Database BenchmarkLinuxMySQL
0 likes · 3 min read

This article explains how to diagnose and optimize Linux system performance by examining hardware resources, OS configuration, storage setups like RAID, network bandwidth, and application code, offering a step‑by‑step guide for administrators and engineers to achieve optimal efficiency.
CPUMemoryPerformance Tuning
0 likes · 16 min read

This guide explains how to optimize disk I/O on Kunpeng processors by outlining the underlying performance bottlenecks, introducing essential monitoring tools like iostat, and detailing practical kernel and filesystem tuning methods—including dirty page settings, read-ahead adjustments, I/O scheduler selection, and XFS configuration.
KunpengLinuxPerformance Tuning
0 likes · 15 min read

This article explains how to assess, monitor, and tune system I/O performance by defining I/O models, selecting appropriate evaluation tools, tracking key metrics for disk and network I/O, and applying practical optimization strategies for both storage and network bottlenecks.
IO performancePerformance Tuningcapacity planning
0 likes · 15 min read

This article explains Kafka's design background, persistence mechanisms, disk sequential I/O optimizations, network and compression strategies, and stability features such as partitioning, replication, and ISR, illustrating how these techniques enable high‑throughput, low‑latency real‑time log processing in big‑data environments.
KafkaMessage Queuedisk I/O
0 likes · 9 min read

This article debunks the myth that larger database connection pools always improve performance, explains how CPU, disk, and network I/O affect optimal pool size, presents real‑world test results, and provides a practical formula for calculating the right number of connections.
CPUDatabase Connection PoolPostgreSQL
0 likes · 10 min read


ITPUBJun 4, 2019 · Operations
This guide walks you through practical Linux performance troubleshooting steps, covering how to inspect CPU details, list boot‑time services, monitor CPU load, check free memory, and analyze disk I/O, with concrete commands and solutions to improve system speed.
CPULinuxMemory
0 likes · 7 min read


ITPUBApr 26, 2019 · Operations
This guide walks you through essential Linux performance diagnostics—checking CPU details, boot‑time services, CPU load, free memory, and disk I/O—providing concrete commands, interpretation tips, and practical solutions to identify and resolve common slowdown causes.
CPULinuxMemory
0 likes · 7 min read


21CTOApr 18, 2019 · Operations
The article examines how traditional synchronous and semi‑synchronous API gateways can fail under high load by analyzing CPU utilization, disk I/O, and network latency, and offers practical monitoring metrics and mitigation strategies to prevent cascading failures in large‑scale systems.
API gatewayAsynchronous ArchitectureCPU utilization
0 likes · 9 min read

This article explains how disk I/O performance is shaped by page cache behavior, sequential versus random access, elevator scheduling, and storage data structures such as B+Tree and LSM trees, showing why operating systems and databases must design for sequential reads and writes to achieve optimal throughput.
B+TreeKafkaLSM
0 likes · 18 min read

This article explains how UCloud’s self‑developed IO acceleration technology dramatically narrows the CPU‑disk performance gap by raising 4K random write throughput from 300 IOPS to 45,000 IOPS, detailing its architecture, first‑generation limitations, and the second‑generation enhancements that enable scalable, fault‑tolerant cloud storage.
IO accelerationcloud storagedevice mapper
0 likes · 15 min read

This article consolidates practical knowledge on system performance optimization, covering key metrics, load‑testing utilities, Linux monitoring commands, and JVM profiling tricks to help engineers pinpoint and resolve throughput, latency, CPU, disk, and network bottlenecks.
CPU analysisJVM profilingLinux monitoring
0 likes · 15 min read

This article comprehensively explains disk storage fundamentals—including read/write operations, random versus sequential access, queue and burst modes, IO size variability, IOPS metrics, RAID performance penalties, and response‑time behavior—providing practical formulas and guidelines for evaluating storage systems.
IO latencyIOPSRAID
0 likes · 16 min read

This article explains how database indexes are implemented using B+ trees, describing their structure, advantages such as shallow depth and ordered leaf nodes, and how they reduce disk I/O, illustrating calculations of node capacity and emphasizing the importance of index size for performance.
B+TreeInnoDBdata structures
0 likes · 6 min read


ITPUBJan 14, 2017 · Databases
A client reported intermittent database slowness, which was traced to high CXPACKET wait times; the article explains the CXPACKET mechanism, provides a diagnostic script, analyzes disk I/O bottlenecks, and offers practical recommendations such as faster disks, separating data and log files, and isolating large log tables.
CXPACKETPerformance TuningSQL Server
0 likes · 5 min read

This article explains the basic concepts of disk read/write I/O operations, distinguishes random and sequential access, describes I/O size, IOPS calculation, RAID IOPS formulas, and provides guidance on evaluating storage performance for both individual disks and RAID arrays.
IOPSRAIDdisk I/O
0 likes · 16 min read

This article explains how disk I/O performance impacts applications and introduces RAID technology, detailing common RAID levels such as RAID 0, RAID 1, RAID 5, and RAID 0+1, their performance characteristics, fault‑tolerance features, and appropriate use cases for improving throughput and data reliability.
RAIDRAID levelsdata redundancy
0 likes · 4 min read

This article explains how Linux represents files and directories with inodes, how file and directory counts and nesting depth affect disk I/O during lookup, and shows how to monitor inode usage to determine performance thresholds.
FilesystemInodeLinux
0 likes · 7 min read
