Need suggestions for testing memory speed in Linux

I recently put a new system together based on the A12 apu and I am going to start playing with memory overclocking as the memory speed has a huge impact on an APU performance. My problem is that memory over clocking on these CPUs are not that straight forward. In UEFI, it can only go up as high as 2400, so the actual overclocking should happen through playing with CAS and other underlying values, and I need to be able to benchmark these different configuration to be able to measure the effectiveness of them. I have searched on line and so far these are what I have found:

  • memtest(+) checks for integrity, not usedful in this context
  • dmidecode just report the values that UEFI is reporting and, due to what I explained above, is not that useful
  • RAMspeed ( from alasir ) is a candidate, but it needs to be compiled, so if anybody is aware of a howto guide for that please let me know.
  • STREAM is another candidate, but same as RAMspeed needs to be compiled and is even potentially more complicated as it needs openMP, so again, if you know of a guide, let me know
  • and last but not least, is using dd to read and write to tmpfs which probably would end up being the best way to go about this

So if you know of any other software or methodology that would accomplish this goal, or have any feed back on this topic, what so ever, please let me know.

http://www.alasir.com/software/ramspeed/ramsmp-3.5.0.tar.gz

Download this tarball, extract it, run ./build.sh, then you’ve got a binary ./ramsmp in the build directory.

Make sure you’ve got your build tools for your distro installed. (build-essential for Ubuntu/debian/mint)

1 Like

Thanks @SgtAwesomesauce. My worry about building RAMspeed was mostly due to that fact that code was released almost 9 years ago and I was wondering if I have to update the build script in terms of compiler configuration to account for any changes or improvement in both gcc and/or cpu architectures. would it be fair to assume that you are saying that the build script, as it is, is still good enough?

I just tried it and it worked just fine. Not sure how accurate my results were though. I can’t imagine you’d need to change it. That’s the beauty of C. It doesn’t really change.

Thanks, that is good to know.

I just ran it myself and except for test 1 and 2, I am getting seg fault for all the other tests.

Oh, I don’t have that problem. :confused:

System specs: i7-2600k, 32GB 1600MHz, SSD

Output of all the tests:

for> echo "Running RAMSMP -b $i"
for> ./ramsmp -b $i
for> done
Running RAMSMP -b 1
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER & WRITING         1 Kb block: 51076.45 MB/s
INTEGER & WRITING         2 Kb block: 55303.78 MB/s
INTEGER & WRITING         4 Kb block: 55040.40 MB/s
INTEGER & WRITING         8 Kb block: 54918.38 MB/s
INTEGER & WRITING        16 Kb block: 54716.18 MB/s
INTEGER & WRITING        32 Kb block: 53976.20 MB/s
INTEGER & WRITING        64 Kb block: 49252.87 MB/s
INTEGER & WRITING       128 Kb block: 49116.07 MB/s
INTEGER & WRITING       256 Kb block: 46624.69 MB/s
INTEGER & WRITING       512 Kb block: 42947.42 MB/s
INTEGER & WRITING      1024 Kb block: 41752.02 MB/s
INTEGER & WRITING      2048 Kb block: 41181.15 MB/s
INTEGER & WRITING      4096 Kb block: 16765.26 MB/s
INTEGER & WRITING      8192 Kb block: 8749.94 MB/s
INTEGER & WRITING     16384 Kb block: 8483.07 MB/s
INTEGER & WRITING     32768 Kb block: 8437.54 MB/s
Running RAMSMP -b 2
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER & READING         1 Kb block: 106895.16 MB/s
INTEGER & READING         2 Kb block: 107975.81 MB/s
INTEGER & READING         4 Kb block: 106066.91 MB/s
INTEGER & READING         8 Kb block: 106190.16 MB/s
INTEGER & READING        16 Kb block: 100513.80 MB/s
INTEGER & READING        32 Kb block: 103074.68 MB/s
INTEGER & READING        64 Kb block: 79337.72 MB/s
INTEGER & READING       128 Kb block: 78474.66 MB/s
INTEGER & READING       256 Kb block: 71472.60 MB/s
INTEGER & READING       512 Kb block: 62685.27 MB/s
INTEGER & READING      1024 Kb block: 60988.67 MB/s
INTEGER & READING      2048 Kb block: 61342.11 MB/s
INTEGER & READING      4096 Kb block: 27352.65 MB/s
INTEGER & READING      8192 Kb block: 16705.30 MB/s
INTEGER & READING     16384 Kb block: 16686.54 MB/s
INTEGER & READING     32768 Kb block: 16973.45 MB/s
Running RAMSMP -b 3
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER   Copy:      11259.93 MB/s
INTEGER   Scale:     11185.78 MB/s
INTEGER   Add:       12901.32 MB/s
INTEGER   Triad:     12479.21 MB/s
---
INTEGER   AVERAGE:   11956.56 MB/s

