AI Cyberspace
Author

AI Cyberspace

AI, big data, cloud computing, and networking.

149
Articles
0
Likes
1.1k
Views
0
Comments
Recent Articles

Latest from AI Cyberspace

100 recent articles max
AI Cyberspace
AI Cyberspace
Apr 1, 2023 · Fundamentals

From ARPANET to SDN: How the Internet Evolved Over 60 Years

This article traces the Internet’s evolution from Cold‑War‑era research projects like ARPA and ARPANET through the birth of TCP/IP, HTTP, REST, and the rise of SDN, OpenFlow, and P4, highlighting key milestones, standards, and the ongoing push toward fully programmable networks.

HTTPInternet HistorySDN
0 likes · 40 min read
From ARPANET to SDN: How the Internet Evolved Over 60 Years
AI Cyberspace
AI Cyberspace
Mar 29, 2023 · Fundamentals

Mastering POSIX Threads: From User Threads to Thread Pools in Linux

This article explains the concepts of user threads, the pthread library implementation, thread creation and termination functions, synchronization mechanisms like mutexes and condition variables, and demonstrates how to design and use a lightweight C thread‑pool with practical code examples.

C programmingMultithreadingThread Pool
0 likes · 21 min read
Mastering POSIX Threads: From User Threads to Thread Pools in Linux
AI Cyberspace
AI Cyberspace
Mar 28, 2023 · Fundamentals

Why NUMA Slows Multithreaded Apps and How to Optimize It

This article explains NUMA architecture, its multithreaded performance overheads such as remote memory access, cache synchronization, context and mode switches, interrupt handling, TLB misses, and memory copies, and then presents optimization techniques like NUMA and CPU affinity, IRQ tuning, and large‑page usage.

CPU affinityMultithreadingNUMA
0 likes · 20 min read
Why NUMA Slows Multithreaded Apps and How to Optimize It
AI Cyberspace
AI Cyberspace
Mar 27, 2023 · Fundamentals

Understanding Linux Memory Allocation: Buddy, Slab, and Slub Explained

Linux’s memory allocation mechanisms—Buddy for main memory and Slab/Slub for CPU cache—aim to maximize memory utilization, minimize fragmentation, and boost allocation efficiency, with detailed explanations of their structures, operation steps, and how to inspect them via /proc interfaces.

Memory ManagementSLUBbuddy allocator
0 likes · 9 min read
Understanding Linux Memory Allocation: Buddy, Slab, and Slub Explained
AI Cyberspace
AI Cyberspace
Mar 25, 2023 · Fundamentals

Mastering C Memory Management: malloc, realloc, memset, memcpy & More

This article explains how C programs allocate, resize, initialize, and transfer memory using functions like malloc, free, realloc, memset, memcpy, memmove, and alloca, and provides coding standards to avoid out‑of‑bounds errors, leaks, and use‑after‑free bugs.

C++Memcpymalloc
0 likes · 11 min read
Mastering C Memory Management: malloc, realloc, memset, memcpy & More
AI Cyberspace
AI Cyberspace
Mar 24, 2023 · Fundamentals

Unlock Faster Linux Performance with Huge Pages: Why and How

This article explains Linux huge pages, their performance benefits, implementation details, configuration steps, and the impact on memory reporting, including guidance on using and disabling Transparent Huge Pages for optimal system tuning.

Huge PagesMemory ManagementTLB
0 likes · 14 min read
Unlock Faster Linux Performance with Huge Pages: Why and How