facebook / mvfst

An implementation of the QUIC transport protocol.
MIT License
1.5k stars 242 forks source link

Memory utilization rate issue #227

Open Enjia opened 2 years ago

Enjia commented 2 years ago

Hi guys, I modified tperf by enabling multiple connections as an option for users who want to measure the performance of multi-connections transport. It just worked but I found that one connection should take up about 90MB memory using “top” commands, besides, pmap command also showed that tperf process would increase 65MB(corresponding to "anon" in Mapping column) every time a new connection had been established. As a result, multiple connections in large scale could cause memory exhaustion. Have you looked into the memory resource consumption of multiple quic connections? Thanks