suaefar / ryzen-test

Tools to reproduce randomly crashing processes under load on AMD Ryzen processors on Linux
GNU General Public License v3.0
224 stars 59 forks source link

Memory runs out before tests finishes #30

Closed MycroftHolmes1989 closed 5 years ago

MycroftHolmes1989 commented 5 years ago

I only have 16GB of RAM. Will the test serve its purpose if I create a 16GB Ramdisk instead of 64GB? Or mount an empty partition and use the partition for the test?

m-r-s commented 5 years ago

You don't need to create the ramdisk, the script does it. The size is only the maximum uncompressed size. The problem occurs, when the compressed size exceeds the available space in memory. You can reduce the number of independent compilation processes and increase the number of threads per process [1].

[1] https://github.com/suaefar/ryzen-test#requirements

MycroftHolmes1989 commented 5 years ago

That was exactly what I was looking for. Thanks.