<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Craig,<br>
<br>
<div class="moz-cite-prefix">Am 31.01.21 um 19:58 schrieb Craig
Leres:<br>
</div>
<blockquote type="cite"
cite="mid:3cd25d68-1385-b417-de6e-121d8bb471ec@xse.com">
<blockquote type="cite" style="color: #333333;">Please also
disable the PSRAM bug workaround and maybe do some performance
comparison. SPIRAM operations should run much faster without the
workaround.
<br>
</blockquote>
<br>
What kind of tests should I run?
</blockquote>
<br>
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.<br>
<br>
To get comparable results, run the tests after booting with "config
set auto init no" (you'll need a USB connection).<br>
<br>
Tests with my results (ESP32/1, SPIRAM fix enabled, debug output
removed):<br>
<br>
<font face="monospace">OVMS# test string 1000 2<br>
finished 1000 loops for mode 2 using extram in 33503 ms<br>
<br>
OVMS# test string 5000 4<br>
finished 5000 loops for mode 4 using extram in 30268 ms<br>
<br>
OVMS# test string 25000 6<br>
finished 25000 loops for mode 6 using extram in 34681 ms</font><br>
<br>
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.<br>
<br>
Regards,<br>
Michael<br>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
</body>
</html>