Running RAMSMP -b 4
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT & WRITING        1 Kb block: 55323.01 MB/s
FL-POINT & WRITING        2 Kb block: 54650.13 MB/s
FL-POINT & WRITING        4 Kb block: 53860.20 MB/s
FL-POINT & WRITING        8 Kb block: 52302.86 MB/s
FL-POINT & WRITING       16 Kb block: 53823.08 MB/s
FL-POINT & WRITING       32 Kb block: 54673.52 MB/s
FL-POINT & WRITING       64 Kb block: 48001.47 MB/s
FL-POINT & WRITING      128 Kb block: 48197.00 MB/s
FL-POINT & WRITING      256 Kb block: 47525.42 MB/s
FL-POINT & WRITING      512 Kb block: 41517.22 MB/s
FL-POINT & WRITING     1024 Kb block: 41219.24 MB/s
FL-POINT & WRITING     2048 Kb block: 39378.98 MB/s
FL-POINT & WRITING     4096 Kb block: 16341.08 MB/s
FL-POINT & WRITING     8192 Kb block: 8576.02 MB/s
FL-POINT & WRITING    16384 Kb block: 8640.80 MB/s
FL-POINT & WRITING    32768 Kb block: 8521.39 MB/s
Running RAMSMP -b 5
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT & READING        1 Kb block: 109492.87 MB/s
FL-POINT & READING        2 Kb block: 111110.27 MB/s
FL-POINT & READING        4 Kb block: 111072.19 MB/s
FL-POINT & READING        8 Kb block: 110078.68 MB/s
FL-POINT & READING       16 Kb block: 112388.83 MB/s
FL-POINT & READING       32 Kb block: 105994.60 MB/s
FL-POINT & READING       64 Kb block: 82002.00 MB/s
FL-POINT & READING      128 Kb block: 80984.98 MB/s
FL-POINT & READING      256 Kb block: 74906.94 MB/s
FL-POINT & READING      512 Kb block: 60301.08 MB/s
FL-POINT & READING     1024 Kb block: 61284.45 MB/s
FL-POINT & READING     2048 Kb block: 55674.32 MB/s
FL-POINT & READING     4096 Kb block: 28501.94 MB/s
FL-POINT & READING     8192 Kb block: 16547.72 MB/s
FL-POINT & READING    16384 Kb block: 16690.99 MB/s
FL-POINT & READING    32768 Kb block: 16552.63 MB/s
Running RAMSMP -b 6
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT  Copy:      11191.44 MB/s
FL-POINT  Scale:     11148.11 MB/s
FL-POINT  Add:       12453.50 MB/s
FL-POINT  Triad:     12401.81 MB/s
---
FL-POINT  AVERAGE:   11798.71 MB/s

1 Like

