Skip to main content
Microsoft
.NET Blog
.NET Blog
  • Home
  • DevBlogs
    • Azure DevOps
    • Notification Hubs
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • Azure Artifacts
    • Azure Boards
    • Azure Pipelines
    • Azure Repos
    • Azure Test Plans
    • DevOps
    • C++
    • Java
    • Java Blog in Chinese
    • JavaScript
    • PowerShell Community
    • PowerShell Team
    • Python
    • Q#
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • ASP.NET
    • NuGet
    • Xamarin
    • #ifdef Windows
    • Apps for Windows
    • Azure Depth Platform
    • Azure Government
    • Azure SDKs
    • Bing Dev Center
    • Command Line
    • CSE Developer
    • Developer Support
    • DirectX Developer Blog
    • IoT Developer
    • Math In Office
    • Microsoft Edge Dev
    • Microsoft Azure
    • Office 365 Development
    • Old New Thing
    • PAX Media
    • Perf and Diagnostics
    • PIX on Windows
    • Startup Developers
    • Surface Duo
    • Sustainable Software
    • Windows Search Platform
    • Azure Cosmos DB
    • Azure Data Studio
    • Azure SQL
    • Azure Synapse Analytics
    • OData
    • Revolutions R
    • SQL Server Data Tools
    maoni

    Maoni Stephens

    .NET GC Architect, .NET Runtime Team

    Loves working on #dotnet #dotnetcore GC and other perf stuff.

    Post by this author

    The history of the GC configs
    The history of the GC configs
    November 2nd, 2019
    Recently, Nick from Stack Overflow tweeted about his experience of using the .NET Core GC configs – he seemed quite happy with them (minus the fact they are not documented well which is something I’m talking to our doc folks about). I thought it’d be fun to tell you about the history of the GC configs ‘cause it’s almost the weekend ...

    1.NET
    Finalization implementation details
    Finalization implementation details
    September 16th, 2019
    Years ago I wrote a document on making finalization scanning concurrent. At the time there was an internal team that was using finalization as a way to resurrect objects and putting them back in their cache. While we’ve always advised to folks that finalization was for releasing native resources I couldn’t fault this team for using it the ...

    3Dot.Net
    GC Perf Infrastructure – Part 0
    GC Perf Infrastructure – Part 0
    September 9th, 2019
    In this blog entry and some future ones I will be showing off functionalities that our new GC perf infrastructure provides. Andy and I have been working on it (he did all the work; I merely played the consultant role). We will be open sourcing it soon and I wanted to give you some examples of using it and you can add these to your repertoire ...

    6.NET CoreGC
    A portable way to get GC events in process and no admin privilege with 10 lines of code (and ability to dynamically enable/disable events)
    A portable way to get GC events in process and no admin privilege with 10 lines of code (and ability to dynamically enable/disable events)
    April 8th, 2019
    I’ve been talking about doing managed heap performance analysis with ETW events for ages because ETW is just such a powerful tool. It has a well defined format so many components, from kernel modes to user mode ones, all emit ETW events which means you can have tools that just know how to parse the event format and correlate them. At ...

    Comments are closed.0Dot.Net
    Making CPU configuration better for GC on machines with > 64 CPUs
    Making CPU configuration better for GC on machines with > 64 CPUs
    April 3rd, 2019
    If you are running Windows on a machine with > 64 CPUs, you’ll need to use this feature called the CPU groups for your process to be able to use more than 64 CPUs. At some point in the far distant past, people thought having more than 64 processors on a machine was inconceivable so they used a 64-bit number for the processor mask. And when ...

    Comments are closed.0Performance
    Running with Server GC in a Small Container Scenario Part 1 – Hard Limit for the GC Heap
    Running with Server GC in a Small Container Scenario Part 1 – Hard Limit for the GC Heap
    February 4th, 2019
    I’ve checked in 2 configs related to specifying a hard limit for the GC heap memory usage so I wanted to describe them and how they are intended to be used. Feedback would be greatly appreciated. In order to talk about the new configs it’s important to understand what consists of the memory usage in a process. When it comes to memory the ...

    2Dot.Net
    Running with Server GC in a Small Container Scenario Part 0
    Running with Server GC in a Small Container Scenario Part 0
    November 16th, 2018
    This week I was able to get some time to work on the container stuff with low memory limits. As many of you have expressed your dissatisfaction on how Server GC behaves with low memory limit specified on containers on github, I have to apologize that I am just doing this now. Really sorry that some of you guys have to suffer through this thus ...

    Comments are closed.0Dot.Net
    You Should Never See This Callstack in Production
    You Should Never See This Callstack in Production
    October 9th, 2018
    A customer who just experienced some server outage asked us for help as they thought it was due to some very long GC pauses. I thought this diagnostics exercise might be useful for other folks as well so I am sharing it with you. We had them collect a GCCollectOnly trace which showed there were some very long induced gen2 blocking GCs. And ...

    Comments are closed.0Performance
    Middle Ground between Server and Workstation GC
    Middle Ground between Server and Workstation GC
    October 2nd, 2018
    A long time ago I wrote about using Workstation GC on server applications when you have many instances of your server app running on the same machine. By default Server GC will treat the process as owning the machine so it uses all CPUs to do the GC work. More and more folks find themselves in a situation where they might have a few active ...

    Comments are closed.0Performance
    Get This Fantastic Book about .NET Memory Management!
    Get This Fantastic Book about .NET Memory Management!
    September 17th, 2018
    If you are reading my blog chances are you care about .NET memory performance, most likely a lot. Our GC source is on github for anyone to look at. If you are curious enough, you could absolutely learn a lot about our GC by cloning our coreclr repo, building it, and stepping through the GC code under a debugger (that's how I really learned ...

    Comments are closed.0Dot.Net
    • Previous page
    • Page 1
    • Page 2
    • Page 3
    • Page 4
    • …
    • Page 8
    • Next page
    Relevant Links

    .NET Download

    .NET Hello World

    .NET Meetup Events

    .NET Documentation

    .NET API Browser

    .NET SDKs

    .NET Application Architecture Guides

    Web apps with ASP.NET Core

    Mobile apps with Xamarin.Forms

    Microservices with Docker Containers

    Modernizing existing .NET apps to the cloud

    Archive
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • October 2011
  • September 2011
  • June 2011
  • April 2011
  • November 2010
  • September 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • November 2008
  • May 2007
  • March 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • June 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • October 2005
  • July 2005
  • May 2005
  • December 2004
  • November 2004
  • September 2004
  • June 2004
  • Topics
  • Dot.Net
  • .NET
  • .NET Core
  • .NET Framework
  • Entity Framework
  • C#
  • ML.NET
  • WPF
  • ASP.NET
  • Visual Studio
  • Performance
  • F#
  • Machine Learning
  • AI Machine Learning
  • Security
  • WinForms
  • Game Development
  • Azure
  • .NET Internals
  • Docker
  • Maoni
  • Async
  • Concurrency
  • TPL
  • Debugging
  • Apache
  • GC
  • Big Data
  • Spark for .NET
  • Lifecycle
  • Stay informed

    Login
    Code Block
    What's new
    • Surface Duo
    • Surface Laptop Go
    • Surface Pro X
    • Surface Go 2
    • Surface Book 3
    • Microsoft 365
    • Windows 10 apps
    • HoloLens 2
    Microsoft Store
    • Account profile
    • Download Center
    • Microsoft Store support
    • Returns
    • Order tracking
    • Virtual workshops and training
    • Microsoft Store Promise
    • Financing
    Education
    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education
    Enterprise
    • Azure
    • AppSource
    • Automotive
    • Government
    • Healthcare
    • Manufacturing
    • Financial services
    • Retail
    Developer
    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Center
    • Microsoft developer program
    • Channel 9
    • Microsoft 365 Dev Center
    • Microsoft 365 Developer Program
    • Microsoft Garage
    Company
    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact Microsoft
    • Privacy
    • Manage cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2021