Dave
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
Austin is running the tests in a shell loop on his workstation (instead of -test.count), at tip, and not seeing anything like 10% variance either.
Is your Raspberry Pi quiescent when running those benchmarks? I have found that linux-arm shows far less variance than you are seeing. (In fact, it shows far less variance than any other platform I've tested - virtual or physical.)If you tell me what commits you used for your uploaded results, I can run them on the same hardware.
--QuentinOn Apr 2, 2017 23:41, "Dave Cheney" <da...@cheney.net> wrote:Hello,
I'm concerned that the go1 benchmarks have a large amount of variation
between runs. I'm used to the variance being in the range of +/- 1-3%,
but the numbers comparing go 1.8 to tip show variances in the range of
+/- 10-15% on amd64 and larger on arm (see below)
linux/amd64 https://perf.golang.org/search?q=upload:20170403.4
linux/arm (raspberry pi 3) https://perf.golang.org/search?q=upload:20170403.5
Questions:
1. is this something I should be worried about?
2. is anyone else worried about this?
Thanks
Dave
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
On Sun, Apr 2, 2017 at 11:41 PM, Dave Cheney <da...@cheney.net> wrote:Hello,
I'm concerned that the go1 benchmarks have a large amount of variation
between runs. I'm used to the variance being in the range of +/- 1-3%,
but the numbers comparing go 1.8 to tip show variances in the range of
+/- 10-15% on amd64 and larger on arm (see below)
linux/amd64 https://perf.golang.org/search?q=upload:20170403.4
linux/arm (raspberry pi 3) https://perf.golang.org/search?q=upload:20170403.5
Questions:
1. is this something I should be worried about?
2. is anyone else worried about this?Yes, absolutely, those benchmark results are no good. As Keith said, you have to get down to lower variances before any of the data becomes meaningful.However, I regularly see results with significantly lower variance than the ones you posted, especially on linux/amd64. Is the machine running something else too?
Is CPU frequency scaling or governing on? From the data files you uploaded it looks like you ran the tests 20X in a shell loop. Another thing to try is to use -test.count=20 instead, but I would not expect the variances you are seeing in either mode.
If the linux/amd64 machine is quiet and you still can't get low variance, another thing to try is to run the benchmarks under https://github.com/aclements/perflock. The main thing perflock does is make sure that multiple programs run under perflock run separately, not simultaneously (like a real lock). But a secondary thing it does is change the CPU governing and frequency scaling settings to try to make the machine behave more consistently.
I just ran these on my Linux workstation, using go1.8, and I got more like <1% variance:./go1.test -test.count=20 -test.run=XXX -test.bench=.perflock ./go1.test -test.count=20 -test.run=XXX -test.bench=.
https://perf.golang.org/search?q=upload:20170403.8Austin is running the tests in a shell loop on his workstation (instead of -test.count), at tip, and not seeing anything like 10% variance either.
Russ
However, I regularly see results with significantly lower variance than the ones you posted, especially on linux/amd64. Is the machine running something else too?Nope, I reboot it and access it remotely before running benchmarks.This is the same machine as I've been using for years to run benchmarks, a sandy bridge x220 thinkpad
Thanks Russ, I'll keep trying to diagnose the volatility on my systems.
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
Sadly no, thermald was only an issue for my Linux/amd64 system running Ubuntu 16.04.
I'm still looking for the root cause on the rpi3 (playing with the cpufreq governor has so far not paid off)
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.