On 2/21/22 23:40, Philippe Schenker wrote: > Hello > > We use FIO to check the eMMC storage on our embedded boards. This works > great for our modules that have >= 1GB RAM but on all lower-memory ones > (<= 512MB) the OOM killer always kills FIO. > > I can hook up a swap which helps but is just painfully slow. Well yes, your system will be trashing... > > I played with the settings mem, bs, iodepth and size but cannot achieve > a configuration that works on low-memory embedded systems. > > Can anyone guide me how I can make this work? See if playing with option "--alloc-size=" helps. You can also reduce the maximum number of jobs with "--max-jobs=". Also try using threads instead of (default) processes for jobs (--thread option). And of course make sure that the total amount of IO buffers you need (num jobs * io depth per job * bs) is not too large for your RAM size. > > Best Regards, > Philippe > -- Damien Le Moal Western Digital Research