Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
in general, what can i do to speed up my linux box? compile a slimmer kernel? if i could get wine to work well enough i would use linux for my main os. (desktop/gaming)
Originally posted by Squall Here's all ya need:
Kernel
X
Ratpoison
Emacs
Everything else is just bloat.
That should get your system running pretty damn fast.
That's not particularly helpful, dude. That may be all you need at your level of expertise, but in all likelihood the original poster needs somewhat more than that.
You didn't say what window manager you're using. If you're using KDE or Gnome, you could try Fluxbox or Enlightenment. There's a lot less chrome but that means there's a lot less drain on your resources.
You certainly could compile a slimmer kernel, although in my experience it's very easy to compile one that simply doesn't work. Still, you shouldn't harm anything by trying so you can always give it a go. Leave stuff out a bit at a time and see what stuff you can compile out of the kernel and still have it work OK.
Take a look at your hdparm settings. Do a "hdparm /dev/XXX" where XXX is your primary and/or secondary drives. For me I do a "hdparm /dev/hda"
Check to see if DMA is turned on and if you've got a modern HD and IDE chipset that IO_support is set to 3. Then dive into the hdparm man page to check out the tweaks that you can do. Every setup will be a little different but you can test each change with the -t and -T flags (use "hdparm -tT /dev/XXX"). I almost forgot to say that you should also do your testing in single user mode (runlevel 1) by dropping out of your GUI and doing a "telinit 1" as root at a console.
You should probably also check to see what services you have running. If you have installed packages such as MySQL or Postfix, they might be set to automatically start when you boot. In mandrake you can check these by running "/sbin/service -s | more" as root.
Then if you see that you are running stuff you don't need to be you can go into the configuration tools and turn the services off, or go to "/etc/rc.d" and rename the services from that match "S??<name>" to "K??<name>" where ?? is a two digit number and <name> is the service you want to disable at startup.
Personally, I wouldn't bother compiling a kernel unless you really feel the like expirementing. Running a slimmer DE like icewm does also speed things up, but I miss the conveniences of KDE.
P.S. The nonsense about changing distro is a waste of time. :-) It's only "bloated" if you tell it to install everything. Even then, all that happens is some wasted disk space.
I do recommend compiling yourself a custom kernel, I am pretty sure it made a difference for me.
As far as getting wine working to the point where you can replace windows completely, I wouldn't plan on it. I don't use windows much now except for games, but truth be told I can't get the same fps out of linux as windows...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.