here's the picture of my htop.
I hope you can understand what's wrong.
I haven't been able to log vmstat yet, will try next time.
here's the picture of my htop.
I hope you can understand what's wrong.
I haven't been able to log vmstat yet, will try next time.
it does not give an answer to the perf issue. There are 7 threads running, so obviously there is contention for the cpu. It is not the swap that is for sure. It could be disk output
Can you try/check 3 things
Make sure htop output gets sorted by cpu when you run vmstat (through F6, select cpu)
does the problem happen also when firefox is not running ?
And last, when there is contention, can you see.hear/see if the disk is being heavily (constantly) accessed.
firefox can require lot of resources under some conditions.
all foto's about this problem are here:
https://www.dropbox.com/sh/94qbskj1l2xl8vu/ypJxTrsAFB
Htop is sorted by CPU.
Problem does occur when firefox is not running, see most recent picture.
i can hear the cpu cooling spin very fast, i dont hear any peeps, beeps or anything.
a bit of extra information, usualy my cpu load is around 1-6% during lag it is at 98-100%.
it is hard to tell without being in front of the screen and you provide little and static data where more dynamic data is required for a diag, so you will have to investigate a little bit more by yourself
On the data you provide, when that happens, vmstat shows 100% on system time;
at that specific time, you need to check htop and spot which is the process using most cpu (the information varies each second, you are looking for using your best guess).
Sometime the culprit will not appear as you would expect in htop; specially if the lag time is in system time, which from the little data you sent is what is happening (but the data is too little to decide).
You will have to check for it several time and decide if there is an overwhelming pattern and then an overwhelming process for that. Or a pattern with an application you are using (eg, firefox or midori, or listening to an online radio, or locally to music for example).
With system time lag i would suspect something tied to the network first, specially if you are using wifi.
Unless someone else has a better idea to suggest this is the route i would take first.
I think you're right, firefox and/or spotify were using the most cpu. (about 27% each). I haven't been using firefox and spotify for some time now and it is happening much less frequently.
the part i don't understand is that the programs are by far not using 100% cpu, but still htop tells me 100% cpu usage, any idea why the cpu goes higher than the program's cpu usage? is there something updating or so?
much thx for helping
JJK
Hard to tell what is happening in your machine without being there.
It sometimes gets tricky to track down things once they happen in system time; plus it goes down to understand what 100% cpu really means, which may vary with each individual tool...
ok, I'd say it's solved, as long as i don't use firefox and spotify too much.
thx for helping.
JJK
You must log in to post.