Help - Search - Members - Calendar
Full Version: Linux is being sluggish
Neowin Forums > *nix Customization & Support > Linux Client Support
Power Surge
I've recently put Yellow Dog Linux in my iBook and have been running it for awhile and I've noticed that is a bit slower than the other mac OS's I use, is it normal for Linux to take longer opening applications and web pages? I've checked their webpage and my iBook is supported and I want to see if this is a problem I can solve.
mr_daemon
Well, if that can be a pointer, I am running Gentoo on my iBook and the thing *flies*.

I would check if you have name resolution issues, I heard this can make Gnome sluggish...
Power Surge
Thanks, I'm not quite sure that sounds right though, to what I've come to understand my distro uses KDE instead of GNOME, or am I mistaken and too much of a newb to notice what these things really mean.
saiz66
I also find my Ubuntu on my laptop a bit sluggish.. i am not sure if it is my laptop or ubunut or something else??.. it isnt very bad.. but my xp is much faster.. i always thought linux would be quicker. hmmm..
markjensen
Shouldn't be sluggish, unless you are using up more memory than you have available RAM.

Try free or top to see if you are using more than you think you are.
MateoGWJ
Linux can be optimized, fellas.

The issue is, how much are you willing to screw up, and how much do you want to learn?

Some relatively easy fixes:

First, you can shut off unneeded services, such as Samba, and Apache, on a laptop. Also you might want to consider shutting off any networking by default, since we're talking laptops: it might not be always connected. You can restart it later via the console.

Second, you can recompile the kernel, removing support for anything you don't need. The kernel is getting big, and can run everything from a lappy 486 to a mainframe. You don't need everything loaded. Follow the directions to the letter though, or your system will get fubared.

Third, you can aggressively manage your memory. IF you are running KDE, and you have only 256MB, you've got a problem. Linux is, at it's heart, Unix like, which means real multitasking, which places a premium on RAM.

You can get around having low available ram by forcing the kernel to drop everything into the /swap partition, but since I've never done it, I don't know what sort of increase you can get from it. More RAM is generally better, and cheaper, so, get 512 or greater.

If you can't get more RAM, consider using another DE as a host for KDE apps. For example, XFCE is pleasant to look at, functional, but takes up less system resources than KDE. If you open KOffice, for example, while in XFCE, it's only going to use the processes it absolutely needs to support the app.

Finally, you can play around with the CFLAGS when you compile/recompile. A good link on this is:

http://linuxreviews.org/howtos/compiling/

Gentoo users are old hats at this. Consider this the advanced option. There is a link off that page which gives safe CFLAGS options by architecture.

Good luck.

Knight'
Meh, the Gentoo speed increase is over-rated. The real power Gentoo has is portage and the "hands off" approach of installing/updating software.

And, the truth is, desktop applications do seem to start slower. You can get big speed increases by pre-linking your libraries, but I find it's annoying to have to constantly prelink them everytime you update your software.
Power Surge
Thanks for the help *goes and tweaks settings*
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.