Just tested these on my 2666MT/s RAM

	RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

	8Gb per pass mode, 2 processes

	INTEGER & WRITING         1 Kb block: 65917.71 MB/s
	INTEGER & WRITING         2 Kb block: 66700.97 MB/s
	INTEGER & WRITING         4 Kb block: 66813.68 MB/s
	INTEGER & WRITING         8 Kb block: 66650.64 MB/s
	INTEGER & WRITING        16 Kb block: 66867.25 MB/s
	INTEGER & WRITING        32 Kb block: 66633.71 MB/s
	INTEGER & WRITING        64 Kb block: 63969.49 MB/s
	INTEGER & WRITING       128 Kb block: 64266.09 MB/s
	INTEGER & WRITING       256 Kb block: 65301.47 MB/s
	INTEGER & WRITING       512 Kb block: 65271.32 MB/s
	INTEGER & WRITING      1024 Kb block: 65259.79 MB/s
	INTEGER & WRITING      2048 Kb block: 65263.51 MB/s
	INTEGER & WRITING      4096 Kb block: 64657.44 MB/s
	INTEGER & WRITING      8192 Kb block: 27129.89 MB/s
	INTEGER & WRITING     16384 Kb block: 15572.14 MB/s
	INTEGER & WRITING     32768 Kb block: 16166.98 MB/s
	RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

	8Gb per pass mode, 2 processes

	RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

	8Gb per pass mode, 2 processes

	INTEGER & READING         1 Kb block: 126503.49 MB/s
	INTEGER & READING         2 Kb block: 133493.42 MB/s
	INTEGER & READING         4 Kb block: 133641.92 MB/s
	INTEGER & READING         8 Kb block: 133223.24 MB/s
	INTEGER & READING        16 Kb block: 133696.52 MB/s
	INTEGER & READING        32 Kb block: 132344.74 MB/s
	INTEGER & READING        64 Kb block: 132625.70 MB/s
	INTEGER & READING       128 Kb block: 131540.17 MB/s
	INTEGER & READING       256 Kb block: 130659.80 MB/s
	INTEGER & READING       512 Kb block: 126968.61 MB/s
	INTEGER & READING      1024 Kb block: 123886.29 MB/s
	INTEGER & READING      2048 Kb block: 120519.47 MB/s
	INTEGER & READING      4096 Kb block: 119218.96 MB/s
	INTEGER & READING      8192 Kb block: 35327.32 MB/s
	INTEGER & READING     16384 Kb block: 20811.09 MB/s
	INTEGER & READING     32768 Kb block: 29253.24 MB/s
	RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

	8Gb per pass mode, 2 processes

	RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

	8Gb per pass mode, 2 processes

	FL-POINT & WRITING        1 Kb block: 63183.82 MB/s
	FL-POINT & WRITING        2 Kb block: 63713.39 MB/s
	FL-POINT & WRITING        4 Kb block: 62976.52 MB/s
	FL-POINT & WRITING        8 Kb block: 62542.41 MB/s
	FL-POINT & WRITING       16 Kb block: 63063.10 MB/s
	FL-POINT & WRITING       32 Kb block: 66354.60 MB/s
	FL-POINT & WRITING       64 Kb block: 65391.57 MB/s
	FL-POINT & WRITING      128 Kb block: 65676.30 MB/s
	FL-POINT & WRITING      256 Kb block: 65810.90 MB/s
	FL-POINT & WRITING      512 Kb block: 65424.69 MB/s
	FL-POINT & WRITING     1024 Kb block: 65105.35 MB/s
	FL-POINT & WRITING     2048 Kb block: 65010.99 MB/s
	FL-POINT & WRITING     4096 Kb block: 64584.40 MB/s
	FL-POINT & WRITING     8192 Kb block: 25410.93 MB/s
	FL-POINT & WRITING    16384 Kb block: 12930.62 MB/s
	FL-POINT & WRITING    32768 Kb block: 13210.81 MB/s
	RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

	8Gb per pass mode, 2 processes

	RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

	8Gb per pass mode, 2 processes

	FL-POINT & READING        1 Kb block: 105713.49 MB/s
	FL-POINT & READING        2 Kb block: 113588.92 MB/s
	FL-POINT & READING        4 Kb block: 108605.84 MB/s
	FL-POINT & READING        8 Kb block: 108502.61 MB/s
	FL-POINT & READING       16 Kb block: 115032.47 MB/s
	FL-POINT & READING       32 Kb block: 114396.71 MB/s
	FL-POINT & READING       64 Kb block: 113313.58 MB/s
	FL-POINT & READING      128 Kb block: 115372.76 MB/s
	FL-POINT & READING      256 Kb block: 114474.08 MB/s
	FL-POINT & READING      512 Kb block: 108004.66 MB/s
	FL-POINT & READING     1024 Kb block: 110436.38 MB/s
	FL-POINT & READING     2048 Kb block: 114637.93 MB/s
	FL-POINT & READING     4096 Kb block: 111791.70 MB/s
	FL-POINT & READING     8192 Kb block: 44052.36 MB/s
	FL-POINT & READING    16384 Kb block: 31378.53 MB/s
	FL-POINT & READING    32768 Kb block: 34668.67 MB/s
	RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

	8Gb per pass mode, 2 processes

Here’s the script I wrote

	#!/bin/bash

	for i in {1..6}; do
	        echo "Running RAMSMP -b $i"
	        ./ramsmp -b $i 2>&1 | tee -a ./output.log
	done

