Author Topic: Old benchmark on memory copy on different CPUs.  (Read 1158 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 7837
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Old benchmark on memory copy on different CPUs.
« on: December 13, 2019, 07:15:59 PM »
I wonder if I could impose on some members to test an old benchmark. I am doing comparison tests on the 3 computer I have running and the results are as follows.


    Core2 Quad 9650

  Warming up . . . .

  mcopy = 4539
  bcopy = 4633
  mcopy = 4556
  bcopy = 4618
  mcopy = 4539
  bcopy = 4586
  mcopy = 4555
  bcopy = 4711
  mcopy = 4525
  bcopy = 4618
  mcopy = 4524
  bcopy = 4696
  mcopy = 5257
  bcopy = 4602
  mcopy = 4555
  bcopy = 4603

  4631 mcopy average
  4633 bcopy average
Press any key to continue...

    i5 Haswell

  Warming up . . . .

  mcopy = 1279
  bcopy = 1138
  mcopy = 1217
  bcopy = 1139
  mcopy = 1248
  bcopy = 1123
  mcopy = 1279
  bcopy = 1124
  mcopy = 1279
  bcopy = 1123
  mcopy = 1248
  bcopy = 1124
  mcopy = 1217
  bcopy = 1138
  mcopy = 1264
  bcopy = 1139

  1253 mcopy average
  1131 bcopy average
Press any key to continue...

    i7 Haswell E/EP

  Warming up . . . .

  mcopy = 1375
  bcopy = 1359
  mcopy = 1407
  bcopy = 1390
  mcopy = 1406
  bcopy = 1391
  mcopy = 1547
  bcopy = 1375
  mcopy = 1437
  bcopy = 1453
  mcopy = 1422
  bcopy = 1391
  mcopy = 1407
  bcopy = 1297
  mcopy = 1422
  bcopy = 1360

  1427 mcopy average
  1377 bcopy average
Press any key to continue...
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

jj2007

  • Member
  • *****
  • Posts: 10920
  • Assembler is fun ;-)
    • MasmBasic
Re: Old benchmark on memory copy on different CPUs.
« Reply #1 on: December 13, 2019, 08:31:51 PM »
Core i5

Code: [Select]
  Warming up . . . .

  mcopy = 1981
  bcopy = 2153
  mcopy = 1950
  bcopy = 2106
  mcopy = 1934
  bcopy = 2106
  mcopy = 1982
  bcopy = 2106
  mcopy = 1950
  bcopy = 2091
  mcopy = 1950
  bcopy = 2106
  mcopy = 1950
  bcopy = 2090
  mcopy = 1934
  bcopy = 2090

  1953 mcopy average
  2106 bcopy average

mineiro

  • Member
  • ****
  • Posts: 690
Re: Old benchmark on memory copy on different CPUs.
« Reply #2 on: December 13, 2019, 10:33:26 PM »
Code: [Select]
lscpu
Arquitetura:           x86_64
Modo(s) operacional da CPU:32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per núcleo  2
Núcleo(s) por soquete:4
Soquete(s):            1
Nó(s) de NUMA:        1
ID de fornecedor:      GenuineIntel
Família da CPU:       6
Modelo:                94
Step:                  3
CPU MHz:               800.000
BogoMIPS:              6816.06
Virtualização:       VT-x
cache de L1d:          32K
cache de L1i:          32K
cache de L2:           256K
cache de L3:           8192K
NUMA node0 CPU(s):     0-7

Code: [Select]
  Warming up . . . .

  mcopy = 999
  bcopy = 1018
  mcopy = 1009
  bcopy = 1023
  mcopy = 1036
  bcopy = 1001
  mcopy = 1005
  bcopy = 1000
  mcopy = 994
  bcopy = 1019
  mcopy = 963
  bcopy = 1013
  mcopy = 1031
  bcopy = 1021
  mcopy = 986
  bcopy = 1023

  1002 mcopy average
  1014 bcopy average
Press any key to continue...
I'd rather be this ambulant metamorphosis than to have that old opinion about everything

Siekmanski

  • Member
  • *****
  • Posts: 2453
Re: Old benchmark on memory copy on different CPUs.
« Reply #3 on: December 13, 2019, 10:58:34 PM »
 i7-4930K

Code: [Select]
  Warming up . . . .

  mcopy = 1718
  bcopy = 1719
  mcopy = 1750
  bcopy = 1750
  mcopy = 1750
  bcopy = 1734
  mcopy = 1734
  bcopy = 1718
  mcopy = 1703
  bcopy = 1719
  mcopy = 1719
  bcopy = 1719
  mcopy = 1734
  bcopy = 1734
  mcopy = 1688
  bcopy = 1734

  1724 mcopy average
  1728 bcopy average
