-
Notifications
You must be signed in to change notification settings - Fork 18.1k
test: spectralnorm takes 20+ minutes on linux-arm-arm5 #12688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Oh, and another point: 20 minutes is the new max timeout that the coordinator permits for any particular dist test. It can be configured per (builder, test) tuple, though, if we need to. But please let me know whether this is expected first. |
This is because spec norm uses lots of floating point ops. I'll try to disabled it in ./timing.sh On Sat, Sep 19, 2015 at 12:36 PM, Brad Fitzpatrick <[email protected]
|
or we can reduce the N for arm in timing.sh.
|
Why did this only recently become a problem? The timeout used to be only 10 minutes. I raised it to 20 minutes and sharded the shootout tests and only then started seeing it. Maybe I wasn't looking before? Or was the GOARM detection just broken before and we weren't making GOARM=5 binaries previously? |
Likely the latter. On Sat, Sep 19, 2015 at 1:04 PM, Brad Fitzpatrick [email protected]
|
Or perhaps more correctly, overriding GOARM detection was broken til On Sat, Sep 19, 2015 at 1:09 PM, Dave Cheney [email protected] wrote:
|
I think before we always use GOARM=7 (probably another reason is we used to
not run the shoutout test or didn't run on GOARM=5 builder.)
I cannot see any recent change that could cause huge performance regression
on arm.
|
No, we always did. It wasn't special until just the other day when I experimentally disabled it. |
OK, I will do some bisect to see if we really have a FP performance
regression.
|
A bisection would be great. It's probably more likely a GOARM detection bug, but knowing that too would be interesting. |
I don't think there is a performance regression. Previously the trybots On Sat, Sep 19, 2015 at 1:19 PM, Brad Fitzpatrick [email protected]
|
(Nit: linux-arm-arm5 was never a trybot) Which CL changed this test to use GOARM=5 by using a different |
Previously go tool dist env returns GOARM=7, afterwards it returned GOARM=5 On Sat, Sep 19, 2015 at 1:29 PM, Brad Fitzpatrick [email protected]
|
Temporary fix to get the arm5 builder happy again. Without hardware floating point, this test takes over 20 minutes to run. A proper solution would probably be to run all the benchmark tests, but with a much lower iteration count, just to exercise the code. Updates #12688 Change-Id: Ie56c93d3bf2a5a693a33217ba1b1df3c6c856442 Reviewed-on: https://go-review.googlesource.com/14775 Reviewed-by: Dave Cheney <[email protected]> Reviewed-by: Minux Ma <[email protected]>
This test takes more than 33 minutes on the FPU less mips64 builder,
could we skip it there too?
|
SGTM. I'm sorry, I don't remover the specifics of how we did this for arm5.
|
CL https://golang.org/cl/16922 mentions this issue. |
It is too slow with kernel FPU emulator. Updates #12688. Change-Id: Ib3a5adfeb46e894550231b14eb0f4fb20aecee11 Reviewed-on: https://go-review.googlesource.com/16922 Reviewed-by: Brad Fitzpatrick <[email protected]>
The tests are disabled now. That sounds fixed to me. (Software floating point is slow.) |
We don't use these for benchmarking anymore. Now we have the go1 dir and the benchmarks subrepo. Some have problematic copyright notices, so move out of main repo. Preserved in golang.org/x/exp/shootout. Fixes #12688. Fixes #13584. Change-Id: Ic0b71191ca1a286d33d7813aca94bab1617a1c82 Reviewed-on: https://go-review.googlesource.com/18320 Reviewed-by: Ian Lance Taylor <[email protected]>
I notice that the shootout test "spectralnorm" runs for over 20 minutes on linux-arm-arm5
I logged in to one of the machines and indeed, it's working hard, spinning away.
Some looking around...
@davecheney, can you investigate?
Should I disable these tests on that builder?
/cc @minux @adg
The text was updated successfully, but these errors were encountered: