Maoni Stephens (@maoni0) 's Twitter Profile
Maoni Stephens

@maoni0

loves working on dotnet GC and other perf stuff; avid zoo-goer; wannabe hiphop dancer. old blog
devblogs.microsoft.com/dotnet/author/…

ID: 1113175881533419520

linkhttps://maoni0.medium.com/ calendar_today02-04-2019 20:26:26

2,2K Tweet

8,8K Followers

180 Following

Maoni Stephens (@maoni0) 's Twitter Profile Photo

a new API GC.GetTotalPauseDuration is available in .NET 7 learn.microsoft.com/en-us/dotnet/a…. it gives you the total amount of time paused in GC since the beginning of the process. should be a good aid in your performance monitoring.

Maoni Stephens (@maoni0) 's Twitter Profile Photo

I don't know how gas leaf blowers are still a thing - they should be banned from everywhere. if you live in Kirkland, WA, would you consider signing this? Ban Nasty Gas-Powered Leaf Blowers in Kirkland - Sign the Petition! chng.it/7MTMcwWr via Change.org

Maoni Stephens (@maoni0) 's Twitter Profile Photo

I literally just wrote 3 emails to 3 different teams to ask them to capture a top level GC trace to understand their memory behavior in general. 99.9% of the time this is the BEST way to start a memory investigation. github.com/Maoni0/mem-doc…

Maoni Stephens (@maoni0) 's Twitter Profile Photo

what's new in the .NET 8.0 GC? we focused on solving the Server GC problem where it keeps too much memory around. the new DATAS feature aims to keep the memory usage much more in line with what your app requires. maoni0.medium.com/dynamically-ad…

Maoni Stephens (@maoni0) 's Twitter Profile Photo

if I could only give one piece of advice to folks who need to do memory perf analysis, it would be to learn to use traces. tracing has existed for multiple decades and I still come across folks who need to do memory analysis and never use it. it really is a loss on productivity.

Maoni Stephens (@maoni0) 's Twitter Profile Photo

if you use PerfView, have you noticed the GCTriggeredStacks cmd arg? to see callstacks for induced GCs, use this lightweight commandline - PerfView /GCCollectOnly /GCTriggeredStacks /nogui collect (this is less verbose than what mem-doc currently shows)

Maoni Stephens (@maoni0) 's Twitter Profile Photo

profiling tip - if you upgrade to a newer version of a product and observe perf regression, make sure to grab some perf traces before you revert (if you revert all usage and can't easily get traces later). without comparative traces the investigation will be much harder