Expand description
File backed 16KB page manager with free list allocation. Page Manager: file-backed page storage with free list management.
Pages are 16KB fixed-size blocks used as the fundamental I/O unit. The page file layout:
- Page 0: file header (magic, version, page count, free list head)
- Page 1..N: data pages
Structs§
- Page
- A fixed-size, 4KB-aligned page.
- Page
Header - Fixed-layout page header stored at the start of every page.
- PageId
- A page identifier.
- Page
Manager - Manages a file-backed page store with free-list allocation.
Enums§
- Page
Type - Page type classification.
Constants§
- HEADER_
SIZE - Size of the page header in bytes.
- PAGE_
DATA_ SIZE - Usable data bytes per page (total page size minus header).
- PAGE_
SIZE - Page size: 64KB to accommodate large embedding vectors and long content.