You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was benchmarking TLS handshaking with http://play.golang.org/p/WZlt7mI4WN , I
noticed that using GOMAXPROCS > 1 does make my program significantly slower (1.5x ~
2x). And I found the reason to be CPU frequency scaling, because no threads run hot
enough to stimulate CPU cores.
May be worth mention that in the FAQ.
The text was updated successfully, but these errors were encountered:
Frequency scaling (if it was your problem) would also affect the GOMAXPROCS == 1 case,
so it doesn't seem worth mentioning there in the FAQ. It's also possibly misleading.
mikioh
changed the title
faq: mention cpu frequency scaling in "why does using GOMAXPROCS > 1 sometimes make my program slower?"
crypto/tls: mention cpu frequency scaling in "why does using GOMAXPROCS > 1 sometimes make my program slower?"
Jan 15, 2015
by giantchen:
The text was updated successfully, but these errors were encountered: