6 Answers
6

File Cleaning / Space Saving / Privacy

Just to give an idea, taking Windows as base. In windows you need to do a cleanup mostly every week if not every day (I use as an example the fact that I worked in over 30 cyber cafes which are in total more than 500+ PCs. The work the got from users made having to cleanup everyday a typical job.). In Ubuntu, this cleanup is actually not needed so often, but if you actually need to do it you have several command line tools like apt-get or aptitude that do a nice cleaning and GUI tools like ubuntu tweak that also do this. The cleanup for Ubuntu can be done every 6 to 12 months. Yes that is right, every so many months you can do it or in my case every 2 or 3 years.

This really depends on the amount of work you put the PC through. When I say work I mean, downloading files, moving files, creating files, deleting or copying files. All of this on a daily basis. Most Windows users know that the performance of any Windows degrades really fast if no optimizations are done. I have had cases where the user has gone a full year with no need to optimize anything and had other cases where the user had to literally format the PC after a month. It depends on the computer usage. The 1 year guy used the computer for word processing and internet only. The 1 month used it to download a lot of stuff, music, videos, games, deleted some, moved some, etc.. In all of this time, both did not do any optimizations.

In Ubuntu you do get a performance degradation, but from experience you need to:

Install many services that also create many files (LAMP Server, Mail Server, FTP Server, etc..). The performance will go down for about 5%. At least for a full year, that is all that will happen. You might see more performance lose but you need to wait a lot (Like a 3 to 5 year wait). The immediate downside is the booting time and shutting time since you have services running that need to close client connections and such. Apart from that, there won't be a slowness as known in Windows.

Install many programs (Video Editors, Sound Editors, Games, etc..). Similar to the performance drop when installing services but not so much so. You can even install programs up to a point of using 99.99% of the hard drive space and Ubuntu will not create a performance drop. At least I tested this with Wine games and OpenGL games to see if they got hit with a performance drop using an HDD almost full.

If by performance and space wasted you are worry, then you can do the check every year or two since you will not be wasting a lot of space. Performance wise, Ubuntu (or any other distro for that matter) is not influence in performance by the amount of garbage left behind in the system that fills the HDD. That is a Windows problem not a Linux one where, if you get around 25% to 35% of the space left, the system starts slowing down (Shown more in Windows XP than in Vista or 7/8). Anyway, like I said before, having a 99.99% hard drive full of stuff will not slow you down. The only thing is you would need to clean your logs which are found in /var/log. This will increase overtime and the folder will hold many Megabytes or Gigabytes of information depending on the amount of time and the services installed. For a 6 month cycle, I get around 20MB in the log folder.

BleachBit is an advance cleaning utility for Ubuntu (Similar to CCleaner) and other distros that really, REALLY cleans the system. You can find it in the Software Center just by searching for bleach. What makes it different from the Ubuntu Tweak is that it searches for many common folders that many apps use to store cache/temp files. Apart from that improves a little bit the performance of browsers (since it cleans them out too) and libreoffice. There are a lot of more stuff BleachBit does but go to the site for more info. +1 Uri for the reminder.

Note that this is usually done every so many months or years, not everyday or every week like in Windows. Linux and Ubuntu have a unique way of always been optimized for this type of "problems". And before you ask, Fragmentation in Ubuntu is a very hard thing to do. Fragmentation at the level we see in Windows takes many months, even years so a fragmentation of 2 months in Windows (And the slowness that comes with it) is roughly like 2 or 3 years in Linux (and even then is not slowed down like in Windows).

For a general check I have 2 1TB hard drives, one is 0.91% non-contiguous and the other is OMG!! 1.2% non-contiguous... after 2 years of everyday, constant use. So am guessing in 2050 I will eventually have to "defragment" the hard drive, unless I bought a new one or formatted the existing one ;).

For Energy Efficiency

For battery performance, it is known that the following tools do help:

The only downside is that you need to tweak the configuration file in order to get the most out of your battery, but using tools like powerstat can let you know easily if you are optimizing it right or wrong.

