<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Memory on Amit Agarwal Linux Blog</title>
    <link>/tags/memory/</link>
    <description>Recent content in Memory on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sun, 24 Apr 2011 02:24:52 +0000</lastBuildDate>
    
	<atom:link href="/tags/memory/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>vmstat – what it is and how to use?</title>
      <link>/2011/04/24/vmstat-what-it-is-and-how-to-use/</link>
      <pubDate>Sun, 24 Apr 2011 02:24:52 +0000</pubDate>
      
      <guid>/2011/04/24/vmstat-what-it-is-and-how-to-use/</guid>
      <description>&lt;div class=&#34;zemanta-img&#34; style=&#34;margin: 1em; display: block;&#34;&gt;
  &lt;p&gt;
    &lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Paging_386%28pl%29.svg&#34;&gt;&lt;img title=&#34;Paging on 386 - address translation (polish texts)&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/Paging_386%28pl%29.svg/300px-Paging_386%28pl%29.svg.png&#34; alt=&#34;Paging on 386 - address translation (polish texts)&#34; width=&#34;300&#34; height=&#34;208&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
  &lt;/p&gt;
&lt;/div&gt;
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Vmstat&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Vmstat&#34;&gt;vmstat&lt;/a&gt; provides a summary of various functions within the system, including system wide free memory, paging counters, summarized disk activity, &lt;a class=&#34;zem_slink&#34; title=&#34;System call&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/System_call&#34;&gt;system calls&lt;/a&gt; and cpu utilization.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&#34;zem_slink&#34; title=&#34;Output&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Output&#34;&gt;output&lt;/a&gt; of vmstat and description of what each field means:&lt;/p&gt;
&lt;p&gt;The first line of output from vmstat shows a summary since boot,&lt;br&gt;
followed by the output over the last 3 seconds for each additional line.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Are you swapped? Increase the performance of Linux machine.</title>
      <link>/2010/07/14/are-you-swapped-increase-the-performance-of-linux-machine/</link>
      <pubDate>Wed, 14 Jul 2010 01:06:31 +0000</pubDate>
      
      <guid>/2010/07/14/are-you-swapped-increase-the-performance-of-linux-machine/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;With the ever increasing cost of the Hardware, the amount of physical &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Random-access&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;RAM&lt;/a&gt; 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 &lt;a class=&#34;zem_slink&#34; title=&#34;Random-access memory&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Random-access_memory&#34;&gt;RAM&lt;/a&gt; and today I have a 2GB RAM Desktop. So, whats the point.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Linux\&amp;quot;&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;Linux&lt;/a&gt; systems (right word should be &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Linux&#34; rel=&#34;\&amp;quot;homepage\&amp;quot;&#34; href=&#34;\&#34;&gt;kernel&lt;/a&gt;) are desiged to use both RAM and &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Paging\&amp;quot;&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;swap partition&lt;/a&gt;. Swap partition is a partition on Hard disk and is used mostly like RAM. Problem is that &lt;a class=&#34;\&amp;quot;zem_slink\&amp;quot;&#34; title=&#34;\&amp;quot;Hard&#34; rel=&#34;\&amp;quot;wikipedia\&amp;quot;&#34; href=&#34;\&#34;&gt;HDD&lt;/a&gt; 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 &amp;amp;#8221;&lt;a class=&#34;zem_slink&#34; title=&#34;Swappiness&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Swappiness&#34;&gt;swappiness&lt;/a&gt;&amp;amp;#8221; 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&amp;amp;#8217;s have a swappiness of 60. A higher value of swappiness means that the RAM will be swapped out faster.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Resolved - New window does not open in new tab after installation of some plugin&#39;s.</title>
      <link>/2010/05/13/resolved-window-open-tab-installation-plugins/</link>
      <pubDate>Thu, 13 May 2010 17:04:32 +0000</pubDate>
      
      <guid>/2010/05/13/resolved-window-open-tab-installation-plugins/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;After I installed some plugin&amp;amp;#8217;s, the new windows were not opening in the tab. Rather they were opening in new window. This consumes time and memory which I did not like. I checked and re-checked to confirm that the setting for opening new window in tab was in there and still ………. alas……..&lt;/p&gt;
&lt;p&gt;So, I reverted to checking if I could do something in the about:config entries to do the trick and yes it was there. Before we go into the specific entry, if you are interested, here is the link to the mozilla site for documentation on the about:config parameters. If you want to tinker with the settings, I suggest you first go through the list and make sure what you are doing.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
