Good morning again Linux Experts
I want to “tweak” / “maximize the performance” of my linux machine, by turning off all unnecessary (background) services, tasks , corn jobs
For the windows platform i have found an excellent website
Black Viper’s Web Site Black Viper’s Website. This website shows me:
- the purpose of the most general windows background processes,
- what its function is they did,
- if the services was vital to the OS,
- if the services could be switched off safely,
without endangering the stability of functionality of the platform
Question:
1 - Is there a kind of “Black Viper” website on this subject for Linux that tells, show me Which service does What on the linux platform?
2 - Do you know a website / book where i am able to learn more about the Linux services architecture “under the hood”?
3 - Is there a website, book that shows the dependencies of all possible linux services?
With this information i am able to switch off any unnecessary services, cron jobs that i do not want to use (right now)
So far i have found a beautiful website on the Linux Kernel Interactive map of Linux kernel
Thank you for you wise answers to my questions
Ronald
Really dude, this is just not necessary. I have never had the kind of issues that arise in Windows from and overload of running processes etc…
The only area you might want to consider. If it applies - Is Beagle
Either uninstall it or disable it.
Basically, right on caf!
If you’re short of RAM, then you can permit the VM to evict idle process data pages to swap pace, by increasing value of /proc/sys/vm/swappiness for a while to something > 90 from default of 60. Some might like to set that to 0, to avoid page out of data, when they go off to lunch etc.
There’s plenty of “optimise” your linux articles around, but most of it looks like a big waste of time to me. You gain far more by having 1 GiB RAM, or using RAID 10, 0+1 or 0, than diddling about with startup daemons that then go idle.
That said, on install, some things I just deselect eg) HPLIP printer stuff.
With 10.3, zapping Kerry Beagle was pretty mandatory, but in 11.1 it hasn’t proved too annoying yet, so it is under a stay of execution.
I also use disk partitioning to localise disk accesses, and get rarely used stuff (like download images, video stuff etc) in a big partition on slowest part of disk.
Having swap partitions near /usr, and a seperate /var which is maintained with high % free space, probably does help make system more robust under load.
To give you all an idea of “my screaming Linux box”
AMD Duron 1.2 Ghz, 512mb ram, 40 Gb disk,
Yes I agree with you…no Linux roaring monster, but it works fine for my now.
Thanks Caf4926;
- I de-installed Beagle, cause I do not use it and it generated a lot of index files in my /home directory
- I de-installed a lot of other packages that i currently do not need (apache, php, doc files, games, and other stuff that is installed by default)
Thanks robopensuse;
- I’ve de-installed Beagle and other stuff
About the /VAR directory
- Do you know where YAST stores it download packages after an online update?
- If is safe to remove them, after an package is installed om my system?
Thanks, Ronald
512 RAM is kinda slim really - but you should get away with it
/tmp
files in there can be set to delete at re-boot
Yast - etc/sysconfig editor
System - Cron
Max Days in Temp = 1
Temp Dirs to Clear = /tmp
Clear Temp Dirs at Boot = yes
might check here … openSUSE Tweak : Increase openSUSE Speed & Performance | Spirit of Change
i don’t expect it will be noticeable to eliminate un-used services unless you are running some very large applications and are swapping to disk often.