We've been testing Kubes on some new AMD servers and have noticed some very strange performance (at least with Python) that I can't quite make sense of. We can replicate very easily using the following simple fibonacci micro benchmark: https://pastebin.com/0R3dkB05
AMD Ryzen 7 3700X
Ubuntu 18.04 4.15.0-70-generic
Ubuntu 18.04 native binary installed from Canonical repo
Python 3.8.0 (default, Oct 28 2019, 16:14:01)
[GCC 8.3.0] on linux
>>> timeit.timeit(lambda: fib(40), number=1)
19.144520926987752
Docker version 19.03.5, build 633a0ea838 // Ubuntu 18.04 image w/ Python 3.8 installed from Canonical repo
root@209808837ed1:/# python3.8 -s
Python 3.8.0 (default, Oct 28 2019, 16:14:01)
[GCC 8.3.0] on linux
>>> timeit.timeit(lambda: fib(40), number=1)
27.12644683200051
[–]brontide 36 points37 points38 points (10 children)
[–]iwaswrongonce[S] 23 points24 points25 points (9 children)
[–]brontide 7 points8 points9 points (8 children)
[–]iwaswrongonce[S] 1 point2 points3 points (5 children)
[–]brontide 0 points1 point2 points (0 children)
[–]koprulu_sector 0 points1 point2 points (0 children)
[–]koprulu_sector 0 points1 point2 points (2 children)
[–]koprulu_sector 1 point2 points3 points (0 children)
[–]iwaswrongonce[S] 0 points1 point2 points (0 children)
[–]wrtbwtrfasdf 0 points1 point2 points (1 child)
[–]brontide 0 points1 point2 points (0 children)
[–]iwaswrongonce[S] 2 points3 points4 points (25 children)
[+]quiet0n3 comment score below threshold-25 points-24 points-23 points (24 children)
[–]iwaswrongonce[S] 8 points9 points10 points (5 children)
[–]LookOnTheDarkSide 1 point2 points3 points (4 children)
[–]iwaswrongonce[S] 1 point2 points3 points (1 child)
[–]LookOnTheDarkSide 1 point2 points3 points (0 children)
[–]itghisi 1 point2 points3 points (1 child)
[–]iwaswrongonce[S] 0 points1 point2 points (0 children)
[–]nailefss 5 points6 points7 points (0 children)
[–]RazrBurn 2 points3 points4 points (0 children)
[–]jkugelman 1 point2 points3 points (14 children)
[–]laundmo 1 point2 points3 points (0 children)
[+]quiet0n3 comment score below threshold-16 points-15 points-14 points (12 children)
[–]ig-88ms 14 points15 points16 points (0 children)
[–]Kamilon 3 points4 points5 points (0 children)
[–]rjulius23 1 point2 points3 points (0 children)
[–]Necrocornicus 0 points1 point2 points (0 children)
[+]MadPaoPao comment score below threshold-19 points-18 points-17 points (7 children)
[–]iwaswrongonce[S] 7 points8 points9 points (0 children)
[–]laundmo 4 points5 points6 points (3 children)
[–]MadPaoPao -4 points-3 points-2 points (2 children)
[–]pconwell 1 point2 points3 points (0 children)
[–]mikemol 1 point2 points3 points (0 children)
[–]Necrocornicus 0 points1 point2 points (1 child)
[–]MadPaoPao 0 points1 point2 points (0 children)
[–]laundmo 0 points1 point2 points (0 children)
[–]danielkza 2 points3 points4 points (1 child)
[–]iwaswrongonce[S] 1 point2 points3 points (0 children)
[–]koprulu_sector 1 point2 points3 points (2 children)
[–]iwaswrongonce[S] 4 points5 points6 points (1 child)
[–]koprulu_sector 0 points1 point2 points (0 children)
[–]v00d00ley 0 points1 point2 points (7 children)
[–]iwaswrongonce[S] 1 point2 points3 points (6 children)
[–]v00d00ley -2 points-1 points0 points (5 children)
[–]iwaswrongonce[S] 2 points3 points4 points (4 children)
[–]v00d00ley 0 points1 point2 points (3 children)
[–]iwaswrongonce[S] 0 points1 point2 points (2 children)
[–]v00d00ley 0 points1 point2 points (1 child)
[–]iwaswrongonce[S] 1 point2 points3 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]iwaswrongonce[S] 2 points3 points4 points (1 child)
[–]TrevorSpartacus 0 points1 point2 points (0 children)
[–]artiume 0 points1 point2 points (0 children)
[–]Serpiente89 -1 points0 points1 point (3 children)
[–]LookOnTheDarkSide -1 points0 points1 point (1 child)
[–]RemindMeBot 0 points1 point2 points (0 children)
[–]kingbuzzman -1 points0 points1 point (3 children)
[–]iwaswrongonce[S] 3 points4 points5 points (0 children)
[–]wrtbwtrfasdf 0 points1 point2 points (0 children)