Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 18984  / 2 Years ago, mon, february 14, 2022, 6:25:18

I'm using Ubuntu and every couple minutes it goes unresponsive for a half second to a full second, which isn't normally a problem but makes trying to code extremely frustrating when your trying to hit backspace or navigate the code and nothing is happening. The problem is, the freezes are so brief that top doesn't have time to show me what is spiking the CPU (assuming something is, but I don't know what else could cause this).



Does anyone know how to troubleshoot this performance issue?



Edit: I've tried login in with Gnome Classic (No Effects) instead of Unity but it still freezes up every once in awhile.



Edit: The CPU graph doesn't seem to be showing any actual spikes so it seems you were right and my original diagnosis of CPU spikes being the problem was incorrect, I now suspect IO wait. I don't recall this happening for the brief few weeks I had Windows 7 Starter running on it though, which leads me to believe it isn't (just?) the hardware.. is there anything I can tweak to improve this? I'm using an Acer Aspire One D257, with Ubuntu 11.10.



Edit: Output of dmesg is at http://paste.ubuntu.com/1060054/ and kern.log is at http://paste.ubuntu.com/1060055/


More From » performance

 Answers
2

There are two additional tools that you may want to check out:





If you don't get what you want from those two tools, then you may need to use developer-tools like OProfile or Sysprof.



All the tools listed are available from ubuntu repositories



Regarding your observation with usb, from what I've heard, some usb-controllers behave a bit flaky with certain hardware which can cause Interrupt-storms, this could cause what you are describing. Try searching for usb interrupt storm and you will get quite a few hits.


[#39609] Wednesday, February 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nsuainner

Total Points: 141
Total Questions: 102
Total Answers: 109

Location: Maldives
Member since Sat, Jan 29, 2022
2 Years ago
nsuainner questions
Sat, Oct 22, 22, 22:47, 2 Years ago
Sun, Oct 2, 22, 12:53, 2 Years ago
Tue, May 31, 22, 05:35, 2 Years ago
;