diff options
author | Craig Tiller <ctiller@google.com> | 2017-04-26 10:07:26 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-04-26 10:07:26 -0700 |
commit | 53e6b56e32c79ba401a67cb349519c12991539cc (patch) | |
tree | bd61f5cab1ba154892e43d1369bb7138e0aadeae /src/core/lib/support/avl.c | |
parent | e7c31edb555399b699261cb6e0b9f83fb3d6d9d9 (diff) |
Reduce server memory usage
(this needs more testing/analysis to prove that it's safe)
Switch from a lock free stack to an mpscq protected by a spinlock for incoming requests. The mpscq is unbounded and so needs (much) less memory allocated up front.
memory_profile_test shows this reduces initial server creation cost from 4MB to 1.5KB.
Diffstat (limited to 'src/core/lib/support/avl.c')
0 files changed, 0 insertions, 0 deletions