Optimizing RGW Object Storage Mixed Media through Storage Classes and Lua Scripting
summary
Describes a practical system that uses Ceph RGW and Lua hooks (Quincy) to rewrite S3 storage-class headers at upload time and route objects by size to different pools (replicated TLC for small objects, QLC pools for large ones), plus an opt-in OSD creation option to set min_alloc to the device 64K IU when appropriate. Implementation requires only a tiny Ceph change, demonstrably cuts pathological space amplification (an extreme 4700% space amplification case shown) and is used in production testing.
AI-written summary · about
