Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 26-02-2008, 08:33 PM   #1 (permalink)
Unmountable Boot Volume
 
Cyrus_the_virus's Avatar
 
Join Date: Sep 2007
Location: Kerala
Posts: 907
Arrow Drastically Speed up your Linux System with Preload


Introduction
Preload is an "adaptive readahead daemon" that runs in the background of your system, and observes what programs you use most often, caching them in order to speed up application load time. By using Preload, you can put unused RAM to good work, and improve the overall performance of your desktop system.


Installation
Installing Preload on Ubuntu is easily done with the command:

Code:
sudo apt-get install preload
Preload is in the package repositories of many different managers, so users of other distributions should check their appropriate package managers to see if it's available. If not, you can always install Preload via its page on SourceForge.net

Once installed, Preload will start, and no further action is necessary, but read on for configuration options, to learn how to monitor Preload's activities, and see what kind of improvements Preload will bring to your system.


Configuration
The configuration file for Preload is kept in /etc/preload.conf and the default values should be fine for most people. But if you want to tweak the operation of Preload, an explanation of the options is available in the configuration file as well as in the paper written by its developer, Behdad Esfahbod. Some common options available are:

Please check the table here: http://www.techthrob.com/tech/preload.php

As I noted previously, the default values should be fine for most people, and you really shouldn't change these values unless you have a specific purpose in mind.

I've heard concerns about Preload's RAM usage, so I want to make it clear that Preload will not drain your system memory! On my system with 1GB of RAM, preload has given itself 83670kb as it's maximum available memory size; and of that, it's only using 35% of that at the moment!


Monitoring
If you want to check up on what resources Preload is using, you can monitor its logfile by running:

