You set Buffer.poolSize = 64 * 1024 at startup, then later read Buffer.poolSize back as 64 KiB but notice the very next small allocUnsafe still came out of an 8 KiB-style slab. Which statement is correct about how poolSize is applied?
Buffer.poolSize = 64 * 1024;
const b = Buffer.allocUnsafe(20);