Tagged articles
pipes
21 articles · Page 1 of 1
Although Linux pipes avoid disk I/O and seem faster, misuse such as tiny frequent writes, mismatched read/write speeds, non‑blocking tight loops, and improper fd handling can drive a single core to 100 % CPU, but the article explains the underlying reasons and step‑by‑step optimizations to prevent it.
CPU usageIPCLinux
0 likes · 17 min read

This comprehensive guide breaks down Linux inter‑process communication (IPC) by explaining its core concepts, why it’s needed, and detailing six mechanisms—pipes, named pipes, message queues, shared memory, semaphores/PV operations, signals, and sockets—complete with code samples, diagrams, and real‑world usage scenarios.
IPCLinuxShared Memory
0 likes · 49 min read

This comprehensive guide explores Linux inter‑process communication (IPC), explaining why processes need to communicate, the underlying kernel mechanisms, and detailed coverage of pipes, FIFOs, signals, files, shared memory, message queues, and sockets with practical code examples and real‑world use cases.
IPCLinuxShared Memory
0 likes · 48 min read

From early 1970s Bell Labs' breakthrough of process isolation to the invention of in‑memory pipes, named pipes, and structured message queues, this article traces the evolution of inter‑process communication, highlighting design motivations, code structures, advantages, limitations, and the performance challenges that drove each innovation.
IPCProcess CommunicationSystems Programming
0 likes · 8 min read

This article explains Linux redirection, the three standard streams and their file descriptors, how to adjust descriptor limits, practical redirection examples, and the fundamentals of pipes—including anonymous and named pipes, their characteristics, and typical use cases for inter‑process communication.
IPCLinuxRedirection
0 likes · 13 min read

This article provides a comprehensive guide to Linux inter‑process communication (IPC), covering pipes, named pipes, signals, file‑based communication, semaphores, various shared‑memory techniques, message queues, sockets, and Unix domain sockets, each explained with concepts, typical use‑cases, diagrams and complete C code examples.
IPCInterprocess CommunicationLinux
0 likes · 32 min read

This article explains why Linux processes need to communicate, describes the kernel‑mediated IPC framework, compares shared‑memory and message‑passing approaches, and provides detailed code examples for pipes, FIFOs, signals, files, semaphores, sockets, plus real‑world use cases and case studies.
IPCInterprocess CommunicationLinux
0 likes · 31 min read

This guide explains the core Linux inter‑process communication mechanisms—including pipes, signals, files, semaphores, shared memory, message queues, sockets, and Unix‑domain sockets—detailing their concepts, typical use‑cases, and providing concise C code examples for each.
IPCLinuxShared Memory
0 likes · 31 min read

This article explains the Linux kernel architecture, breaks it into three layers and five key subsystems—process scheduling, memory management, virtual file system, network interface, and inter‑process communication—detailing their responsibilities, inter‑dependencies, and providing concrete code examples and diagrams.
IPCLinuxProcess Scheduling
0 likes · 29 min read

This article introduces Linux interprocess communication (IPC), describes the characteristics and usage of unnamed and named pipes, message queues, shared memory, signals, and semaphores, and provides complete C code examples and a producer‑consumer demonstration that combine these mechanisms.
IPCLinuxShared Memory
0 likes · 39 min read

This article explains Linux redirection, the three standard data streams (stdin, stdout, stderr), file descriptors, how to adjust their limits, common redirection syntax, and the concepts, types, and usage of both anonymous and named pipes for inter‑process communication.
LinuxRedirectioncommand-line
0 likes · 12 min read

Using a step‑by‑step example program, this article shows how to dramatically improve Linux pipe read/write performance—from an initial 3.5 GiB/s to 65 GiB/s—by applying zero‑copy techniques, ring buffers, paging insights, vmsplice/splice system calls, huge pages, and busy‑loop optimizations.
HugePagesLinuxperf
0 likes · 29 min read

This tutorial explores jq's advanced capabilities, demonstrating how to combine filters with the pipe operator, use functions like keys, length, select, map, and join, and transform JSON data into new structures and formats through practical command‑line examples.
JSONcommand-linedata processing
0 likes · 6 min read


ITPUBDec 17, 2020 · Fundamentals
This article explains the fundamentals of Linux pipes and named pipes (FIFOs), their kernel implementation, read/write APIs with code examples, and an overview of signal mechanisms, types, and handling in the context of inter‑process communication.
IPCLinuxOS fundamentals
0 likes · 15 min read

This article explains the internal workings of Linux pipes, named pipes (FIFOs), and signal handling, covering their kernel implementation, synchronization mechanisms, relevant system calls, and provides concrete C code examples for creating and using these inter‑process communication primitives.
IPCLinuxSignals
0 likes · 17 min read

This article introduces several Linux interprocess communication mechanisms—including pipes, message queues, shared memory, semaphores, signals, and sockets—explaining their principles, advantages, drawbacks, and typical usage scenarios for developers preparing for system‑level programming or interviews.
IPCLinuxShared Memory
0 likes · 7 min read

This article explains how Linux pipes transmit data in real time, explores buffering modes, demonstrates practical experiments with Python scripts, and details read/write rules, including SIGPIPE handling, providing developers with essential insights for effective command-line pipeline usage.
BufferingInterprocess CommunicationLinux
0 likes · 11 min read


ITPUBApr 17, 2019 · Fundamentals
This article explains how Linux pipes transmit data in real time, why output may appear delayed due to buffering, how to control buffering with flush or large writes, and what the SIGPIPE signal means when a pipe’s read end is closed.
BufferingLinuxSIGPIPE
0 likes · 11 min read

Linux pipes transmit data between commands concurrently, not after one finishes, and their behavior depends on kernel buffering, I/O modes, and signals like SIGPIPE; this article explains pipe internals, real‑time data flow, buffering strategies, read/write rules, and practical tips with illustrative experiments.
BufferingLinuxSIGPIPE
0 likes · 8 min read

This article explains how Linux pipes transmit data instantly between commands, covers buffering modes, demonstrates real‑time behavior with experiments, and details SIGPIPE handling and read/write rules for reliable shell scripting.
IO BufferingSIGPIPEpipes
0 likes · 8 min read


ITPUBMar 23, 2017 · Fundamentals
This article explains the concepts of anonymous and named pipes in Linux, compares their characteristics, shows how to create them with mknod and mkfifo, and provides a complete C example that implements a two‑process chat program using threads and pipe I/O.
C++FIFOIPC
0 likes · 8 min read
