Banish your daemons for a faster Linux PC

Background processes

Services aren't the only anonymous tasks running on your system. Just type ps aux to see a list of running processes, or use the System Monitor tool for your desktop.

You'll see the usual suspects running as daemons with root ownership, and the number of processes running might surprise you. There are tasks that have started as your desktop launches, many of which will be a part of the desktop itself. Our standard Ubuntu installation running Gnome showed 36 such processes running, whereas OpenSUSE with the same desktop had 33.

Many of these processes handle things like the Gnome desktop, audio and the Nautilus file manager, but many others should be optional. For example, why would the GPhoto volume monitor need to run if you don't use GPhoto? A quick check on Mandriva reveals 38 similar processes, and while most are in a sleep state, they're still consuming memory. That might not be so important for the average user with 2GB of RAM, but if you try to install Ubuntu or OpenSUSE on an older machine, it could make all the difference.

One option is to kill those processes using either the System Monitor or the kill command. But Gnome has an excellent Session Manager, and this can be used to specify which processes you want to launch when you log in. If you break something, you can always re-enable the task and try again. Another option might be to replace the process with something more efficient or even more functional. Ubuntu's default search tool, Tracker, is slow at building an index, and its search results aren't always the best.

Beagle, on the other hand, is a drop-in replacement for Tracker. It performs a better job, and takes more memory, but it's also more useful (which is probably why it's used by OpenSUSE 11). And that's the whole point of exorcising your daemons – to get rid of the stuff that you don't use so there's more space on your system for the stuff you do.

-------------------------------------------------------------------------------------------------------

First published in Linux Format, Issue 114

Now read 11 ways to create a successful Linux distro

Sign up for the free weekly TechRadar newsletter
Get tech news delivered straight to your inbox. Register for the free TechRadar newsletter and stay on top of the week's biggest stories and product releases. Sign up at http://www.techradar.com/register

TOPICS
Latest in Software
Shazam song search on an iPhone
Shazam now makes it super-easy to add identified songs to a Spotify or Apple Music playlist – here’s how it works
Microsoft Store logo on a blurred background
There's finally a fix for an annoying Microsoft Store bug that's older than Windows 11
Google AI Mode
Google previews AI Mode for search, taking on the likes of ChatGPT search and Perplexity
ChatGPT Deep Research
I can get answers from ChatGPT, but Deep Research gives me a whole dissertation I'll almost never need
OpenAI CEO Sam Altman attends the artificial intelligence Revolution Forum. New York, US - 13 Jan 2023
Sam Altman tweets delay to ChatGPT-4.5 launch while also proposing a shocking new payment structure
Portrait of African-American teenage boy studying at home or in college dorm and using laptop, copy space
Windows 11’s Notepad gets AI-powered ‘Rewrite’ feature, but not everyone’s going to be happy about it
Latest in News
Stock photographs of people smiling and looking at laptops in a small business environment.
This web hosting platform elevates your online presence
The Samsung Galaxy S25 Edge on display at Galaxy Unpacked
Exclusive: the Samsung Galaxy S25 Edge will have durability to match its ‘sexy’ form
Metaphor: ReFantazio
Sega was Metacritic's highest-rated publisher of 2024 thanks to the critically acclaimed Metaphor: ReFantazio and Like a Dragon: Infinite Wealth
AirPods Pro Review
Apple has quietly updated its guidance on how to clean your AirPods, and suggests you buy a kit… from Belkin
China
Chinese hackers who targeted key US infrastructure charged by Justice Department
A screen shot of Lady Gaga in her interview with Zane Lowe for Apple Music
Lady Gaga’s Spotify press conference is being live streamed today – here’s where you can watch Spotify’s big step forward in fan inclusion