Craig, Am 31.01.21 um 19:58 schrieb Craig Leres:
Please also disable the PSRAM bug workaround and maybe do some performance comparison. SPIRAM operations should run much faster without the workaround.
What kind of tests should I run?
I've just added an execution time output to my SPIRAM test command, which was meant to trigger the memory corruption, but can also serve as a memory benchmark. To get comparable results, run the tests after booting with "config set auto init no" (you'll need a USB connection). Tests with my results (ESP32/1, SPIRAM fix enabled, debug output removed): OVMS# test string 1000 2 finished 1000 loops for mode 2 using extram in 33503 ms OVMS# test string 5000 4 finished 5000 loops for mode 4 using extram in 30268 ms OVMS# test string 25000 6 finished 25000 loops for mode 6 using extram in 34681 ms Test mode 2 reads from metrics (involves locks & stream formatting), mode 4 reads a fixed string from the config, mode 6 is mostly pure memory copying. Regards, Michael -- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26