Lot of times you want to check the disk rpm, especially on the servers to check if it is 7.2K or 10K or 15K rpm disk. How do you do this from linux terminal. Here it is :
sginfo -g /dev/<device>
Note that sginfo comes from sg3-utils.
Speed Up Firefox by Moving Your Cache to RAM, No RAM Disk Required [Firefox Tip] Click here to read Speed Up Firefox by Moving Your Cache to RAM, No RAM Disk Required We’ved talked about moving your cache files to a RAM disk to speed things up, but it turns out Firefox has this feature built in. Here’s how to turn it on. More »
We’ved talked about moving your cache files to a RAM disk to speed things up, but it turns out Firefox has this feature built in. Here’s how to turn it on.
Since your computer can access data in RAM faster than on a hard drive, moving cached data to RAM can improve your page load times. In Firefox, all you need to do to move your caches to RAM is open up about:config and make a few tweaks.
Once you get into about:config, type browser.cache into the filter bar at the top. Find browser.cache.disk.enable and set it to false by double clicking on it. You’ll then want to set browser.cache.memory.enable to true (mine seemed to already be set as such), and create a new preference by right clicking anywhere, hitting New, and choosing Integer. Call the preference browser.cache.memory.capacity and hit OK. In the next window, type in the number of kilobytes you want to assign to the cache (for example, typing 100000 would create a cache of 100,000 kilobytes or 100 megabytes). A value of -1 will tell Firefox to dynamically determine the cache size depending on how much RAM you have.
This tip isn’t brand new, but it is something we didn’t know about, so if you’re looking to eke a bit more speed out of Firefox (and who isn’t?) this should give your page loading speeds a little boost. You can check up on your memory cache activity by typing about:cache in the address bar. Hit the link for more information on this tweak, and if you try it out, let us know how it works for you in the comments.
With the ever increasing cost of the Hardware, the amount of physical RAM available on the system is increasing day by day. For example, couple of years back, I had a system which was very high end Desktop with 256MB RAM and today I have a 2GB RAM Desktop. So, whats the point.
The Linux systems (right word should be kernel) are desiged to use both RAM and swap partition. Swap partition is a partition on Hard disk and is used mostly like RAM. Problem is that HDD access is always slower than RAM access and hence inherently, the system will work little slower even if you have enough RAM not to use swap. The term \”swappiness\” is used to determine how the kernel should try to seam-balance between the use of RAM and swap. By default, most of the distro\’s have a swappiness of 60. A higher value of swappiness means that the RAM will be swapped out faster.
There are two ways to look at the swappiness:
1) If the user has a higher swappiness then the used memory will be swapped faster to the swap and thus free\’ing the RAM for other useful purposes.
2) A lower value of swappiness would mean that bloaty applications will not be swapped and thus when the user returns to the application, the application would load faster or rather look faster as there will be no swapping from the swap to the RAM.
I personally keep the swappiness to a value of 100 in the Desktop. But then, anyway I kill firefox as soon as I am done and restart when required.
If you see that the RAM is underutilized or feel that the system performance is not that good then you can tickle with this setting and set it to 10-15. How to do it :
Login as roo (\”su -\”)
echo 15 > /proc/sys/vm/swappiness
This will take effect immediately, but if you want to change this value permanently then you can do this(again as root):
echo \”sys.vm.swappiness = 10\” > /etc/sysctl.conf
So play with your swappiness 🙂