mgutz / vpsbench

Benchmarks VPS perfomance
MIT License
323 stars 70 forks source link

RAM Speedtest #7

Open SamMousa opened 7 years ago

SamMousa commented 7 years ago

It would be great if a RAM speed test could be included as well!

davidak commented 7 years ago

@SamMousa can you suggest an implementation and create a Pull Request?

mind that it should work on every linux.

SamMousa commented 7 years ago

I'm not great at bash scripting, but what about using a filesystem on RAM and running your disk I/O tests?

Tmpfs is widely available and should suffice.

davidak commented 7 years ago

@SamMousa that would be possible. but you have to be root to mount a ramdisk.

better would be a bash, python or perl script that uses the RAM directly. not sure if that is possible. one can probaply find something with google in 0,5 sec.