Linux Optimization
Manage your wifi networks and profiles with wifi-radar
Submitted by ggarron on Sat, 01/26/2008 - 15:31.I have been traveling the last two weeks, and I have found how useful is wifi-radar on my Linux powered laptop.
I have an IBM Thinkpad T30 with an Aironet Wifi internal card (for the records)
iftop - Check and analyze your traffic
Submitted by ggarron on Tue, 01/22/2008 - 09:15.Introduction
iftop is a real good utility both for your own PC/Laptop and for your server and specially good for the latter and even better if this server is acting as the main router in your premises.
sysstat - great utilities package to monitor performance
Submitted by ggarron on Sun, 01/20/2008 - 02:22.sysstat is a package of monitoring tools, these are the tools included in the package.
- iostat
- Reports CPU statistics and input/output statistics for devices, partitions and network filesystems.
- mpstat
- Reports individual or combined processor related statistics.
- pidstat
- Reports statistics for Linux tasks (processes) : I/O, CPU, memory, etc.
- sar
- Collects, reports and saves system activity information (CPU, memory, disks, interrupts, network interfaces, TTY, kernel tables,etc.)
- sadc
CPU load
Submitted by ggarron on Tue, 01/15/2008 - 05:18.One important thing to check on your Linux box, is the CPU utilization, specially if usually compile software, or if you have server applications running on your PC.
One good tool to check this is: htop, which will show you a lot of useful information, the important data is the load average, that will show you if you are having processes waiting for the CPU or not.
How to: Set or change the priority of a process - nice and renice
Submitted by ggarron on Mon, 12/17/2007 - 13:55.
How to assign and reassign priority to Linux commands or processes, to optimize your CPU ussage
You may have seen this problem with your Linux sometimes, you are working with your normal applications, like browsing the web, using Open Office or any other thing, and then Linux start a cron process or you start a make command, and all the other applications slow down.
Well you can solve that by entering different priorities to different applications, this is done with the nice and renice commands.
Fine tunning your polipo cache
Submitted by ggarron on Sun, 12/16/2007 - 23:06.
If you have read my post about Installing personal web server and you have installed it, you may be now enjoying its benefits but now it is maybe time to tweak it a little, specially the way it purges files and maintain the cache size in the disk.
Get a faster browsing experience - using a local caching DNS
Submitted by ggarron on Thu, 10/25/2007 - 22:28.Update
Check the part II of these article, boost your internet connection II

Some days ago while I was on a business trip, and trying to work in the Hotel, the second day the Internet connection was really slow, (maybe some other guest was downloading a lot of information), while trying to look for some information on the web, it took lots of seconds to even get the IP of the pages I was trying to visit.
I decided that I needed a local DNS on my PC to improve at least a little my speed experience.
swap partition vs swap file
Submitted by ggarron on Mon, 05/21/2007 - 21:57.I have been trying to find the performance differences between a swap partition and a swap file in Linux.
I have found several affirmations that swap partitions are better, but lots also say they are the same (at least for kernels 2.6).
I can find some differences that can help you make the good choice, or when to use swap on file or partition.
Traffic shaping - Bandwidth shaper / management (For Linux)
Submitted by ggarron on Sat, 04/14/2007 - 04:36.1. The problem
You have limited bandwidth, which you need to share with some others or just between different services on you PC.
So you need a tool that can shape, control and manage the bandwidth so everybody can make a responsible use of it.
Swap memory increase with swap file (How to create)
Submitted by ggarron on Fri, 04/13/2007 - 20:43.Swap Memory is a space in the Hard Disk of your computer that Operating Systems (Linux in our case) will use to put the info that is actually on the RAM to free it for another application.
This should be done when the system needs memory for a new process and there is none, so we can see that if our system has plenty of RAM it will maybe need no SWAP memory.
How to manage the use of swap memory
Submitted by ggarron on Sat, 03/17/2007 - 19:58.The use of the swap memory by default on Kernel 2.6.xx is set to 60% that means that the system will use intensively the swap memory, this is good if we have a small amount of memory and lot of load on our PC or server, but if we have plenty of RAM or we are using a Desktop machine, we maybe do not need this setting, let's see how to change it.



