1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-09-20 06:33:24 +01:00
wiki.mbirth.de/know-how/software/linux/_posts/2008-08-23-optimizing-linux.md

30 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2015-03-29 20:32:35 +01:00
---
created: 2008-08-05 16:45:57 +0200
2022-01-23 17:14:59 +00:00
layout: redirect
layout_old: default
redirect_to: https://blog.mbirth.de/archives/2008/08/05/optimizing-linux.html
2015-03-29 20:32:35 +01:00
tags:
2022-01-23 17:14:59 +00:00
- know-how
- software
- linux
title: Optimizing Linux
toc: false
updated: 2008-08-23 18:48:33 +0200
2015-03-29 20:32:35 +01:00
---
2022-01-23 17:14:59 +00:00
2015-03-29 20:32:35 +01:00
At [Ubuntu Unleashed](http://www.ubuntu-unleashed.com/2008/04/tweak-and-optimize-ubuntu-linux-boot.html) you can find a
document about different settings to optimize startup times of the system and applications itself.
2015-03-29 21:05:46 +01:00
The `noatime` and `nodiratime` settings are unneccessary in Hardy as the default option `relatime` only updates the
2015-03-29 20:32:35 +01:00
*access time* if the file has been modified after the last access timestamp.
You can enable the full power of the [upstart](https://launchpad.net/upstart) manager by enabling multi-threading.
2015-03-29 21:05:46 +01:00
In `/etc/init.d/rc` at line 24, set `CONCURRENCY=shell`. But beware of slight problems upon booting. Some services might
2015-03-29 20:32:35 +01:00
be started before depending services are. Also some lines upon startup are printed twice. If you have problems
2015-03-29 21:05:46 +01:00
getting your machine up and running, change it back to `none`.
2015-03-29 20:32:35 +01:00
2015-03-29 21:05:46 +01:00
Another nice feature is adding the `profile` option to the kernel line upon boot. The bootup will take longer than
2015-03-29 20:32:35 +01:00
usual but the readahead-daemon will catalog all needed files and on the next boot (without that parameter), all needed
files will be preloaded before boot.
2022-01-23 17:14:59 +00:00
On Desktops with much RAM, the [preload](http://sf.net/projects/preload) daemon also speeds up working.