lgirdk / boardfarm

Automated testing with python
BSD 3-Clause Clear License
21 stars 34 forks source link

Investigate the use of Kermit instead of telnet #180

Open mgualco-contractor opened 5 years ago

mgualco-contractor commented 5 years ago

Investigate the use of Kermit instead of telnet, as it seems that telnet grabs 100% CPU and make the laptop fan loud,

mgualco-contractor commented 5 years ago

From preliminary testing, when using kermit -J in place of telnet, the cpu cores never reach 100% usage, and the machine load average is below 0.80 (running on an i7 laptop, 7th gen, 4 cores. Shame (as you mentioned) that kermit is not in Ubuntu by default.

mgualco-contractor commented 5 years ago

I have been using kermit in my dev work, and it has worked as telnet. The only difference I had to get used to is the key sequence to manually close a connection (in telnet ctrl ] + q) In kermit this is "ctrl \ +c" then type "q" and finally "ok" I edit the .json file with: sed 's/telnet/kermit -J/g' config.json > config_kermit.json and use the latter for BFT_CONFIG