Opensuse 11.4 slow in terms of speed

Hi, I’m new to openSUSE and my computer is quite slow although my computer isn’t that bad. I opened up ksysguard and it appears that my CPU is the bottleneck. My CPU usage is usually 100%, then after a few seconds, it goes down to 20-60% and then it goes back up to 100% after another few seconds. It says I have 141 processes running (I don’t know if thats normal or not).

My Specs are:
CPU: AMD Duron ™ processor 1.8GHz
Graphics Card: NVIDIA GeForce 6200
Memory: 2GB RAM

I’m using KDE if it helps.

Please go easy on me as I have stated, I’m a newb. So, anything I can do to make openSUSE faster?

EDIT: Also, if this is in the wrong thread, please move it to the correct place.

On Thu, 30 Jun 2011 15:06:03 +0000, Krankles wrote:

> Please go easy on me as I have stated, I’m a newb. So, anything I can do
> to make openSUSE faster?

When the performance is poor, open a terminal and run ‘top’. That’ll
tell you what’s eating the processor - what you’re seeing isn’t normal,
so we need to figure out what it is that’s eating the processor cycles
and then determine why.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

At the top is shows Xorg using the most CPU usage but it uses only 2-3% of the CPU. Xorg, kwin, yakuake, top, krunner, mysqld, packagekitd, dbus-daemon, and polkitd uses CPU but it only uses 1-3%…

Funny thing is though, is that krunner, mysqld, packagekitd, dbus-daemon and polkitd only sometimes pop up after 10 seconds or so. Strangely, all these processes only uses 1-3% so they can’t add up to 100%…

EDIT: It seems that in ksysguard, it says it uses 100% but when running top, it says it uses 1-15%… And when running them both together, in top it says it uses 40-60% cpu usage and in ksysguard, it uses 20-100% cpu… so is ksysguard lying? Even if it is “lying” my computer is sluggish when not running anything. I click the start menu button and it pops up sluggishly, not smooth.

Nevermind, it doesn’t pop up sluggishly but it does in the first few hours. I left my computer on for 1 hour and things are smooth when nothing is running. However, at this time, I open up firefox and then I click the start menu button, it pops up sluggishly. Same thing if I open up anything.

I open up Dolphin, and then I click start menu button, it moves up kind of smooth, but you can see its sluggish still. This is really strange. I had this since I installed openSUSE. I think it’s because of the processes its running. Remember, I had over 130 processes, unless thats normal…

Your processor might be a bit underpowered for what you are doing.

If you have not already done so, try disabling Desktop Effects.

Okay, things seem a bit faster with it disabled. Any other ideas to make it faster? I don’t care if things look really ugly and stuff. I just want it to the point where its nice and fast. Although, isn’t 1.8Ghz enough for smoothness? I heard some people have smooth computers with 512mb of RAM and 1Ghz processor.

On Thu, 30 Jun 2011 16:06:02 +0000, Krankles wrote:

> Nevermind, it doesn’t pop up sluggishly but it does in the first few
> hours. I left my computer on for 1 hour and things are smooth when
> nothing is running. However, at this time, I open up firefox and then I
> click the start menu button, it pops up sluggishly. Same thing if I open
> up anything.
>
> I open up Dolphin, and then I click start menu button, it moves up kind
> of smooth, but you can see its sluggish still. This is really strange. I
> had this since I installed openSUSE. I think it’s because of the
> processes its running. Remember, I had over 130 processes, unless thats
> normal…

What kind of video card do you have, and do you have effects turned on?
If you’re not using an accelerated driver and have 3D effects enabled,
the CPU has to handle those tasks, and that can cause Xorg to suck CPU
like there’s no tomorrow…

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi there,

I’m not sure if I’m going to be of much help however, it would be a good idea to install the proper 3D drivers for the Nvidia card, regardless of whether you’re using 3D effects or not. Other than that I can’t really suggest anything else. I believe that the Duron chip in question is quite old is it not? Clock speeds on older CPUs don’t really mean too much due to their age. You could always try to install and the XFCE or LXDE desktop environments as they are a hell of a lot lighter on system resources and you should notice a huge speed boost.

Yours,

