Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gslin@GSLINHOME18 [~] [10:09/W1] mbw 10240
Long uses 8 bytes. Allocating 2*1342177280 elements = 21474836480 bytes of memory.
Using 262144 bytes as blocks for memcpy block copy test.
Getting down to business... Doing 10 runs per test.
0 Method: MEMCPY Elapsed: 1.00956 MiB: 10240.00000 Copy: 10143.063 MiB/s
1 Method: MEMCPY Elapsed: 0.99925 MiB: 10240.00000 Copy: 10247.717 MiB/s
2 Method: MEMCPY Elapsed: 1.00418 MiB: 10240.00000 Copy: 10197.365 MiB/s
3 Method: MEMCPY Elapsed: 1.00842 MiB: 10240.00000 Copy: 10154.489 MiB/s
4 Method: MEMCPY Elapsed: 1.02101 MiB: 10240.00000 Copy: 10029.285 MiB/s
5 Method: MEMCPY Elapsed: 1.00447 MiB: 10240.00000 Copy: 10194.421 MiB/s
6 Method: MEMCPY Elapsed: 1.00589 MiB: 10240.00000 Copy: 10179.999 MiB/s
7 Method: MEMCPY Elapsed: 1.00286 MiB: 10240.00000 Copy: 10210.787 MiB/s
8 Method: MEMCPY Elapsed: 1.00656 MiB: 10240.00000 Copy: 10173.243 MiB/s
9 Method: MEMCPY Elapsed: 1.00951 MiB: 10240.00000 Copy: 10143.515 MiB/s
AVG Method: MEMCPY Elapsed: 1.00717 MiB: 10240.00000 Copy: 10167.086 MiB/s
0 Method: DUMB Elapsed: 0.54591 MiB: 10240.00000 Copy: 18757.636 MiB/s
1 Method: DUMB Elapsed: 0.56387 MiB: 10240.00000 Copy: 18160.246 MiB/s
2 Method: DUMB Elapsed: 0.55467 MiB: 10240.00000 Copy: 18461.561 MiB/s
3 Method: DUMB Elapsed: 0.56662 MiB: 10240.00000 Copy: 18071.949 MiB/s
4 Method: DUMB Elapsed: 0.56806 MiB: 10240.00000 Copy: 18026.201 MiB/s
5 Method: DUMB Elapsed: 0.55615 MiB: 10240.00000 Copy: 18412.266 MiB/s
6 Method: DUMB Elapsed: 0.56664 MiB: 10240.00000 Copy: 18071.566 MiB/s
7 Method: DUMB Elapsed: 0.55718 MiB: 10240.00000 Copy: 18378.163 MiB/s
8 Method: DUMB Elapsed: 0.56649 MiB: 10240.00000 Copy: 18076.192 MiB/s
9 Method: DUMB Elapsed: 0.55459 MiB: 10240.00000 Copy: 18463.957 MiB/s
AVG Method: DUMB Elapsed: 0.56002 MiB: 10240.00000 Copy: 18285.104 MiB/s
0 Method: MCBLOCK Elapsed: 0.69178 MiB: 10240.00000 Copy: 14802.308 MiB/s
1 Method: MCBLOCK Elapsed: 0.69632 MiB: 10240.00000 Copy: 14705.798 MiB/s
2 Method: MCBLOCK Elapsed: 0.69266 MiB: 10240.00000 Copy: 14783.588 MiB/s
3 Method: MCBLOCK Elapsed: 0.71004 MiB: 10240.00000 Copy: 14421.804 MiB/s
4 Method: MCBLOCK Elapsed: 0.70254 MiB: 10240.00000 Copy: 14575.620 MiB/s
5 Method: MCBLOCK Elapsed: 0.69899 MiB: 10240.00000 Copy: 14649.625 MiB/s
6 Method: MCBLOCK Elapsed: 0.68821 MiB: 10240.00000 Copy: 14879.201 MiB/s
7 Method: MCBLOCK Elapsed: 0.69710 MiB: 10240.00000 Copy: 14689.449 MiB/s
8 Method: MCBLOCK Elapsed: 0.69995 MiB: 10240.00000 Copy: 14629.533 MiB/s
9 Method: MCBLOCK Elapsed: 0.68651 MiB: 10240.00000 Copy: 14915.916 MiB/s
AVG Method: MCBLOCK Elapsed: 0.69641 MiB: 10240.00000 Copy: 14703.944 MiB/s
gslin@GSLINHOME18 [~] [10:30] mbw 10240
Long uses 8 bytes. Allocating 2*1342177280 elements = 21474836480 bytes of memory.
Using 262144 bytes as blocks for memcpy block copy test.
Getting down to business... Doing 10 runs per test.
0 Method: MEMCPY Elapsed: 0.99722 MiB: 10240.00000 Copy: 10268.526 MiB/s
1 Method: MEMCPY Elapsed: 1.00248 MiB: 10240.00000 Copy: 10214.719 MiB/s
2 Method: MEMCPY Elapsed: 0.96652 MiB: 10240.00000 Copy: 10594.733 MiB/s
3 Method: MEMCPY Elapsed: 0.97133 MiB: 10240.00000 Copy: 10542.192 MiB/s
4 Method: MEMCPY Elapsed: 0.96090 MiB: 10240.00000 Copy: 10656.698 MiB/s
5 Method: MEMCPY Elapsed: 0.95717 MiB: 10240.00000 Copy: 10698.148 MiB/s
6 Method: MEMCPY Elapsed: 0.95530 MiB: 10240.00000 Copy: 10719.168 MiB/s
7 Method: MEMCPY Elapsed: 0.95573 MiB: 10240.00000 Copy: 10714.323 MiB/s
8 Method: MEMCPY Elapsed: 0.95480 MiB: 10240.00000 Copy: 10724.804 MiB/s
9 Method: MEMCPY Elapsed: 0.95538 MiB: 10240.00000 Copy: 10718.248 MiB/s
AVG Method: MEMCPY Elapsed: 0.96768 MiB: 10240.00000 Copy: 10581.981 MiB/s
0 Method: DUMB Elapsed: 0.54097 MiB: 10240.00000 Copy: 18929.031 MiB/s
1 Method: DUMB Elapsed: 0.54101 MiB: 10240.00000 Copy: 18927.561 MiB/s
2 Method: DUMB Elapsed: 0.54165 MiB: 10240.00000 Copy: 18905.057 MiB/s
3 Method: DUMB Elapsed: 0.54240 MiB: 10240.00000 Copy: 18879.160 MiB/s
4 Method: DUMB Elapsed: 0.54193 MiB: 10240.00000 Copy: 18895.290 MiB/s
5 Method: DUMB Elapsed: 0.54195 MiB: 10240.00000 Copy: 18894.871 MiB/s
6 Method: DUMB Elapsed: 0.54141 MiB: 10240.00000 Copy: 18913.612 MiB/s
7 Method: DUMB Elapsed: 0.54244 MiB: 10240.00000 Copy: 18877.525 MiB/s
8 Method: DUMB Elapsed: 0.54152 MiB: 10240.00000 Copy: 18909.875 MiB/s
9 Method: DUMB Elapsed: 0.54199 MiB: 10240.00000 Copy: 18893.303 MiB/s
AVG Method: DUMB Elapsed: 0.54173 MiB: 10240.00000 Copy: 18902.513 MiB/s
0 Method: MCBLOCK Elapsed: 0.65687 MiB: 10240.00000 Copy: 15589.010 MiB/s
1 Method: MCBLOCK Elapsed: 0.65477 MiB: 10240.00000 Copy: 15639.055 MiB/s
2 Method: MCBLOCK Elapsed: 0.65507 MiB: 10240.00000 Copy: 15631.917 MiB/s
3 Method: MCBLOCK Elapsed: 0.65554 MiB: 10240.00000 Copy: 15620.686 MiB/s
4 Method: MCBLOCK Elapsed: 0.65483 MiB: 10240.00000 Copy: 15637.551 MiB/s
5 Method: MCBLOCK Elapsed: 0.65982 MiB: 10240.00000 Copy: 15519.455 MiB/s
6 Method: MCBLOCK Elapsed: 0.65936 MiB: 10240.00000 Copy: 15530.282 MiB/s
7 Method: MCBLOCK Elapsed: 0.65907 MiB: 10240.00000 Copy: 15536.997 MiB/s
8 Method: MCBLOCK Elapsed: 0.65927 MiB: 10240.00000 Copy: 15532.402 MiB/s
9 Method: MCBLOCK Elapsed: 0.65916 MiB: 10240.00000 Copy: 15534.900 MiB/s
AVG Method: MCBLOCK Elapsed: 0.65738 MiB: 10240.00000 Copy: 15577.075 MiB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment