I wrote:

> I tried this test on a newer CPU, and 0003 had no regression. Both
> systems used gcc 11.2. Rather than try to figure out why an experiment
> had unexpected behavior, I plan to test 0001 and 0002 on a couple
> different compilers/architectures and call it a day. It's also worth
> noting that 0002 by itself seemed to be decently faster on the newer
> machine, but not as fast as 0001 and 0002 together.

I tested four machines with various combinations of patches, and it
seems the only thing they all agree on is that 0002 is a decent
improvement (full results attached). The others can be faster or
slower. 0002 also simplifies things, so it has that going for it. I
plan to commit that this week unless there are objections.
-- 
John Naylor
EDB: http://www.enterprisedb.com
haswell xeon / gcc 8

master:
Time: 608.047 ms
Time: 2859.939 ms (00:02.860)
Time: 2255.402 ms (00:02.255)

0001 only:
Time: 603.026 ms
Time: 3077.163 ms (00:03.077)
Time: 2377.189 ms (00:02.377)

0002 only:
Time: 615.444 ms
Time: 2388.939 ms (00:02.389)
Time: 2227.665 ms (00:02.228)

0001-0002:
Time: 608.757 ms
Time: 2746.711 ms (00:02.747)
Time: 2156.545 ms (00:02.157)

0001-0003:
Time: 609.236 ms
Time: 1466.130 ms (00:01.466)
Time: 1353.658 ms (00:01.354)


power8 / gcc 4.8

master:
Time: 559.375 ms
Time: 7336.079 ms (00:07.336)
Time: 5049.222 ms (00:05.049)

0001 only:
Time: 559.466 ms
Time: 7272.719 ms (00:07.273)
Time: 4878.817 ms (00:04.879)

0002 only:
Time: 555.255 ms
Time: 6061.435 ms (00:06.061)
Time: 4440.829 ms (00:04.441)

0001-0002:
Time: 555.144 ms
Time: 5378.270 ms (00:05.378)
Time: 5745.331 ms (00:05.745)

0001-0003:
Time: 554.707 ms
Time: 2189.187 ms (00:02.189)
Time: 2193.870 ms (00:02.194)


comet lake / gcc 11

master:
Time: 383.196 ms
Time: 2323.875 ms (00:02.324)
Time: 1866.594 ms (00:01.867)

0001 only:
Time: 379.193 ms
Time: 2046.540 ms (00:02.047)
Time: 1720.601 ms (00:01.721)

0002 only:
Time: 374.072 ms
Time: 1769.163 ms (00:01.769)
Time: 1485.612 ms (00:01.486)

0001-0002:
Time: 374.454 ms
Time: 1208.933 ms (00:01.209)
Time: 1018.236 ms (00:01.018)

0001-0003:
Time: 376.698 ms
Time: 1278.807 ms (00:01.279)
Time: 1177.005 ms (00:01.177)


3-year old core i5 / gcc 11

master:
Time: 378.955 ms
Time: 2329.763 ms (00:02.330)
Time: 1891.931 ms (00:01.892)

0001 only:
Time: 384.547 ms
Time: 2342.837 ms (00:02.343)
Time: 1906.436 ms (00:01.906)

0002 only:
Time: 379.096 ms
Time: 2051.755 ms (00:02.052)
Time: 1641.376 ms (00:01.641)

0001-0002:
Time: 377.758 ms
Time: 1293.624 ms (00:01.294)
Time: 1096.991 ms (00:01.097)

0001-0003:
Time: 377.767 ms
Time: 2052.826 ms (00:02.053)
Time: 1329.185 ms (00:01.329)

Reply via email to