[KongchangAI]
Concept

O_DIRECT

A file open flag provided by Linux that bypasses the kernel page cache and transfers data directly from disk to user-space buffers, giving programs full control over memory usage and avoiding performance thrashing caused by contention over the page cache.

Timeline (last 90 days)

Oct 22

cuFile requires file descriptors to be opened with O_DIRECT, and buffers must be registered (cuFileBufRegister) to enable the direct path.

Unverified50%
Oct 17

The engine uses O_DIRECT and pinned memory for streaming reads of expert weights, with each expert rewritten as a 3,096,576-byte block (exactly 756 4KiB pages) to meet alignment requirements.

Unverified50%
Oct 13

O_DIRECT is a Linux file open flag that bypasses the page cache and transfers data directly from disk to user-space buffers, letting a program fully control memory usage and avoid double-copy overhead.

Unverified50%
Oct 13

Janas uses O_DIRECT to read expert weights on demand and tracks hot experts to keep them in an in-memory cache, thereby avoiding system-level page-fault storms.

Unverified50%
Sep 11

Using O_DIRECT direct I/O bypasses the operating system's page cache, forgoing the caching acceleration that the page cache provides.

Unverified50%

All Facts (5)

Source Articles