Update
I’ve re-run the script with Corsair Dominator Plats, with just 2x8GB sticks installed, running at 3200MT/s.

    RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

    8Gb per pass mode, 2 processes

    INTEGER & WRITING         1 Kb block: 63172.43 MB/s
    INTEGER & WRITING         2 Kb block: 65533.88 MB/s
    INTEGER & WRITING         4 Kb block: 65504.39 MB/s
    INTEGER & WRITING         8 Kb block: 65781.04 MB/s
    INTEGER & WRITING        16 Kb block: 65486.66 MB/s
    INTEGER & WRITING        32 Kb block: 65705.69 MB/s
    INTEGER & WRITING        64 Kb block: 64332.03 MB/s
    INTEGER & WRITING       128 Kb block: 64822.48 MB/s
    INTEGER & WRITING       256 Kb block: 64821.13 MB/s
    INTEGER & WRITING       512 Kb block: 62079.79 MB/s
    INTEGER & WRITING      1024 Kb block: 62201.51 MB/s
    INTEGER & WRITING      2048 Kb block: 62636.59 MB/s
    INTEGER & WRITING      4096 Kb block: 61727.26 MB/s
    INTEGER & WRITING      8192 Kb block: 28050.25 MB/s
    INTEGER & WRITING     16384 Kb block: 17359.79 MB/s
    INTEGER & WRITING     32768 Kb block: 17286.19 MB/s
    RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

    8Gb per pass mode, 2 processes

    RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

    8Gb per pass mode, 2 processes

    INTEGER & READING         1 Kb block: 124642.19 MB/s
    INTEGER & READING         2 Kb block: 129663.79 MB/s
    INTEGER & READING         4 Kb block: 130962.09 MB/s
    INTEGER & READING         8 Kb block: 131994.45 MB/s
    INTEGER & READING        16 Kb block: 131159.56 MB/s
    INTEGER & READING        32 Kb block: 130404.91 MB/s
    INTEGER & READING        64 Kb block: 130355.44 MB/s
    INTEGER & READING       128 Kb block: 130286.24 MB/s
    INTEGER & READING       256 Kb block: 128190.76 MB/s
    INTEGER & READING       512 Kb block: 126777.94 MB/s
    INTEGER & READING      1024 Kb block: 122490.24 MB/s
    INTEGER & READING      2048 Kb block: 121647.20 MB/s
    INTEGER & READING      4096 Kb block: 121055.33 MB/s
    INTEGER & READING      8192 Kb block: 56459.80 MB/s
    INTEGER & READING     16384 Kb block: 37214.30 MB/s
    INTEGER & READING     32768 Kb block: 37125.03 MB/s
    RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

    8Gb per pass mode, 2 processes

    RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

    8Gb per pass mode, 2 processes

    RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

    8Gb per pass mode, 2 processes

    FL-POINT & WRITING        1 Kb block: 59921.14 MB/s
    FL-POINT & WRITING        2 Kb block: 61390.88 MB/s
    FL-POINT & WRITING        4 Kb block: 62554.71 MB/s
    FL-POINT & WRITING        8 Kb block: 63190.67 MB/s
    FL-POINT & WRITING       16 Kb block: 64229.57 MB/s
    FL-POINT & WRITING       32 Kb block: 61905.65 MB/s
    FL-POINT & WRITING       64 Kb block: 61807.43 MB/s
    FL-POINT & WRITING      128 Kb block: 64631.90 MB/s
    FL-POINT & WRITING      256 Kb block: 64469.76 MB/s
    FL-POINT & WRITING      512 Kb block: 59321.01 MB/s
    FL-POINT & WRITING     1024 Kb block: 59613.00 MB/s
    FL-POINT & WRITING     2048 Kb block: 61018.68 MB/s
    FL-POINT & WRITING     4096 Kb block: 60095.84 MB/s
    FL-POINT & WRITING     8192 Kb block: 27485.86 MB/s
    FL-POINT & WRITING    16384 Kb block: 13901.04 MB/s
    FL-POINT & WRITING    32768 Kb block: 13898.63 MB/s
    RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

    8Gb per pass mode, 2 processes

    FL-POINT & READING        1 Kb block: 103266.13 MB/s
    FL-POINT & READING        2 Kb block: 110765.33 MB/s
    FL-POINT & READING        4 Kb block: 109628.42 MB/s
    FL-POINT & READING        8 Kb block: 109570.38 MB/s
    FL-POINT & READING       16 Kb block: 111672.89 MB/s
    FL-POINT & READING       32 Kb block: 111875.78 MB/s
    FL-POINT & READING       64 Kb block: 104222.75 MB/s
    FL-POINT & READING      128 Kb block: 105387.30 MB/s
    FL-POINT & READING      256 Kb block: 108150.84 MB/s
    FL-POINT & READING      512 Kb block: 105419.31 MB/s
    FL-POINT & READING     1024 Kb block: 108337.37 MB/s
    FL-POINT & READING     2048 Kb block: 110074.45 MB/s
    FL-POINT & READING     4096 Kb block: 101981.28 MB/s
    FL-POINT & READING     8192 Kb block: 45027.58 MB/s
    FL-POINT & READING    16384 Kb block: 34156.44 MB/s
    FL-POINT & READING    32768 Kb block: 37389.08 MB/s
    RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

    8Gb per pass mode, 2 processes

