System seems slow after kernel update!

Asked by pete smout

Hi,
Been running karmic (9.10) since nov 2009 with no problems,. however the entire system seems to have slowed down since the update to kernel 2.6.31-20 (maybe coincidence i don't know)

symptoms are that 3d games such as foobilliards seem very jerky and things seem to take longer to start (firefox, amsn, open office word processor etc).

having googled about for a while i can find no one else with this issue so perhaps it's me! However it is getting annoying.

System specs.

CPU- AMD athlon 3200+
RAM 1.5gb
Graphics - NVidia 5200
H- disk - 500gb

result of glxgears -printfps pated below if helpful.

pete@pete-desktop:~$ glxgears -printfps
Usage:
  -display <displayname> set the display to run on
  -stereo run in stereo mode
  -fullscreen run in fullscreen mode
  -info display OpenGL renderer info
  -geometry WxH+X+Y window geometry
pete@pete-desktop:~$

Still a relative newbie so appreciate any help or suggestions at all

Many thanks

Pete

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try reinstalling the nvidia driver. Can you give the output of:

dpkg -l | grep nvidia

Thanks

Revision history for this message
pete smout (petersmout03) said :
#2

Thanks to actionparsnip! re-installed my nvidia driver and all is good again!! Why didn't I think of that!!

Thanks again

Pete

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Sometimes they dont survive the upgrade. Did you use the repositories or the .run file from the nvidia site?

Revision history for this message
pete smout (petersmout03) said :
#4

Hi,
Used <system, hardware drivers> un installed restarted then re-installed the same way, and restarted again

thanks again, just goes to show 2 brains are better than 1 !!

Revision history for this message
pete smout (petersmout03) said :
#5

Hi dont know if i should do this but the problem has appeared again here's my results of dpkg -l | grep nvidia

pete@pete-desktop:~$ dpkg -l | grep nvidia
ii nvidia-173-kernel-source 173.14.20-0ubuntu5 NVIDIA binary kernel module source
ii nvidia-173-modaliases 173.14.20-0ubuntu5 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-185-modaliases 185.18.36-0ubuntu9 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-96-modaliases 96.43.13-0ubuntu6 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-common 0.2.15.1 Find obsolete NVIDIA drivers
ii nvidia-glx-173 173.14.20-0ubuntu5 NVIDIA binary Xorg driver
ii nvidia-settings 180.25-0ubuntu1 Tool of configuring the NVIDIA graphics driv
pete@pete-desktop:~$
pete@pete-desktop:~$

I know this thread is solved but the same issue has started again!

Revision history for this message
pete smout (petersmout03) said :
#6

hi,
just noticed my cpu is running at 97-98% with nothing running except ktorrent, amsn & system monitor is this right, surely not!!

nothing shows in system monitor as using cpu except ktorrent showing a value of 1.

also sound in games such as foobillards is delayed, I take my shot and as i'm lining the next shot up the sound of me playing the first ball is played?

tried restarting (no difference) and re-re-installing the nvidia driver with no joy

think i may be onto something with the cpu usage issue but cannot find out what is using all my umph is there a terminal command that will show what is using cpu as it is not showing in system monitor?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Can you give a copy of the output of:

top

Thanks

Revision history for this message
pete smout (petersmout03) said :
#8

hi, certainly here it is......

pete@pete-desktop:~$ top

top - 00:49:12 up 10:05, 2 users, load average: 3.71, 3.56, 3.24
Tasks: 154 total, 3 running, 150 sleeping, 0 stopped, 1 zombie
Cpu(s): 80.3%us, 16.4%sy, 0.0%ni, 0.0%id, 0.0%wa, 2.0%hi, 1.3%si, 0.0%st
Mem: 1544168k total, 1500948k used, 43220k free, 22296k buffers
Swap: 4522256k total, 52516k used, 4469740k free, 1088008k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 2753 pete 20 0 126m 28m 7268 S 46.6 1.9 315:47.88 foobillard
 2996 pete 20 0 82448 2692 2168 R 46.0 0.2 145:02.76 aplay
 1628 root 20 0 90560 34m 7888 S 3.0 2.3 5:51.16 Xorg
 2011 pete 20 0 66704 21m 6616 S 1.3 1.4 2:21.07 compiz.real
 3304 pete 20 0 40188 13m 10m S 1.3 0.9 0:01.56 gnome-terminal
 1915 pete 20 0 97140 6276 4816 S 0.7 0.4 0:09.07 gnome-settings-
   16 root 15 -5 0 0 0 S 0.3 0.0 1:02.00 ata/0
 1866 pete 20 0 220m 3748 2856 S 0.3 0.2 0:44.25 pulseaudio
 2104 pete 20 0 22936 6324 4652 S 0.3 0.4 1:15.51 geyes_applet2
    1 root 20 0 2532 1168 948 S 0.0 0.1 0:00.98 init
    2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
    3 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
    4 root 15 -5 0 0 0 S 0.0 0.0 0:00.32 ksoftirqd/0
    5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
    6 root 15 -5 0 0 0 S 0.0 0.0 0:03.89 events/0
    7 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 cpuset
    8 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper

regards

pete

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#9

You have foobillard which is a full 3D game running which is eating 50% CPU as well as aplay which is an audio pleayer. I suggest you kill both:

sudo killall foobillard; sudo killall aplay

Should do it.

Revision history for this message
pete smout (petersmout03) said :
#10

many thanks all solved although foobillards is still on the fritx but i think i shall completely remove and then re-install it that hopefully will resolve that one!

is aplay the media player that plays music files if you 'hover' your mouse over them? if so then why was it still running? I'll look into that one as well.

thanks again all back to normal!

regards

Pete

Revision history for this message
pete smout (petersmout03) said :
#11

Thanks actionparsnip, that solved my question.