OMG Uri I forgot about that one and its the one I installed in 3 PCs last week. Lol. Thanks will Add.
–
Luis Alvarado♦Nov 20 '11 at 22:24

1

It's an exaggeration to suggest Windows needs cleaning 'mostly every week if not every day'. You can promote Ubuntu without having to make unnecessary (and incorrect) comparisons.
–
bcbcNov 22 '11 at 21:09

1

A computer in a cyber cafe and a normal single-user Windows computer are not comparable. But that certainly clarifies your response.
–
bcbcNov 23 '11 at 19:00

Cleaning is not necessary, but for the meticulous among us it's highly recommended ;)

apt cache can grow quite quickly, especially when a lot of new kernels are being installed

buggy applications can leave a file here and there, and make a mess in the filesystem. For example on my 10.10 system I have a few dozen ~/.recently-used.xbel.XXXXX and ~/.org.chromium.XXXX useless files.

Uninstalled applications often leave their config files in your home directory.

If there is a problem in your system, logs can grow huge - check the size of the /var/log and ~/.xsession-errors.

More often than not it is the user who leaves a lot of junk everywhere. Open up the Baobab disk space analyzer or any such to get an idea what has accumulated on your disk over time.

all the thumbnails get stored and are never cleared up even though you've deleted those pictures or will never use that photo CD again.

actually, it does need cleaning up, quite often in my opinion, the best app for that is bleach bit, its a little like the famous CCleaner on windows, Bleachbit is in the software centre

cleans up your firefox cache, apt cache, empties trash etc etc, it should come peinstalled in ubuntu to be honest, if you have been running your system a while, you could potentally free up hundreds of MBs on first run of bleachbit

I have to disagree Jayo, since 5.04 I have not found the need (Not talking about Ubuntu only here) to do a clean up quite often as the experience I had in Windows. In my case, using Firefox for the 6 month period that I have used it before formatting/installing/upgrading to the next version of Ubuntu has only gotten me about 2GB to 3GB of garbage space. This, without doing any cleaning of any sort and accumulating all download updates without deleting them afterwards (Including log an browser cache). Comparing this to about 15GB in Windows in the same time period that is about 80% less.
–
Luis Alvarado♦Nov 22 '11 at 16:49

i didn't at all say that the garbage accumulated in ubuntu was near the level of windows, I mentioned that bleachbit was similar to ccleaner (www.piriform.com/ccleaner) on windows, in what they do. after a first run of bleach bit, it will free up 100 or more mbs, every time. but its other functions is to clear caches of firefox and thumbnails, localizations etc. its great for privacy too, in the case of cleaning browser caches, which cleans out cookies and flash cruft also, it worth running at least once a month in my opinion
–
JayoNov 22 '11 at 16:59

Don't worry I am only talking about the frequency of cleaning. In my case the frequency is null since by the time the new version comes out there is no need for a clean up.
–
Luis Alvarado♦Nov 22 '11 at 17:19

1

fair enough,but in my expirience privacy wise its worth running often, and also the less garbage hanging around my home folder the better, as it does seem like a swifter system in my opinion, if your system doesn't slow down with a few gbs of junk in it thats cool
–
JayoNov 22 '11 at 17:48

hello IMHO ubuntu does need that too with time pass you install/remove things lets say you ll have some config files that you dont need anymore beside that some orphane packages of course some thumbs ... , you can try bleachbit

Ubuntu and other flavors of Linux don't really need cleaning up as you might do in Windows. Over time, of course, you might accumulate things on your computer that you might not wish to keep - old documents, no-longer-used programs, etc. - but there is nothing really akin to the Windows registry that simply builds up clutter that slows your computer. The old stuff you save won't slow down your computer: it will probably run as fast a year from now as it does today.

I go through things from time to time to keep things neat and clean, because I like being organized, and that includes getting rid of old stuff. However, unless I decide to change settings or remove startup programs or something like that, my neatness obsession doesn't affect my computer's performance.