sorry I was wrong what I meant to say was that I am getting seg fault on MMX and SSE tests:

cpu:
AMD Athlon(tm) II X2 250 Processor
memory:
Type: DDR3
Type Detail: Synchronous
Speed: 1066 MT/s
Manufacturer: Corsair

result:

#!/bin/bash

for i in {1..18}; do
        echo "Running RAMSMP -b $i"
        ./ramsmp -r -b $i 
done
 kaveh  km  ~  Downloads  ramsmp-3.5.0  $  ./runtest.sh 
Running RAMSMP -b 1
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER & WRITING         1 Kb block: 77469.02 Mb/s
INTEGER & WRITING         2 Kb block: 75922.33 Mb/s
INTEGER & WRITING         4 Kb block: 64502.03 Mb/s
INTEGER & WRITING         8 Kb block: 80440.70 Mb/s
INTEGER & WRITING        16 Kb block: 78826.83 Mb/s
INTEGER & WRITING        32 Kb block: 75439.21 Mb/s
INTEGER & WRITING        64 Kb block: 64317.44 Mb/s
INTEGER & WRITING       128 Kb block: 26329.07 Mb/s
INTEGER & WRITING       256 Kb block: 26128.30 Mb/s
INTEGER & WRITING       512 Kb block: 25648.39 Mb/s
INTEGER & WRITING      1024 Kb block: 8847.87 Mb/s
INTEGER & WRITING      2048 Kb block: 4105.57 Mb/s
INTEGER & WRITING      4096 Kb block: 4146.00 Mb/s
INTEGER & WRITING      8192 Kb block: 4003.92 Mb/s
INTEGER & WRITING     16384 Kb block: 3511.66 Mb/s
INTEGER & WRITING     32768 Kb block: 3823.09 Mb/s
Running RAMSMP -b 2
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER & READING         1 Kb block: 59809.15 Mb/s
INTEGER & READING         2 Kb block: 65817.57 Mb/s
INTEGER & READING         4 Kb block: 83135.23 Mb/s
INTEGER & READING         8 Kb block: 78922.90 Mb/s
INTEGER & READING        16 Kb block: 76920.01 Mb/s
INTEGER & READING        32 Kb block: 76970.96 Mb/s
INTEGER & READING        64 Kb block: 80531.04 Mb/s
INTEGER & READING       128 Kb block: 35695.38 Mb/s
INTEGER & READING       256 Kb block: 37491.82 Mb/s
INTEGER & READING       512 Kb block: 39824.79 Mb/s
INTEGER & READING      1024 Kb block: 15100.20 Mb/s
INTEGER & READING      2048 Kb block: 5255.77 Mb/s
INTEGER & READING      4096 Kb block: 5822.57 Mb/s
INTEGER & READING      8192 Kb block: 8613.69 Mb/s
INTEGER & READING     16384 Kb block: 5168.91 Mb/s
INTEGER & READING     32768 Kb block: 8794.20 Mb/s
Running RAMSMP -b 3
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18032 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 4
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT & WRITING        1 Kb block: 35391.27 Mb/s
FL-POINT & WRITING        2 Kb block: 26576.31 Mb/s
FL-POINT & WRITING        4 Kb block: 33756.00 Mb/s
FL-POINT & WRITING        8 Kb block: 41946.64 Mb/s
FL-POINT & WRITING       16 Kb block: 40028.83 Mb/s
FL-POINT & WRITING       32 Kb block: 39063.89 Mb/s
FL-POINT & WRITING       64 Kb block: 35468.31 Mb/s
FL-POINT & WRITING      128 Kb block: 19627.55 Mb/s
FL-POINT & WRITING      256 Kb block: 25789.25 Mb/s
FL-POINT & WRITING      512 Kb block: 24969.77 Mb/s
FL-POINT & WRITING     1024 Kb block: 7571.40 Mb/s
FL-POINT & WRITING     2048 Kb block: 4027.58 Mb/s
FL-POINT & WRITING     4096 Kb block: 4135.66 Mb/s
FL-POINT & WRITING     8192 Kb block: 3882.28 Mb/s
FL-POINT & WRITING    16384 Kb block: 3929.50 Mb/s
FL-POINT & WRITING    32768 Kb block: 4056.18 Mb/s
Running RAMSMP -b 5
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT & READING        1 Kb block: 59351.89 Mb/s
FL-POINT & READING        2 Kb block: 54214.23 Mb/s
FL-POINT & READING        4 Kb block: 58841.06 Mb/s
FL-POINT & READING        8 Kb block: 58998.28 Mb/s
FL-POINT & READING       16 Kb block: 54439.49 Mb/s
FL-POINT & READING       32 Kb block: 56996.55 Mb/s
FL-POINT & READING       64 Kb block: 60645.88 Mb/s
FL-POINT & READING      128 Kb block: 32706.64 Mb/s
FL-POINT & READING      256 Kb block: 38762.00 Mb/s
FL-POINT & READING      512 Kb block: 36413.87 Mb/s
FL-POINT & READING     1024 Kb block: 15215.83 Mb/s
FL-POINT & READING     2048 Kb block: 7739.04 Mb/s
FL-POINT & READING     4096 Kb block: 7835.90 Mb/s
FL-POINT & READING     8192 Kb block: 7589.54 Mb/s
FL-POINT & READING    16384 Kb block: 7880.95 Mb/s
FL-POINT & READING    32768 Kb block: 7734.54 Mb/s
Running RAMSMP -b 6
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18070 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 7
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18076 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 8
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18082 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 9
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18092 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 10
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18100 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 11
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18107 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 12
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18118 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 13
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18124 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 14
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18130 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 15
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18138 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 16
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18144 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 17
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18150 Segmentation fault      (core dumped) ./ramsmp -r -b $i
Running RAMSMP -b 18
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