Press any key to continue...
Creative coders use backward thinking techniques as a strategy.

LiaoMi

  • Member
  • ****
  • Posts: 713
Re: Old benchmark on memory copy on different CPUs.
« Reply #4 on: December 14, 2019, 02:23:06 AM »
i7-4810mq

Code: [Select]
  Warming up . . . .

  mcopy = 1125
  bcopy = 1047
  mcopy = 1094
  bcopy = 1031
  mcopy = 1094
  bcopy = 1016
  mcopy = 1110
  bcopy = 1031
  mcopy = 1125
  bcopy = 1032
  mcopy = 1110
  bcopy = 1094
  mcopy = 1093
  bcopy = 1094
  mcopy = 1140
  bcopy = 1062

  1111 mcopy average
  1050 bcopy average
Press any key to continue...

Biterider

  • Member
  • ****
  • Posts: 575
  • ObjAsm Developer
    • ObjAsm
Re: Old benchmark on memory copy on different CPUs.
« Reply #5 on: December 14, 2019, 03:02:41 AM »

Hi
Intel Core i7 4770K
Quote
  Warming up . . . .


  mcopy = 1390
  bcopy = 1203
  mcopy = 1359
  bcopy = 1187
  mcopy = 1343
  bcopy = 1187
  mcopy = 1344
  bcopy = 1250
  mcopy = 1454
  bcopy = 1188
  mcopy = 1375
  bcopy = 1187
  mcopy = 1343
  bcopy = 1172
  mcopy = 1344
  bcopy = 1172


  1369 mcopy average
  1193 bcopy average
Press any key to continue...
Biterider

jimg

  • Member
  • ***
  • Posts: 463
Re: Old benchmark on memory copy on different CPUs.
« Reply #6 on: December 14, 2019, 03:50:21 AM »
Code: [Select]
R:\masm forum tests\mcopy2>idc
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
GenuineIntel  Family 6  Model 19  Stepping 3
Intel Brand String: NA, processor is Pentium III
Features: FPU TSC CX8 CMOV CLFSH FXSR HTT MMX SSE SSE2 SSE3

R:\masm forum tests\mcopy2>mcopy2
  Warming up . . . .

  mcopy = 891
  bcopy = 875
  mcopy = 875
  bcopy = 906
  mcopy = 875
  bcopy = 859
  mcopy = 875
  bcopy = 860
  mcopy = 859
  bcopy = 891
  mcopy = 859
  bcopy = 859
  mcopy = 860
  bcopy = 859
  mcopy = 860
  bcopy = 859

  869 mcopy average
  871 bcopy average
Press any key to continue...

Caché GB

  • Member
  • **
  • Posts: 99
  • MASM IS HOT
Re: Old benchmark on memory copy on different CPUs.
« Reply #7 on: December 14, 2019, 06:09:58 AM »
Intel Core i7-8750H @ 2.20GHz

Code: [Select]
  Warming up . . . .

  mcopy = 1812
  bcopy = 1828
  mcopy = 1875
  bcopy = 1766
  mcopy = 1813
  bcopy = 1844
  mcopy = 1782
  bcopy = 1844
  mcopy = 1813
  bcopy = 1844
  mcopy = 1906
  bcopy = 1875
  mcopy = 1828
  bcopy = 1829
  mcopy = 1906
  bcopy = 1781

  1841 mcopy average
  1826 bcopy average
Press any key to continue...
Caché GB's 1 and 0-nly language:MASM

TimoVJL

  • Member
  • ****
  • Posts: 597
Re: Old benchmark on memory copy on different CPUs.
« Reply #8 on: December 14, 2019, 06:48:47 PM »
AMD Ryzen 5 3400G
Code: [Select]
  1363 mcopy average
  1357 bcopy average
Press any key to continue...
May the source be with you

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 7837
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Old benchmark on memory copy on different CPUs.
« Reply #9 on: December 15, 2019, 12:10:13 PM »
Thanks everyone for the tests, it helps in understanding how any specific processor fits into the scheme of things. The i5 Haswell I have been testing seems to perform much like the i7 Haswell I have been using for the last few years, identical instruction sets and close enough to the same clock speed and the few benchmarks I can find produce much the same results. About the only difference is the i5 only has 4 cores and no hyper threading.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy: