python-can icon indicating copy to clipboard operation
python-can copied to clipboard

Fix inefficiencies, causes write delays to drop

Open silverv opened this issue 2 years ago • 4 comments

Did some experiments and measurements to conclude that these changes introduce less write delay. It is also likely that CPU load will be decreased with these changes.

silverv avatar Apr 21 '23 19:04 silverv

On Windows it is important to note that a REALTIME priority level can be assigned to the process.

silverv avatar Apr 21 '23 19:04 silverv

This is a continuation of #1490

silverv avatar Apr 21 '23 19:04 silverv

I am doing this to improve the performance of SLCAN in Yakut (https://github.com/OpenCyphal/yakut) and Yukon (https://github.com/OpenCyphal/yukon).

silverv avatar Apr 21 '23 19:04 silverv

With your changes the timeout parameter will do nothing. Also, your title mentions write delays, but you change the read function?

zariiii9003 avatar Apr 23 '23 13:04 zariiii9003