./runtest.sh: line 3: 18157 Segmentation fault      (core dumped) ./ramsmp -r -b $i

Btw, this is not the system that I intend to test, but never the less, it is good to know how slow its memory is :slight_smile:

Uh, I’m only seeing 6 tests on this program.

for i in {1..18}; do      
echo "Running RAMSMP -b $i"
./ramsmp -b $i
done
Running RAMSMP -b 1
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER & WRITING         1 Kb block: 53210.52 MB/s
INTEGER & WRITING         2 Kb block: 52210.12 MB/s
INTEGER & WRITING         4 Kb block: 55457.66 MB/s
INTEGER & WRITING         8 Kb block: 55248.02 MB/s
INTEGER & WRITING        16 Kb block: 55340.12 MB/s
INTEGER & WRITING        32 Kb block: 54031.71 MB/s
INTEGER & WRITING        64 Kb block: 49063.05 MB/s
INTEGER & WRITING       128 Kb block: 48978.01 MB/s
INTEGER & WRITING       256 Kb block: 46856.64 MB/s
INTEGER & WRITING       512 Kb block: 40126.71 MB/s
INTEGER & WRITING      1024 Kb block: 39826.43 MB/s
INTEGER & WRITING      2048 Kb block: 34352.73 MB/s
INTEGER & WRITING      4096 Kb block: 10125.62 MB/s
INTEGER & WRITING      8192 Kb block: 7456.10 MB/s
INTEGER & WRITING     16384 Kb block: 7368.10 MB/s
INTEGER & WRITING     32768 Kb block: 7405.88 MB/s
Running RAMSMP -b 2
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER & READING         1 Kb block: 104948.88 MB/s
INTEGER & READING         2 Kb block: 106476.78 MB/s
INTEGER & READING         4 Kb block: 106960.38 MB/s
INTEGER & READING         8 Kb block: 105023.30 MB/s
INTEGER & READING        16 Kb block: 103793.00 MB/s
INTEGER & READING        32 Kb block: 95564.50 MB/s
INTEGER & READING        64 Kb block: 76146.84 MB/s
INTEGER & READING       128 Kb block: 77423.42 MB/s
INTEGER & READING       256 Kb block: 70756.85 MB/s
INTEGER & READING       512 Kb block: 59174.71 MB/s
INTEGER & READING      1024 Kb block: 55862.14 MB/s
INTEGER & READING      2048 Kb block: 52304.54 MB/s
INTEGER & READING      4096 Kb block: 22492.42 MB/s
INTEGER & READING      8192 Kb block: 15089.98 MB/s
INTEGER & READING     16384 Kb block: 14834.31 MB/s
INTEGER & READING     32768 Kb block: 14892.55 MB/s
Running RAMSMP -b 3
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

INTEGER   Copy:      10080.25 MB/s
INTEGER   Scale:     10017.43 MB/s
INTEGER   Add:       11145.15 MB/s
INTEGER   Triad:     11073.91 MB/s
---
INTEGER   AVERAGE:   10579.18 MB/s

Running RAMSMP -b 4
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT & WRITING        1 Kb block: 47777.87 MB/s
FL-POINT & WRITING        2 Kb block: 49401.94 MB/s
FL-POINT & WRITING        4 Kb block: 49703.01 MB/s
FL-POINT & WRITING        8 Kb block: 48970.96 MB/s
FL-POINT & WRITING       16 Kb block: 51168.86 MB/s
FL-POINT & WRITING       32 Kb block: 47462.53 MB/s
FL-POINT & WRITING       64 Kb block: 44278.07 MB/s
FL-POINT & WRITING      128 Kb block: 42340.29 MB/s
FL-POINT & WRITING      256 Kb block: 42285.84 MB/s
FL-POINT & WRITING      512 Kb block: 40267.36 MB/s
FL-POINT & WRITING     1024 Kb block: 37078.76 MB/s
FL-POINT & WRITING     2048 Kb block: 36983.61 MB/s
FL-POINT & WRITING     4096 Kb block: 11702.55 MB/s
FL-POINT & WRITING     8192 Kb block: 7722.04 MB/s
FL-POINT & WRITING    16384 Kb block: 7648.96 MB/s
FL-POINT & WRITING    32768 Kb block: 7631.74 MB/s
Running RAMSMP -b 5
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT & READING        1 Kb block: 103747.56 MB/s
FL-POINT & READING        2 Kb block: 104764.24 MB/s
FL-POINT & READING        4 Kb block: 107648.35 MB/s
FL-POINT & READING        8 Kb block: 107919.85 MB/s
FL-POINT & READING       16 Kb block: 108481.03 MB/s
FL-POINT & READING       32 Kb block: 98321.25 MB/s
FL-POINT & READING       64 Kb block: 78810.90 MB/s
FL-POINT & READING      128 Kb block: 70011.90 MB/s
FL-POINT & READING      256 Kb block: 68655.90 MB/s
FL-POINT & READING      512 Kb block: 58248.49 MB/s
FL-POINT & READING     1024 Kb block: 58312.26 MB/s
FL-POINT & READING     2048 Kb block: 52684.28 MB/s
FL-POINT & READING     4096 Kb block: 23211.62 MB/s
FL-POINT & READING     8192 Kb block: 15187.99 MB/s
FL-POINT & READING    16384 Kb block: 15030.19 MB/s
FL-POINT & READING    32768 Kb block: 15121.26 MB/s
Running RAMSMP -b 6
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes

FL-POINT  Copy:      9976.21 MB/s
FL-POINT  Scale:     9938.54 MB/s
FL-POINT  Add:       11143.39 MB/s
FL-POINT  Triad:     11039.87 MB/s
---
FL-POINT  AVERAGE:   10524.50 MB/s

Running RAMSMP -b 7
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 8
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 9
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 10
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 11
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 12
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 13
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 14
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 15
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 16
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 17
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
Running RAMSMP -b 18
RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode, 2 processes


USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)


ERROR: unknown benchmark ID
 kaveh  km  ~  $  cd Downloads/
 kaveh  km  ~  Downloads  $  tar xf ramsmp-3.5.0.tar.gz 
 kaveh  km  ~  Downloads  $  cd ramsmp-3.5.0/
 kaveh  km  ~  Downloads  ramsmp-3.5.0  $  ./build.sh 
building for Linux 4.12.14-300.fc26.x86_64 x86_64
compiler is gcc, linker is gcc, assembler is as
compiler's flags are -Wall -O2
linker's flags are -Wl,-O2 -Wl,-s
 
press Enter to continue or Control-C to abort

