<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pelago :: web design &#38; development blog &#187; performance</title>
	<atom:link href="http://www.pelagodesign.com/blog/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pelagodesign.com/blog</link>
	<description>Santa Barbara Web Design and Web Development Blog on the web world and other randoms</description>
	<lastBuildDate>Wed, 09 Mar 2011 16:31:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>How to make Ubuntu Linux run faster on a laptop</title>
		<link>http://www.pelagodesign.com/blog/2009/07/21/how-to-make-ubuntu-linux-run-faster-on-a-laptop/</link>
		<comments>http://www.pelagodesign.com/blog/2009/07/21/how-to-make-ubuntu-linux-run-faster-on-a-laptop/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 20:20:03 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Creative Engineering]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.pelagodesign.com/blog/?p=464</guid>
		<description><![CDATA[If you google around on the web you will find there are several tutorials on how to make your Ubuntu Linux installation run faster &#8212; especially on older hardware. These tips are very useful and range from minor tweaks to major overhauls. Being an intermediate Linux user myself, I found some of the more difficult [...]]]></description>
			<content:encoded><![CDATA[<p>If you google around on the web you will find there are several tutorials on how to make your Ubuntu Linux installation run faster &mdash; especially on older hardware. These tips are very useful and range from minor tweaks to major overhauls. Being an intermediate Linux user myself, I found some of the more difficult optimizations to be overwhelming and not something I would want to try at home &mdash; changes to how Linux writes to the hard drive, for example. While researching and implementing the optimizations I felt comfortable with on my older Dell laptop and my new Asus eeePC 901, I jotted down all of my notes for future reference. Below are some tips for the intermediate user on how to optimize your laptop (or desktop) running Ubuntu Linux.</p>
<p>&nbsp;</p>
<h3>Reduce Swappiness</h3>
<p>Most laptops have enough RAM installed that the swap space on the hard disk shouldn&#8217;t really be used. Yet the default setting for swappiness in Ubuntu is 60. By lowering it to 10 we can reduce the number of read/writes the the hard disk. This is especially handy for netbooks with solid state drives in them. To reduce the swappiness, follow these steps:</p>
<ol>
<li><code style="font-weight: bold;">sudo sysctl -w vm.swappiness=10</code></li>
<li>Add the following line to <em>/etc/sysctl.conf</em><br />
<code style="font-weight: bold;">vm.swappiness=10</code></li>
</ol>
<p>&nbsp;</p>
<h3>Preload</h3>
<p>Preload is an adaptive read-ahead daemon that monitors running applications and analyzes them for commonalities. It then uses this data to predict what applications you might run and preloads them into memory. The result is faster startup times for commonly used programs. Installing preload is as easy. Just run the following line in a terminal window:</p>
<p><code style="font-weight: bold;">sudo apt-get install preload</code></p>
<p><a href="http://www.goitexpert.com/general/load-application-quicker-in-ubuntu-with-preload/" title="Load Application Quicker in UBUNTU With Preload">&#187; For further explanation, read this article on loading applications quicker in Ubuntu using preload.<br />
</a></p>
<p>&nbsp;</p>
<h3>Boot-Up Manager</h3>
<p>The Boot-Up Manager (BUM) is a useful utility for starting and stopping boot-up scripts. Once installed it will appear in the <em>System -&gt; Administration</em> menu. You can use BUM disable unnecessary boot-up scripts that may be slowing down your boot time. For example, I disabled saned, an API library for scanners, because I know I&#8217;ll never be attaching a flatbed scanner to my laptop. To install BUM:</p>
<p><code style="font-weight: bold;">sudo apt-get install bum</code></p>
<p><a href="http://www.marzocca.net/linux/bumdocs.html" title="Boot-Up Manager Documentation">&#187; Read the documentation for Boot-Up Manager</a></p>
<p>&nbsp;</p>
<h3>Startup Applications</h3>
<p>If you are using Gnome for your desktop manager there will be an option to select which applications are started when you login. Go to <em>System -&gt; Preferences -&gt; Startup Applications</em> and uncheck the programs you don&#8217;t need. For example, I disabled the Evolution Alarm Notifier because I don&#8217;t use Evolution for setting alarms. I also disabled the Remote Desktop server, UME Desktop Launcher, and UNR Launcher. Just be careful to uncheck them and not remove them. In the case that you&#8217;ve removed something critical,  you&#8217;ll want to be able to get it back. </p>
<p>&nbsp;</p>
<h3>Replace Metacity with Openbox</h3>
<p>Openbox is a minimalistic and lightweight window manager that is known to run much faster than metacity, its bulkier counterpart. And you can easily get it working while still using Gnome as your window manager / desktop environment. By running Openbox inside the Gnome environment your desktop will become cleaner and faster. To install it, follow these steps:</p>
<ol>
<li>Install openbox using:<br />
<code style="font-weight: bold;">sudo apt-get install openbox obconf openbox-themes</code></li>
<li>Setup openbox as the default window manager by adding an entry in Startup Applications.<br />
To do this, go to <em>System -&gt; Preferences -&gt; Startup Applications and enter the following:</p>
<ul>
<li>Name: Openbox</li>
<li>Command: openbox &ndash;&ndash;replace</li>
</ul>
<p></em><em>Note: According to the Openbox documentation you can make it the default by choosing the GNOME/Openbox session when logging in and saving this as your default session. However, this functionality is broken in 9.04. The above steps are a workaround until this is fixed.</em>
</li>
<li>Choosing the Openbox theme and other configuration settings<br />
Go to <em>System -&gt; Preferences -&gt; Openbox Configuration Manager</em> to choose a theme you like and to update other settings such as Appearance and Windows.<br />
<em>Note: changing the Desktops setting doesn&#8217;t effect the Gnome applet controlling the number of desktops. To change the number of desktops, you will need to revert back to Metacity and change them, then re-enable Openbox</em>
</li>
</ol>
<p><a href="http://icculus.org/openbox/index.php/Main_Page" title="Openbox, a highly configurable, next generation window manager with extensive standards support.">&#187; More information, documentation and screenshots available at the Openbox web site</a></p>
<p>&nbsp;</p>
<h3>That&#8217;s all for now</h3>
<p>I found that making these few simple changes decreased load times on my older laptop significantly and made my newer netbook more minimal. Hopefully, these tips will help you as well.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pelagodesign.com/blog/2009/07/21/how-to-make-ubuntu-linux-run-faster-on-a-laptop/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

