Funbit / ets2-telemetry-server

ETS2/ATS Telemetry Web Server + Mobile Dashboard
GNU General Public License v3.0
623 stars 206 forks source link

High CPU usage #99

Open Koenvh1 opened 7 years ago

Koenvh1 commented 7 years ago

ETS2 Telemetry Server's CPU usage can get quite high (up to 15% on my Intel i5 3570K). Is there some CPU leak? EDIT: It seems to be caused by the frequent updating from the data that is in the SharedMemory object. I reduced it from 25 to 250 and it reduced the CPU usage to 1%. Perhaps you can add that as a variable.

jeankcr commented 7 years ago

Hello I still have this issue arround 33% CPU Usage 3e0c9e674fb87acc8d62d9d759e546de

any solution?

scarystuff commented 6 years ago

Koenvh1 Can you please tell us how to change that update value? I can't find any file with a sharedmemory value that I can change.

Koenvh1 commented 6 years ago

There should be a reference to it in the source code, but I have no idea where, since it has been over a year since I last looked at it.

scarystuff commented 6 years ago

Oh, so I have to edit the source code and then compile it to make it work?