don't call malloc_usable_size() so much

Description

Bradley K addresses this:
"In some situations, calls to malloc_usable_size() were taking significant CPU cycles. (Vadim measured 8% on a workload with a fanout of 128.) We can remember the usable size of the message buffers, saving those CPU cycles."

Environment

None

Status

Assignee

George Lorch

Reporter

George Lorch

Labels

None

External issue ID

None

Freshdesk Tickets

None

Fix versions

Affects versions

Priority

Minor
Configure