SATPI icon indicating copy to clipboard operation
SATPI copied to clipboard

Too high cpu usage

Open Ntemis opened this issue 5 years ago • 14 comments

24698 me 20 0 248812 4176 3856 S 98,3 0,1 0:37.06 satpi
CPU = 98,3% Without doing anything(on idle)

Ntemis avatar Oct 21 '19 18:10 Ntemis

Which thread is consuming the cpu time?

What and how did you build SatPI?

Barracuda09 avatar Oct 21 '19 18:10 Barracuda09

run make on ubuntu bionic

Ntemis avatar Oct 21 '19 18:10 Ntemis

Which thread? could you check with top

Barracuda09 avatar Oct 21 '19 18:10 Barracuda09

https://ibb.co/jfSFqSL

Ntemis avatar Oct 21 '19 19:10 Ntemis

weird.. I don't see this here on my Vu+ and Raspberry.. or on my PC with Xenial.

Barracuda09 avatar Oct 21 '19 19:10 Barracuda09

If you show the threads in top

Barracuda09 avatar Oct 21 '19 19:10 Barracuda09

<shift> H

Barracuda09 avatar Oct 21 '19 19:10 Barracuda09

25440 demetris 20 0 248812 4120 3800 R 97,4 0,1 10:07.98 HttpServer

Ntemis avatar Oct 21 '19 19:10 Ntemis

Strange.. have to try this on bionic probably. Which gcc version do you use in bionic?

Barracuda09 avatar Oct 21 '19 19:10 Barracuda09

gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0

Ntemis avatar Oct 21 '19 19:10 Ntemis

Is that 64-bit or 32-bit

Barracuda09 avatar Oct 22 '19 07:10 Barracuda09

64bit

Ntemis avatar Oct 22 '19 09:10 Ntemis

Strange, I can not seem to reproduce this in 64 or 32 bit Ubuntu bionic.

You have done make clean and try make again. Or do you have some more info I can reproduce this?

Barracuda09 avatar Oct 22 '19 11:10 Barracuda09

No because this was a fresh make. I can try and let you know

Ntemis avatar Oct 22 '19 13:10 Ntemis