Page 1 of 1

Question about Performance of mysys32 on Win10 and flash tool

Posted: Wed Dec 27, 2017 10:29 am
by xiangcheng
Hi,

I'm suggesting my customer to compile ESP32 SDK on his laptop with Win10 OS. He does not want to use Linux. So I installed mysys32 as ESP user guide said. Although the laptop(T460) is good performance, but when compiling ESP32 SDK, it likes old man... very slow --- 20mins. Should I change some settings of mysys32 to improve its performance? I think it will be good performance when installing Linux on this laptop.

Another question is when flashing under mysys32, the serial port will be "ttyS6" (not USBtty), is there any quick method to only flash image? For example , I copied other image to one folder in WinOS, could I flash it into ESP32 without "make flash" under mysys32?

Buddies, what is your common building/dev platform with high efficiency? Linux? Mysys32 under Win? Or others? My customer's mostly use laptop for quick developing. Any comments are welcome.

Re: Question about Performance of mysys32 on Win10 and flash tool

Posted: Wed Dec 27, 2017 11:10 am
by urbanze
Try "make flash -j20" :lol:, or the number of cores +1 (if quad-core, make flash -j5). This parameter can help you.

Another way to flash binaries to ESP32: Flash download Tool. Flash download tool can upload binaries to esp without "make", you just need know adresses and .bin files to upload.

Re: Question about Performance of mysys32 on Win10 and flash tool

Posted: Wed Dec 27, 2017 11:23 am
by ESP_krzychb
xiangcheng wrote:I'm suggesting my customer to compile ESP32 SDK on his laptop with Win10 OS. He does not want to use Linux. So I installed mysys32 as ESP user guide said. Although the laptop(T460) is good performance, but when compiling ESP32 SDK, it likes old man... very slow --- 20mins.
See also viewtopic.php?f=13&t=3953#p17948

Re: Question about Performance of mysys32 on Win10 and flash tool

Posted: Wed Dec 27, 2017 11:58 am
by xiangcheng
krzychb wrote:
xiangcheng wrote:I'm suggesting my customer to compile ESP32 SDK on his laptop with Win10 OS. He does not want to use Linux. So I installed mysys32 as ESP user guide said. Although the laptop(T460) is good performance, but when compiling ESP32 SDK, it likes old man... very slow --- 20mins.
See also viewtopic.php?f=13&t=3953#p17948
Thanks above buddies. I did quick test on one laptop with mysys32 with parameter "-j5" or '-j20', Still bad performance. But it improved to 10 minutes. Let me check more tmr. Do you all develop SDK with Linux OS?

Re: Question about Performance of mysys32 on Win10 and flash tool

Posted: Wed Dec 27, 2017 4:32 pm
by ESP_krzychb
I used to develop on Windows. Now almost entirely switched to Linux and occasionally use Windows.
Compilation of 'blink' example from scratch with '-j5' took 4:30 min on a laptop with Windows 7, i5-5300 @ 2.3GHz processor and SSD.
Recompilation after the 'blink.c' file change took slightly below 30 sec. I am still somehow resistant to move to Windows 10.

Re: Question about Performance of mysys32 on Win10 and flash tool

Posted: Thu Dec 28, 2017 9:03 am
by Gfast2
Because my computer in working place allowed me use Win10 only, I've tried ESP-IDF on Windows firstly. Its nearly unuseable slow. Later I realize, each generated file on this machine has to pass the anti-virus Software. (the "Blink" example has 2914 files in build directory) ;)

So the solution is very simple: VirtualBox + Ubuntu Mate for me.