<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
There are lots of valuable fixes in release 3.0, some may be
especially relevant for us, i.e. heap allocation and wifi.<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/espressif/esp-idf/releases">https://github.com/espressif/esp-idf/releases</a><br>
<br>
…and the master is already nearly 1000 commits ahead of that.<br>
<br>
I've merged the current upstream/master locally and am now running
the new build on my module.<br>
<br>
So far this update has been seamless. I've kept the defaults for all
new sdkconfig options, got no build issues, flashed & rebooted
fine, no crashes up to now.<br>
<br>
<span style="color: rgb(0, 34, 0); font-family: Monaco, Menlo, Consolas, "QuickType Mono", "Lucida Console", "Roboto Mono", "Ubuntu Mono", "DejaVu Sans Mono", "Droid Sans Mono", monospace; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-line; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">Firmware: 3.1.005-63-g0d5cc93/ota_0/edge (build idf ovms-3.1.005-527-g9d8e44e0 May 11 2018 08:59:12)</span><br>
<br>
Things I've noticed so far:<br>
<ul>
<li>
<p>Ping response times are on average much higher than before
and much less consistent. I had 1-2 ms before on an idle
module, now 1-120 ms with average ~50 ms. The release notes
say "Refactor ICMP ping functionality", so that supposedly is
no indicator of network performance, but I've also got the
impression web pages now load slightly slower than before and
ssh output also seems to be slightly slower.</p>
</li>
<li>
<p>More RAM is allocated from the 32 bit pool than before. After
startup, free 32 bit memory is down to 1.5 kB (was 23.6 kB
before). Right after boot it's 17.1 kB, so it's not a new
system component but also applies to our allocations.
According to the task monitor the new 32 bit allocations
account to the NetMan task:<br>
</p>
</li>
<ul>
<li><tt>OVMS# mo m</tt><tt><br>
</tt><tt>Free 8-bit 47860/280828, 32-bit 1572/17828, SPIRAM
4113844/4194252</tt><tt><br>
</tt><tt><br>
</tt></li>
<li><tt>OVMS# mo t</tt><tt><br>
</tt><tt>Number of Tasks = 19 Stack: Now Max Total
Heap 32-bit SPIRAM</tt><tt><br>
</tt><tt>3FFAFB48 1 Blk esp_timer 388 644 4096
41220 644 24456</tt><tt><br>
</tt><tt>3FFBE340 2 Blk eventTask 444 1772
4608 0 0 0</tt><tt><br>
</tt><tt>3FFC053C 3 Blk OVMS Events 440 3960 7168
102236 0 11268</tt><tt><br>
</tt><tt>3FFC55B0 4 Blk OVMS CanRx 428 540
1024 0 0 0</tt><tt><br>
</tt><tt>3FFC9ED8 5 Blk ipc0 388 436 1024
7776 0 0</tt><tt><br>
</tt><tt>3FFCA4D8 6 Blk ipc1 388 436
1024 12 0 0</tt><tt><br>
</tt><tt>3FFCC300 9 Rdy IDLE 364 492
1024 0 0 0</tt><tt><br>
</tt><tt>3FFCC894 10 Rdy IDLE 368 496
1024 0 0 0</tt><tt><br>
</tt><tt>3FFCD628 11 Blk Tmr Svc 388 1812
3072 0 0 0</tt><tt><br>
</tt><tt>3FFCA8EC 16 Blk tiT 488 2024 3072
1780 0 9872</tt><tt><br>
</tt><tt>3FFD87C0 17 Blk OVMS SIMCOM 460 2492 4096
3992 0 0</tt><tt><br>
</tt><tt>3FFDA8AC 18 Blk wifi 424 2312 4096
1792 0 5204</tt><tt><br>
</tt><tt>3FFDE6D8 19 Blk OVMS Vehicle 452 2004
4096 0 0 0</tt><tt><br>
</tt><tt>3FFE20A4 20 Blk OVMS COrx 464 592
4096 0 0 0</tt><tt><br>
</tt><tt>3FFE3254 21 Blk OVMS COwrk 544 544
3072 0 0 0</tt><tt><br>
</tt><tt>3FFE8934 22 Blk OVMS Console 560 1728
6144 20 0 0</tt><tt><br>
</tt><tt>3FFEA828 23 Blk OVMS NetMan 1060 5828 7168
16492 <b>15488</b> 18056</tt><tt><br>
</tt><tt>3FFEBD50 24 Blk mdns 412 1732 4096
108 0 4</tt><tt><br>
</tt><tt>3FFF2CD8 43 Rdy mo t 696 1928
5120 0 0 72</tt><br>
<br>
</li>
</ul>
<li>
<p>Sadly, the SD filesystem is as slow as before.</p>
</li>
</ul>
<br>
Anything I should test / investigate?<br>
<br>
Regards,<br>
Michael<br>
<br>
<pre class="moz-signature" cols="160">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>