Showing posts with label tty. Show all posts
Showing posts with label tty. Show all posts

Monday, January 27, 2014

Speed up Linux

0 comments

Speed up Linux

1 - Reduce Swappiness :



It is the operation of moving processes out of physical memory and onto the swap disk. Because disks are much slower than RAM, this can lead to slower response times for system and applications if processes are too aggressively moved out of memory.

If you are looking for good performance to your Linux machine, you can change swappiness value between 0 and 100. A recommended setting for swappiness is 10.

To check your current used Swappiness, run this command:

cat /proc/sys/vm/swappiness

The default value is 60, to change it now :

sudo sysctl -w vm.swappiness=10

But changes will be just for this session.

To make changes permanent , edit this file:

sudo gedit /etc/sysctl.conf

Search for this line (if not present, just add it):

vm.swappiness=10

Save your file and exit.

sysctl.conf



2 - Disabling Unnecessary Startup Applications :



There are many applications that starts with the system, and they are unneeded for that.
Starup Applications is used to unable and disable Startup applications.



3 - Replace some of your Favorited applications by lightweight ones :


LibreOffice : AbiWord and Gnumeric Spreadsheet 

Nautilus : Thunar or PCManFM 

Gnome-Panel : FBPanel

Gnome-Terminal : XTerm

4 - Disable some Tty :


Your system comes with 6 Tty, some of them are not necessary.

To disable then, type in the terminal :

sudo gedit /etc/securetty  

Then add # from tty2 to tty6

and save the changes.

Disable some Tty


5 - Preload :


Preload is a daemon that runs in the background that stores most used applications in cache so that they can be called quickly, which will result in quick system load time.

Note : Don't install it unless you have at least 1 Gb of RAM.






     
Read more...