[pve-devel] [PATCH ceph 0/2] Build rocksdb in non-debug mode

Alexandre Derumier aderumier at odiso.com
Tue Jan 9 15:50:28 CET 2024


They are a bug in current debian packaging,
where rocksdb is build in debug mode (not inheriting from cmake flags)

patch 1 already exist in ubuntu
patch 2 is a newer patch commited in ceph recently

(patch 2 should be enough, but I'm keeping patch1 by security).


I have tested it, 4k randwrite iops x2, 

fio: 4k randwrite:queue depth=64:sync write:  cache=none:
before:  16000 iops
https://pbs.twimg.com/media/GDKu9dqXYAAeH4I?format=jpg&name=large

after:  38000 iops
https://pbs.twimg.com/media/GDKu9dqW8AA3dE8?format=jpg&name=large

sandre-win.altima-hosting.fr
sandre-win.altima-hosting.fr


and submit latency /3
https://pbs.twimg.com/media/GDFmBJOW8AApWYZ?format=jpg&name=large

Alexandre Derumier (2):
  patch: debian/rules: fix build type
  patch: add 0022-rocksb-inherit-parent-cmake-cxx-flags.patch

 patches/0021-debian-rules-fix-buildtype.patch | 22 +++++++
 ...ocksb-inherit-parent-cmake-cxx-flags.patch | 57 +++++++++++++++++++
 patches/series                                |  2 +
 3 files changed, 81 insertions(+)
 create mode 100644 patches/0021-debian-rules-fix-buildtype.patch
 create mode 100644 patches/0022-rocksb-inherit-parent-cmake-cxx-flags.patch

-- 
2.39.2




More information about the pve-devel mailing list