Question about Performance of mysys32 on Win10 and flash tool

xiangcheng
Posts: 29
Joined: Mon Feb 20, 2017 2:27 am

Question about Performance of mysys32 on Win10 and flash tool

Postby xiangcheng » Wed Dec 27, 2017 10:29 am

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.

User avatar
urbanze
Posts: 301
Joined: Sat Jun 10, 2017 9:55 pm
Location: Brazil

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

Postby urbanze » Wed Dec 27, 2017 11:10 am

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.

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

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

Postby ESP_krzychb » Wed Dec 27, 2017 11:23 am

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

xiangcheng
Posts: 29
Joined: Mon Feb 20, 2017 2:27 am

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

Postby xiangcheng » Wed Dec 27, 2017 11:58 am

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?

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

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

Postby ESP_krzychb » Wed Dec 27, 2017 4:32 pm

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.

User avatar
Gfast2
Posts: 182
Joined: Fri Aug 11, 2017 1:52 am

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

Postby Gfast2 » Thu Dec 28, 2017 9:03 am

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.

Who is online

Users browsing this forum: No registered users and 123 guests