[Gllug] cpu percentage increasing
salsaman
salsaman at xs4all.nl
Wed Sep 13 04:09:27 UTC 2006
salsaman wrote:
> salsaman wrote:
>
>> Hi all,
>> I have a question about a curious thing. I have a desktop system
>> (dual AMD 64) which is basically running one app - a video
>> application. I have it sitting there displaying two video clips,
>> applying and effect an mixing them.
>>
>> What I see in ps is quite strange. The app starts at about 90% CPU
>> usage, but slowly over time the usage goes up.
>> Right now after about 8 hours, the usage is up to 97.6 %. Yet it's
>> just doing the same task over and over.
>>
>> I've had (and fixed) problems with memory leakage before, but "CPU
>> leakage" is a new one to me ! Is this normal, and if not what could
>> be causing it ?
>>
>> Gabriel.
>>
> Here is the first few lines from "top":
>
> top - 18:40:09 up 10:04, 3 users, load average: 1.21, 1.16, 1.10
> Tasks: 69 total, 3 running, 65 sleeping, 0 stopped, 1 zombie
> Cpu(s): 42.3% us, 8.0% sy, 0.0% ni, 49.7% id, 0.0% wa, 0.0% hi,
> 0.0% si
> Mem: 1026928k total, 1014852k used, 12076k free, 151696k buffers
> Swap: 1028120k total, 2568k used, 1025552k free, 688460k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 27736 foo 16 0 159m 29m 10m R 96.6 2.9 526:04.15 bar
> 3062 root 15 0 79636 36m 7108 S 4.0 3.6 20:15.99 X
> 27809 foo 17 0 35604 1764 1348 S 0.7 0.2 1:17.95 jackd
>
> Gabriel.
>
BTW, it also seems strange to me that so much memory is being used. The
main application "bar" is using around 150M, and X is using around 200M.
The rest of the system amounts to maybe 100M.
Can anyone explain these oddities ?
Gabriel.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list