[Ovmsdev] ESP32/3 benchmark (was: External Wifi antenna)
dexter at expeedo.de
Sun Mar 14 16:15:55 HKT 2021
you triggered the watchdog by pasting all commands into the shell, you
need to leave 1-2 seconds between the commands to feed the dog.
Your results could indicate the SPIRAM workaround doesn't really degrade
performance for the kind of RAM accesses the test does.
Or it indicates something's wrong in your build / configuration, i.e.
the SPIRAM workaround is still in place.
a) Did you do a "make clean" after disabling the SPIRAM workaround?
b) Verify your toolkit version (should be crosstool-ng-1.22.0-97-gc752ad5)
c) Verify the actual compiler & linker options given by doing "make -n"
Am 13.03.21 um 19:00 schrieb Craig Leres:
> On 2/8/21 5:20 AM, Michael Balzer wrote:
>> 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
>> 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.
> I ran these with 3.2.016-27-g8564963b-dirty with this sdkconfig:
> ice 1186 % diff sdkconfig support/sdkconfig.default.hw31 | fgrep
> -v VEHICLE | egrep '^[<>]'
> < CONFIG_SPIRAM_CACHE_WORKAROUND=
> > CONFIG_SPIRAM_CACHE_WORKAROUND=y
> OVMS# test string 1000 2
> finished 1000 loops for mode 2 using extram in 37348 ms
> OVMS# test string 5000 4
> finished 5000 loops for mode 4 using extram in 28945 ms
> OVMS# test string 25000 6
> finished 25000 loops for mode 6 using extram in 34205 ms
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 203 bytes
Desc: OpenPGP digital signature
More information about the OvmsDev