ETTV Public beta 9

Official ET Pro announcements here...

Moderators: Forum moderators, developers

User avatar
Flames
Posts: 39
Joined: Wed Oct 19, 2005 12:08 pm
Location: Belgium

Post by Flames »

deej wrote:
deej wrote:Really? My CPU shoots up to 99% on a Suse 9.1 64 bit Athlon 3000+...

Can anyone shed some more light on this then?
Image
If i look at my CPU it says that for ettv it uses 99% but when I look at total CPU usage its 30%
User avatar
arni
Posts: 188
Joined: Sun Feb 20, 2005 2:32 pm

Post by arni »

Flames wrote:
deej wrote:
deej wrote:Really? My CPU shoots up to 99% on a Suse 9.1 64 bit Athlon 3000+...

Can anyone shed some more light on this then?
Image
If i look at my CPU it says that for ettv it uses 99% but when I look at total CPU usage its 30%
Oh, i thought this was known ...

its thought (or known) to be a problem with the kernel's scheduler on some machines. The usleep (or similar) interval which is used to go off CPU for the rest of the 50ms cycle (20fps) is getting smaller than the scheduler can support.
So instead of possibly waking the task too late its "Busy Waiting" - that means that the cpu just keeps turning useless loops until that wait interval is over.

AFAIK this is not bad because the cpu time spent for waitng could still be used by other tasks - its only burnt if nothing else wants to go onto cpu.
Image
Post Reply