msquic icon indicating copy to clipboard operation
msquic copied to clipboard

Reduce Connection lifetime memory usage

Open anrossi opened this issue 3 years ago • 2 comments

A number of fields included on QUIC_CONNECTIONs are only used during the handshake. Keeping these values around after the handshake is a waste of memory on the server. Analyze all these member fields and collect them into their own object which is allocated from a lookaside list and freed once the handshake is complete.

anrossi avatar Jul 18 '21 00:07 anrossi

A thought: Can we have (performance?) tests that measure memory usage?

nibanks avatar Aug 09 '22 14:08 nibanks

On windows, I think we could use ETW to monitor memory usage during a test run and potentially script a tool to analyze the ETW after the test runs.

anrossi avatar Aug 09 '22 20:08 anrossi