Specification Restrictions
- The maximum capacity transferred during cache initialization is 256 TiB. The value cannot be dynamically changed.
- The value of cache_line_size can be 8 KiB, 16 KiB, 32 KiB, or 64 KiB. 8 KiB is recommended.
- ocf creates io_worker_num queues. One io_worker corresponds to one ocf queue pair (submission_queue/completion_queue).
- region_id of each region is globally unique. One slot corresponds to one core. A maximum of 511 cores are available. The maximum logical space of a core is 4,096 TiB, and can host a maximum of 128,000 32 GiB regions. All regions in a slot are placed in the core corresponding to the slot. In the device space, region_id is remapped to a remap_id, and the region range on the core is remap_id x 32 GiB to (remap_id + 1) x 32 GiB.
- The ocf_get, ocf_put, ocf_invalid, and ocf_lookup interfaces called by the same slot must run in the same thread.
Parent topic: Integrating the Read Cache