News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Testing Code Align64

Started by Siekmanski, April 11, 2017, 11:21:44 AM

Previous topic - Next topic

habran

Align64 speed test by Siekmanski.

ProgramEntry: 00401050
BufferStart:  00260000
CodeAlign64 test:   00

Timing starts now:

266 Cycles for Test_Align4
274 Cycles for Test_Align16
403 Cycles for Test_Align64

Press any key to continue...


My laptop:


Number of cores   4 (max 8)                                                                       
Number of threads   8 (max 16)                                                                     
Name   Intel Core i7 4700MQ                                                           
Codename   Haswell                                                                         
Specification   Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz                                       
Instructions sets   MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, VT-x, AES, AVX, AVX2, FMA3 
L1 Data cache   4 x 32 KBytes, 8-way set associative, 64-byte line size                         
L1 Instruction cache      4 x 32 KBytes, 8-way set associative, 64-byte line size                     
L2 cache   4 x 256 KBytes, 8-way set associative, 64-byte line size                       
L3 cache   6 MBytes, 12-way set associative, 64-byte line size                             
FID/VID Control   yes                                                                             
Turbo Mode   supported, enabled

Cod-Father

hutch--

Here is the result on my old i7.

Align64 speed test by Siekmanski.

ProgramEntry: 00401050
BufferStart:  00230000
CodeAlign64 test:   00

Timing starts now:

386 Cycles for Test_Align4
379 Cycles for Test_Align16
351 Cycles for Test_Align64

Press any key to continue...

Siekmanski

Thanks guys,

Habran, the results on your laptop are from fast to slow ?

Results on my i7 are almost the same as the i7 from Hutch.  :biggrin:

Align64 speed test by Siekmanski.

ProgramEntry: 00401050
BufferStart:  00230000
CodeAlign64 test:   00

Timing starts now:

397 Cycles for Test_Align4
386 Cycles for Test_Align16
366 Cycles for Test_Align64


Creative coders use backward thinking techniques as a strategy.

habran

Cod-Father

mineiro

$wine Align64SpeedTest.exe
Align64 speed test by Siekmanski.

ProgramEntry: 00401050
BufferStart:  00340000
CodeAlign64 test:   00

Timing starts now:

941 Cycles for Test_Align4
791 Cycles for Test_Align16
521 Cycles for Test_Align64

Press any key to continue...

$cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Pentium(R) Dual  CPU  E2160  @ 1.80GHz
stepping        : 11
microcode       : 0xba
cpu MHz         : 1200.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm
bogomips        : 3599.77
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
...

$lscpu
Arquitetura:           x86_64
Modo(s) operacional da CPU:32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per núcleo  1
Núcleo(s) por soquete:2
Soquete(s):            1
Nó(s) de NUMA:        1
ID de fornecedor:      GenuineIntel
Família da CPU:       6
Modelo:                15
Step:                  11
CPU MHz:               1800.000
BogoMIPS:              3599.77
cache de L1d:          32K
cache de L1i:          32K
cache de L2:           1024K
NUMA node0 CPU(s):     0,1


I'd rather be this ambulant metamorphosis than to have that old opinion about everything

habran

This one looks better :P
Align64 speed test by Siekmanski.

ProgramEntry: 00401050
BufferStart:  00230000
CodeAlign64 test:   00

Timing starts now:

435 Cycles for Test_Align4
219 Cycles for Test_Align16
213 Cycles for Test_Align64

Press any key to continue...
Cod-Father

Siekmanski

mineiro,
Wow, that's a big gain running it on Wine.
Creative coders use backward thinking techniques as a strategy.

mineiro

hello sir Siekmanski;
from my tests wine results are the same as if I test on win32 XP SP3.
At least with these bench algos on masm32 board that is crafted to do just this.
I'd rather be this ambulant metamorphosis than to have that old opinion about everything