Tom

On Thu, 30 Jun 2011 16:36:02 +0000, Krankles wrote:

> Okay, things seem a bit faster with it disabled. Any other ideas to make
> it faster? I don’t care if things look really ugly and stuff. I just
> want it to the point where its nice and fast. Although, isn’t 1.8Ghz
> enough for smoothness? I heard some people have smooth computers with
> 512mb of RAM and 1Ghz processor.

It depends on what you’re doing with the system. Disabling desktop
effects helps, certainly, if the CPU is having to do the work that a
higher end GPU (with a proper driver) would be doing on its own.

I’m running 11.4 on a number of systems, but the one I’m posting this
from is a 2 GHz laptop with 1 GB of memory, using GNOME 2, and it’s
pretty responsive with desktop effects - but I have the OSS radeon driver
(which has acceleration in it) for video effects.

But the system also isn’t doing a lot. By definition, if the system were
doing more intensive tasks, the system would be less responsive.

Are you using the ‘desktop’ kernel (you’d select that from the grub menu
when starting up)? That is optimized for better desktop responsiveness.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

My graphics card is NVIDIA GeForce 6200 and I have 3d Effects off. I have already installed the Graphics Card Drivers. I guess there’s nothing else to do to increase speed?

I am running a 1.8 GHz Sempron, with 1 GB of memory. It’s fast. Here is the output from “top” without the sleeping processes showing. You might compare it with yours. Note the 134 tasks running.

top - 19:42:23 up  7:53,  3 users,  load average: 0.16, 0.24, 0.20
Tasks: 134 total,   1 running, 133 sleeping,   0 stopped,   0 zombie
Cpu(s):  5.6%us,  1.3%sy,  0.0%ni, 92.4%id,  0.7%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    983112k total,   770656k used,   212456k free,    32840k buffers
Swap:  2111484k total,     9136k used,  2102348k free,   523820k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                              
 1100 root      20   0  101m  57m 3956 S  3.6  6.0  17:26.54 Xorg                                                 
19906 ion       20   0  130m  18m  14m S  2.0  1.9   0:00.87 konsole                                              
19921 ion       20   0  2516  988  736 R  0.3  0.1   0:00.07 top                                                  
    1 root      20   0  2216  660  616 S  0.0  0.1   0:01.23 init                                                 
     

Hm… ours aren’t that much different…

top - 18:47:27 up  4:54,  4 users,  load average: 0.06, 0.05, 0.05
Tasks: 137 total,   2 running, 135 sleeping,   0 stopped,   0 zombie
Cpu(s):  5.3%us,  2.0%sy,  0.0%ni, 92.4%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2060860k total,  1062896k used,   997964k free,    50232k buffers
Swap:  2103292k total,        0k used,  2103292k free,   704920k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                            
12018 root      20   0  107m  47m  10m S  4.0  2.4   1:43.88 Xorg                                                               
14812 root      20   0 31300 8072 6904 S  3.0  0.4   0:00.09 packagekitd                                                        
12293 Krankles  20   0 93776  20m  16m S  2.7  1.0   0:02.93 yakuake                                                            
  910 messageb  20   0  3612 1588  816 S  0.7  0.1   0:35.86 dbus-daemon                                                        
 1336 root      20   0 26504 4824 3520 S  0.3  0.2   0:08.05 polkitd                                                            
12319 Krankles  20   0 82244  16m  13m S  0.3  0.8   0:00.26 akonadi_contact                                                    
14810 Krankles  20   0  2760 1112  824 R  0.3  0.1   0:00.04 top                                                                
    1 root      20   0  2216  728  620 S  0.0  0.0   0:01.09 init                                                               
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd                                                           
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.38 ksoftirqd/0                                                        
    4 root      20   0     0    0    0 R  0.0  0.0   0:02.84 kworker/0:0                                                        
    5 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kworker/u:0                                                        
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0                                                        
    7 root      RT   0     0    0    0 S  0.0  0.0   0:00.06 watchdog/0                                                         
    8 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 cpuset                                                             
    9 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 khelper                                                            
   10 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 netns                                                              
   11 root      20   0     0    0    0 S  0.0  0.0   0:00.04 sync_supers