Code:
sudo tail -f /var/log/preload.log
By default (you can manually set the verbosity of Preload with the "-V" flag; for more information, check Preload's man page) this won't tell you much information about Preload except for the amount of memory it has allocated and how many files it's watching. If you want more information about the specific files that Preload is caching for you, look at this file:

Code:
sudo less /var/lib/preload/preload.state
The beautiful thing about Preload, however, is that you can ignore these files completely; you might want to check up on the log every once and a while, just to make sure that it's running, but Preload will happily sit in the background and stay out of your way.


By the numbers

It'll take a little while before Preload starts to understand your usage patterns, so don't expect to see a drastic change in performance right away. Also, if you're just opening/closing applications repetitively, your computer will store those files in cache anyway (this is called a "warm" load), so you won't see any difference in speed there. You will, however, see a speed improvement if, for example, you use a program intermittently; these programs will startup faster than without Preload.

The author of Preload, Behdad Esfahbod, has written a paper in which he provides some sample figures for the speed effects of Preload:

Application______"Cold" Startup Time______Preloaded Startup Time______% Improvement

Desktop Login___________30s_____________________23s_______ _______________23%
OpenOffice.org Writer_____15s _____________________7s ______________________53%
Firefox__________________11s ____________________5s ______________________55%
Evolution________________9s______________________4 s______________________55%
Gedit Text Editor__________6s_____________________4s_________ _____________33%
Gnome Terminal___________4s_____________________3s______ _________________25%

Or, for those that prefer graphs to tables:



Keep in mind these numbers are not representitive of current hardware. Modern machines will probably beat the raw timing of these numbers in even cold-start times, but obviously will still see an improvement in speed with Preload (I wasn't able to find any modern benchmarks to compare, but I imagine they will be similar in terms of percent of speed improvement). For more information, read the developer's thesis paper.

As you can see, larger applications benefit more from Preload, although all applications do benefit at least a little bit. Since Preload is configured to start during bootup, even the amount of time it takes to login to a complete desktop is enhanced by Preload. Keep in mind these numbers were generated several years ago! Modern machines will probably beat these numbers in even cold-start times, but obviously will still see an improvement in speed with Preload! For more information, read the developer's thesis paper.


Conclusion

Preload can provide a great improvement in application startup time; since most modern machines have a good deal of memory to spare, Preload puts this RAM to good use. I highly recommend installing Preload on your desktop machine, and although it may take a little while for the daemon to learn your habits before your see any real performance improvement, it's a great tool that increases the speed of your system while staying in the background, out of your way.

Source
__________________
Webhosting for Rs12/month!!
http://www.thinkdigit.com/forum/showthread.php?t=74717

http://www.outpowerhosting.com
Cyrus_the_virus is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 26-02-2008, 08:36 PM   #2 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Drastically Speed up your Linux System with Preload

cool.. thanks for sharing it!
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 26-02-2008, 09:22 PM   #3 (permalink)
Wise Old Owl
 
hullap's Avatar
 
Join Date: Dec 2006
Location: delhi
Posts: 1,429
Default Re: Drastically Speed up your Linux System with Preload

lets try this
hullap is offline  
Old 27-02-2008, 12:13 AM   #4 (permalink)
Pat
Member of Apple Family
 
Pat's Avatar
 
Join Date: Nov 2007
Location: Mumbai
Posts: 1,383
Default Re: Drastically Speed up your Linux System with Preload

Just read this article today linked from osnews..Quite interesting
Pat is offline  
Old 27-02-2008, 03:22 AM   #5 (permalink)
C# Be Sharp !
 
Zeeshan Quireshi's Avatar
 
Join Date: Jun 2006
Location: Toronto
Posts: 1,805
Default Re: Drastically Speed up your Linux System with Preload

Lets just hope it doesn't load a 4.37 GB File into RAM while i'm doing some important work
__________________
There are 10 types of people in the world: those who understand binary and those who do not.
Zeeshan Quireshi is offline  
Old 27-02-2008, 09:03 AM   #6 (permalink)
In Pursuit of "Happyness"
 
kalpik's Avatar
 
Join Date: May 2005
Location: New Delhi
Posts: 3,432
Default Re: Drastically Speed up your Linux System with Preload

^^ I'd get really pissed if it were to do that
__________________
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
kalpik is offline  
Old 27-02-2008, 11:11 AM   #7 (permalink)
Human Spambot
 
Join Date: Jan 2007
Location: Lat 28.38°N , Longt 77.13°E
Posts: 2,431
Default Re: Drastically Speed up your Linux System with Preload

Will try
ThinkFree is offline  
Old 27-02-2008, 11:41 AM   #8 (permalink)
Alpha Geek
 
Join Date: Feb 2005
Posts: 959
Default Re: Drastically Speed up your Linux System with Preload

Wow, this seems interesting... will try it.
@gigacore, if the intention is to fight, then they could start from your signature claiming that you have faded the importance of Mac and Linux relatively by enclosing them in brackets
__________________
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
legolas is offline  
Old 03-03-2008, 05:29 PM   #9 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Drastically Speed up your Linux System with Preload

I had experimented long back with prelinking whole installation.it sucks!
donno about preload though
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 03-03-2008, 06:09 PM   #10 (permalink)
Wise Old Owl
 
The Unknown's Avatar
 
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
Default Re: Drastically Speed up your Linux System with Preload

The Linux kernel according to me is optimised for good performance and speed. So, I don't think this would be required. And @zeeshan, said, it might be true
__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e
The Unknown is offline  
Old 03-03-2008, 09:32 PM   #11 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: Drastically Speed up your Linux System with Preload

Quote:
Originally Posted by The Unknown View Post
The Linux kernel according to me is optimised for good performance and speed. So, I don't think this would be required. And @zeeshan, said, it might be true
+1
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is online now  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slim Down and Speed Up Linux Hitboxx Open Source 3 16-12-2007 11:50 AM
Lenovo to offer SUSE Linux Preload on ThinkPad Notebooks infra_red_dude Technology News 11 17-08-2007 06:47 PM
Cheek ur system speed correctly... Projjwal Software Q&A 14 16-06-2007 01:22 AM
Speed Differential Btw Linux and Windows? Manshahia Open Source 1 25-12-2006 10:33 AM
Quake 3 FPS drops drastically!!! pag_floyd QnA (read only) 2 24-01-2005 06:20 PM

 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 02:59 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2