Hello Holger,
serial-monitor.exe is a proxy between the serial port and the client that runs it (the Arduino IDE or the Arduino CLI). It is part of the ecosystem that we call Pluggable Monitors https://docs.arduino.cc/arduino-cli/pluggable-monitor-specification/
The client controls serial-monitor.exe via stdio, it sends ASCII commands to open/close the serial port and set options like baudrate, parity etc.
Once the serial port is opened, communication with it is done on a different channel via network TCP/IP (using the loopback interface).
The CPU load may depend on how much data is transferred via the serial port. In the early tests we did, it could handle several MB/sec, and the process may easily starve one CPU core.
If you think the load on your CPU is excessive you could open an issue on the serial-monitor github repo with the instructions to reproduce and we will take a look -> https://github.com/arduino/serial-monitor
Thanks!
C
--
You received this message because you are subscribed to the Google Groups "Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+...@arduino.cc.
To view this discussion visit https://groups.google.com/a/arduino.cc/d/msgid/developers/2e361758-24a0-4998-b50a-0699de340b23n%40arduino.cc.
Thanks for investigating the problem Holger!
please open an issue at https://github.com/arduino/serial-monitor/issues we'll continue the discussion there.
thanks
C.