It is amazingly smooth and fast when idling. However I’ve noticed an improvement when I disabled the Desktop Effects. When running firefox, and trying to open up start menu, it pops up as normal when idling. CPU usage is 50-60% which is pretty normal IMO. But when running KDevelop, its a bit slow. A lot faster than before though.

I’d like to say thanks but if there’s any other tips to improve my computer’s speed, don’t hesitate. :stuck_out_tongue:
However, I saw online that if you disable swap or something, it’ll improve speed… Is this true? Should I disable it? If so, how can I disable it?

Thanks.

Not using swap isn’t something I’d recommend without a lot more memory than you have, especially as with a processor that old your ram is probably ddr

Disabling swap used to be a popular(ish) thing to do in windoze in an attempt to speed things up but linux handles memory differently to windows anyway, many would say better than windows and according to top you’re only using about half of your available ram

Mem: 2060860k total, 1062896k used, 997964k free, 50232k buffers

Generally speaking the slicker something is the more resources it uses and kde is pretty slick and feature-rich, so given the limited resources your machine has the earlier suggestion about trying the lxde desktop is something worth thinking about, you would still be able to use your kde apps in lxde. To be fair mate, although you say your computer isn’t ‘that bad’ it isn’t really that good either, I was running a machine with similar spec to that back in the early days of xp so you are talking very dated hardware and things have moved on an awful lot since that hardware came out

You certainly don’t need the latest and greatest kit to run OpenSuse well, I have a machine here with ddr ram that runs 11.4 perfectly well but then it does have a 2 gig dual-core skt939 athlon cpu and pci-e graphics wheeras your geforce 6 is very possibly agp, and with kit as old (and probably tired) as what you’re running there’s a limit to what you can expect of it. Having said all that though, here’s a couple of things you can try that may or may not help your kde run a bit better

Use a solid colour for your desktop background instead of any of the other types (it’s usually an image)

Click your menu, open System Settings, Desktop Search and if Strigi desktop file indexer is enabled, disable it & Apply it then go back to Overview

Go into Startup and Shutdown, Service Manager. In the Startup Services section there are probably some things you can turn off:

Bluetooth isn’t something people use so much these days so if you don’t need or rarely use bluetooth there are 2 services here you can turn off by unticking them, bluedevil and obexftp I believe they’re called

synaptiks is for laptop touchpads but even with it off my laptop works fine so you may not need this one either

KPackageKit Service, a lot of people turn this one off purely because they don’t like kpackagekit preferring to use yast or zypper to do their updates, using yast or zypper for it isn’t any great hardship

NetworkManager, unless it’s a laptop that you regularly connect to different networks can be disabled but be aware you may have to reconfigure your connection using Yast

Now go to Yast, System, System Services (runlevel) and there may be some more in here you can turn off

brld - unless a blind person uses your computer you don’t need this

cups - if you don’t use a printer this should be safe to turn off

sshd - if you don’t access your computer from another machine using ssh or nx you can turn this off, might even make your machine a bit more secure

vbox entries - If you have any of these and don’t use VirtualBox to run virtual machines you don’t need anything with vbox in it’s name

There’s also at least one bluetooth entry in there but I can’t remember what it/they are called as I have everything bluetooth removed for a reason I won’t bother going into

As I said disabling this stuff may or may not make your kde run better and other people may be able to suggest other things you can disable or even disagree with some I’ve said that you can, I do know of some others that can be turned off but I’ve tried to avoid suggesting you try turning off anything that may have an adverse effect on your system. Every system and it’s usage scenario is different so often when trying this kind of stuff out you’re just going with a ‘suck it and see’ approach, meaning you won’t know if changing something’s gonna improve things until you try them … and sometimes you may even break things, so just be careful and use some common sense

Thanks but I’m having troubles changing my desktop background to a solid colour. Also, how can I change to LXDE? Also, will I be able to use my KDE applications AND still be able to install KDE apps? I don’t want to lose any of my KDE apps because I use KDevelop and such.

So how can I install LXDE? (Sorry for being a newb)

Everyone’s a noob about something at some point or other … I know I am!

