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)
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.
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.
Using O_DIRECT direct I/O bypasses the operating system's page cache, forgoing the caching acceleration that the page cache provides.
All Facts (3)
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.
50%UnverifiedJanas 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.
50%UnverifiedUsing O_DIRECT direct I/O bypasses the operating system's page cache, forgoing the caching acceleration that the page cache provides.
50%