meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vm:proxmox:ceph:performance [2025/10/31 18:57] – niziak | vm:proxmox:ceph:performance [2026/04/01 17:31] (current) – niziak | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| ===== Performance tips ===== | ===== Performance tips ===== | ||
| Line 14: | Line 15: | ||
| * adapt PG to number of OSDs to spread traffic evenly | * adapt PG to number of OSDs to spread traffic evenly | ||
| * use '' | * use '' | ||
| + | * more OSD = better parallelism | ||
| * enable '' | * enable '' | ||
| * MTU 9000 (jumbo frames) [[https:// | * MTU 9000 (jumbo frames) [[https:// | ||
| + | * net latency <200us ('' | ||
| * [[https:// | * [[https:// | ||
| - | * Ceph is incredibly sensitive to latency introduced by CPU c-state transitions. Set '' | + | * Ceph is incredibly sensitive to latency introduced by CPU c-state transitions. Set '' |
| * Disable IOMMU in kernel | * Disable IOMMU in kernel | ||
| Line 114: | Line 117: | ||
| ceph config get osd osd_journal_size | ceph config get osd osd_journal_size | ||
| 5120 | 5120 | ||
| + | </ | ||
| + | |||
| + | ==== bluestore_min_alloc_size ==== | ||
| + | |||
| + | * Read: [[https:// | ||
| + | * Restart of OSD needed | ||
| + | * Impact: A smaller value reduces space waste (space amplification) but increases metadata overhead, while a larger value helps with large sequential writes but wastes space on small files. | ||
| + | * These settings are generally applied to new or freshly deployed OSDs | ||
| + | |||
| + | <code bash> | ||
| + | # ceph tell ' | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | # ceph tell ' | ||
| + | </ | ||
| + | |||
| + | ==== filestore_op_threads ==== | ||
| + | |||
| + | <code bash> | ||
| + | # ceph tell ' | ||
| + | |||
| + | " | ||
| + | # ceph tell ' | ||
| + | |||
| </ | </ | ||