Before going into lxde, what’s the problem you have changing your desktop background, have you not found how to do it or does it just not work when you try?

Regards to lxde, I don’t usually install it and it’s been a while since I have so what I’m about to tell you is I believe a fairly simple way to do it but as yet I can’t go into great detail until I do it myself, which I’m gonna do after this post to give me a better chance about answering questions you might have and because I ain’t looked at lxde on opensuse in quite some time

Go to software.opensuse.org: Download openSUSE 11.4 and type lxde in the search box under where it says ‘Search and install software packages from the openSUSE Build Service’ towards the top of the page

The top result should say something like:

LXDE [Software collection]
“Lightweight X11 Desktop Environment”, is an extremely faster, performing and energy saving desktop environment.

To the right of where it says that will be a 1-Click Install link, click on that, your browser should ask to open the file with something like Install Software, Software Manager or Yast Metapackage Handler, let it do that and wait a few seconds

Yast’s software installer should then open and from that point on basically read what’s on the screens you’re presented with and follow instructions, you can usually just accept it’s proposals but do read them first and apply common sense, ask if you get stuck

Sometimes with 1-click installs you are asked how you want to resolve conflicts, if that happens choose the first option for each conflict then click try again and it should start the installation

Hi, and thanks for your help.

I do not know how to change it. I looked online but it was confusing and it was for GNOME and not KDE. Also, for LXDE if I install this, will i still be able to change back to KDE because i mean like at the login screen, theres this part where it says Session Type and when you click it, you can change to KDE and stuff. And thirdly, will I still be able to use KDE apps when using LXDE? I don’t want to lose my KDE apps for this.

You will still be able to login to kde, and yes you can use your kde apps in lxde

To change your desktop background, right-click the desktop and click on the bottom entry on the menu you get, something like Configure Desktop

In the screen you get click on Wallpaper, select Colour, there are several Background modes, if you leave it on Solid click the button by First Colour with a coloured box on it and choose a colour, click Apply to see how it looks, click Ok when you’re happy with it

Installing lxde with the one-click didn’t throw up any conflicts here by the way, haven’t booted into it yet but no problems were reported

Thanks Ecky! Hopefully this will work and improve my speed.

Happy to help mate

I just logged into lxde … and Jesus H Christ!

I’d forgotten how much quicker than kde it is, who needs plasmoids lol!

This is a very powerful machine and I’d put the occasional bit of kde sluggishness down to using network logons and profiles, but a quick look round lxde soon dispelled that myth, everything I tried opened in like an instant which made me think I need to take a closer look at lxde

For quite a while now I’ve been thinking of trying something other than kde for a spell mainly cos of akonadi being such an annoyance that it’s been kinda putting me off kde and this whole experience just might’ve given me the jolt I need to bite the bullet, get off my rear and give some other environments a fair go

So ya see Krankles, helping you out just might’ve served to help myself at the same time, definitely given me something to think about

Good deeds bring their own rewards :wink:

BTW: Any mods wanna rename this thread to 'KDE on Opensuse 11.4 slow in terms of speed ’ - [joke]

On 06/30/2011 09:36 AM, Krankles wrote:

> My graphics card is NVIDIA GeForce 6200 and I have 3d Effects off. I
> have already installed the Graphics Card Drivers. I guess there’s
> nothing else to do to increase speed?

If you haven’t already, disable ipv6. That’s an issue in Firefox in
particular. Not so much a cpu issue, but just a timeout thing.

From the command line run:
netstat -tap
and check what ports are listening on your box. Things like

Also from the CLI run:
chkconfig | grep on
which will tell you what daemons are started automatically. If you’re
not using them you can shut them down. For instance, I usually turn off
avahi*, and portmap and probably some others that escape me right now.
It’s both more secure, and why consume resources with programs that you
aren’t using.

You can stop them from loading at boot by typing (as root):
chkconfig NAME off
where NAME is the name of the program. For instance, if I was stopping
my web server I’d type ‘chkconfig apache2 off’.

HTH…

…Kevin

Kevin Miller
Juneau, Alaska
http://www.alaska.net/~atftb
“In the history of the world, no one has ever washed a rented car.”

  • Lawrence Summers