Russ Cox
Russ Cox
Feb 23, 2017 · 1 min read

I don’t have a specific bug to link to. We’ve worked quite a bit during Go 1.7 and Go 1.8 to improve how much CPU your program gets during GC. There’s really no excuse for using only one CPU as in the original plot, but as long as Go 1.8 is working for you I won’t worry too much about what Go 1.6 was doing wrong. We’ve made a lot of adjustments along those lines.

My main point was only that raising GOGC was essentially working around this CPU usage bug by making the pauses happen 5X less often. If the CPU usage bug is gone, raising GOGC shouldn’t be as important anymore.

    Russ Cox

    Written by

    Russ Cox

    Hacker.

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade