Looks like you can turn off per-CPU caches in new TCMalloc. You can set a MALLOC_CONF before calling Mongo server:
export MALLOC_CONF=“percpu_arena:disabled”
This will bypass the num CPUs call.