+18
−1
Loading
vsnprintf() is called in the IO processing path if we set LOG_DEBUG by default, which will impact the performance numbers. See below perf record: 13.44% reactor_0 [kernel.kallsyms] [k] do_syscall_64 7.59% reactor_0 [kernel.kallsyms] [k] syscall_return_via_sysret 7.18% reactor_0 libc-2.29.so [.] __vfprintf_internal 5.60% reactor_0 [kernel.kallsyms] [k] entry_SYSCALL_64 4.74% reactor_0 [kernel.kallsyms] [k] vmx_deliver_posted_interrupt 4.36% reactor_0 nvmf_tgt [.] post_completion Change-Id: Icc12345c341d870375a1db729412acb7b3cd0211 Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9079 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
John Levon <levon@movementarian.org> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>