gcc -Wall -O2 -DLinux -DAMD64_ASM -c -o temp/ramsmp.o ramsmp.c
as -o temp/intmark.o amd64/intmark.s
as -o temp/intmem.o amd64/intmem.s
as -o temp/fltmark.o amd64/fltmark.s
as -o temp/fltmem.o amd64/fltmem.s
as -o temp/mmxmark.o amd64/mmxmark.s
as -o temp/mmxmem.o amd64/mmxmem.s
as -o temp/ssemark.o amd64/ssemark.s
as -o temp/ssemem.o amd64/ssemem.s
gcc -Wl,-O2 -Wl,-s -o ramsmp temp/ramsmp.o temp/intmark.o temp/intmem.o temp/fltmark.o temp/fltmem.o temp/mmxmark.o temp/mmxmem.o temp/ssemark.o temp/ssemem.o
 kaveh  km  ~  Downloads  ramsmp-3.5.0  $  ./ramsmp 
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
-b  runs a specified benchmark (by an ID number):
     1 -- INTmark [writing]          4 -- FLOATmark [writing]
     2 -- INTmark [reading]          5 -- FLOATmark [reading]
     3 -- INTmem                     6 -- FLOATmem
     7 -- MMXmark [writing]         10 -- SSEmark [writing]
     8 -- MMXmark [reading]         11 -- SSEmark [reading]
     9 -- MMXmem                    12 -- SSEmem
    13 -- MMXmark (nt) [writing]    16 -- SSEmark (nt) [writing]
    14 -- MMXmark (nt) [reading]    17 -- SSEmark (nt) [reading]
    15 -- MMXmem (nt)               18 -- SSEmem (nt)
-g  specifies a # of Gbytes per pass (default is 8)
-m  specifies a # of Mbytes per array (default is 32)
-l  enables the BatchRun mode (for *mem benchmarks only),
    and specifies a # of runs (suggested is 5)
-p  specifies a # of processes to spawn (default is 2)
-r  displays speeds in real megabytes per second (default: decimal)
-t  changes software prefetch mode (see the manual for details)

 kaveh  km  ~  Downloads  ramsmp-3.5.0  $  

I have 18

I wonder why I don’t see all 18… :frowning: That’s odd.

MMX and SSE are the ones I’m missing.

the build script is using “uname -p” to detect arch which apparently is not consistent across platforms ( read distros). When I tried it on debian the arch is detected as ‘unknown’ and the scripts then build it for general case which doesn’t include SSE and MMX tests which are i386 and amd64 specific. On fedora, on the other hand, the arch is detected correctly which is why I got all the 18 tests.

But, while, on fedora, the compile goes through “correctly” it generates seg fault when it is run. On debian you can specify the correct arch by running the build as “./build.sh Linux amd64”, but then the linker generate the following error:

/usr/bin/ld: temp/intmark.o: relocation R_X86_64_PC32 against symbol `[email protected]@GLIBC_2.2.5’ can not be used when making a shared object; recompile with -fPIC

I am looking into it, so far I’ve found this:

1 Like

@SgtAwesomesauce I can also see the same options, 18 tests. In Fedora 26 FYI.

	[[email protected] ramsmp-3.5.0]# ./ramsmp -h
	RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09
	./ramsmp: invalid option -- 'h'

	USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes]
	-b  runs a specified benchmark (by an ID number):
	     1 -- INTmark [writing]          4 -- FLOATmark [writing]
	     2 -- INTmark [reading]          5 -- FLOATmark [reading]
	     3 -- INTmem                     6 -- FLOATmem
	     7 -- MMXmark [writing]         10 -- SSEmark [writing]
	     8 -- MMXmark [reading]         11 -- SSEmark [reading]
	     9 -- MMXmem                    12 -- SSEmem
	    13 -- MMXmark (nt) [writing]    16 -- SSEmark (nt) [writing]
	    14 -- MMXmark (nt) [reading]    17 -- SSEmark (nt) [reading]
	    15 -- MMXmem (nt)               18 -- SSEmem (nt)
	-g  specifies a # of Gbytes per pass (default is 8)
	-m  specifies a # of Mbytes per array (default is 32)
	-l  enables the BatchRun mode (for *mem benchmarks only),
	    and specifies a # of runs (suggested is 5)
	-p  specifies a # of processes to spawn (default is 2)
	-r  displays speeds in real megabytes per second (default: decimal)
	-t  changes software prefetch mode (see the manual for details)

I know this is old, but I am trying to run ramsmp and I am getting following errors:
./ramsmp: Symbol malloc' causes overflow in R_X86_64_PC32 relocation ./ramsmp: Symbolmalloc’ causes overflow in R_X86_64_PC32 relocation

./ramsmp: Symbol gettimeofday' causes overflow in R_X86_64_PC32 relocation ./ramsmp: Symbolgettimeofday’ causes overflow in R_X86_64_PC32 relocation

./ramsmp: Symbol free' causes overflow in R_X86_64_PC32 relocation ./ramsmp: Symbolfree’ causes overflow in R_X86_64_PC32 relocation

./ramsmp: Symbol `free’ causes overflow in R_X86_64_PC32 relocation
RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

1024Gb per pass mode, 1 processes

Segmentation fault (core dumped)

Any help is greatly appreciated.