Posts with the tag linux:

Why does Linux need a VFS?

Where the Linux Virtual File System comes from, how it works, and why the kernel could not live without it.

From Userland to Bare-Metal: Rendering pixels without a display server via DRM/KMS

The goal is to demystify the low-level Linux graphics stack by taking direct control of the graphics card to draw on the screen from a TTY.

10 000 connexions, un seul thread : comment epoll a résolu le problème C10K

Le but de cet article est de vulgariser et d’expliquer pourquoi le modèle historique « un thread par connexion » s’effondre à grande échelle, pourquoi ses premiers remplaçants select et poll ne suffisaient pas, et surtout comment epoll fonctionne réellement, jusque dans les structures de données du kernel.

Kernel bypass networking: why HFT firms skip the Linux network stack

Why the standard Linux network path is too slow for high-frequency trading, and how kernel bypass removes that latency. With a walkthrough of a minimal AF_XDP receiver compared to a standard UDP socket.

The 77 TB footgun: shells, inodes, and the Kyoto supercomputer deletion

In December 2021, a modified backup script deleted 77 TB of research data from Kyoto University’s supercomputer. This article rebuilds the failure chain with live demos: how bash reads a running script from an open file descriptor, what an inode is, why cp and mv treat it differently, and how one pair of missing quotes turns a log cleanup into a mass deletion.

Reverse Engineering a USB Device in Linux

Explore how to reverse engineer a USB device’s communication protocol using tools like lsusb, usbmon, and Wireshark, then implement a custom Linux kernel driver to handle its input/output by directly interfacing with its USB endpoints. The driver will specifically target the DualShock 4 controller.

Linux networking internals: Netfilter

Deep dive into Netfilter, the packet filtering framework of the Linux kernel

The Evolution of Gaming on Linux

A dive into the evolution of Linux as a gaming platform over the years, and the technical challenges that were overcome to make gaming viable on the open-source OS.

Developing a Bluetooth application on Linux

Introduction to BlueZ and its API

Ce qui se cache sous pthread dans Linux

Comment fonctionne pthread de la glibc sous Linux.