An update:

I have built rocksdb with & without RelWithDebInfo. Some differences
are:

 - the exact set of additional flags used with RelWithDebInfo are: -O2
-NDEBUG -fno-omit-frame-pointer -momit-leaf-frame-pointer.

 - the size of rocksdb shared library (librocksdb.so): default-build =
156M, with-RelWithDebInfo = 235M (In the case of Ceph binaries, this
shared library isn't used separately but compiled into ceph-osd and
others. Similar comparison of ceph-osd binary size stripped: default-
build = 16M, with-RelWithDebInfo = 25M).

- There are about ~5700 asserts in rocksdb which would disappear with
RelWithDebInfo.


I am doing further performance benchmarks between the two versions and will 
update once done.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1894453

Title:
  Building Ceph packages with RelWithDebInfo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1894453/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to