<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Utilizing the RAM space than swap in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/utilizing-the-ram-space-than-swap/m-p/4478785#M37901</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Can you take some vmstat data for me?&lt;BR /&gt;&lt;BR /&gt;The system will reduce buffers without any help from us systems administrators.&lt;BR /&gt;&lt;BR /&gt;I would try reducing the footprint of the application or increasing system ram.&lt;BR /&gt;&lt;BR /&gt;Forcing a reduction in buffer use will do no good.&lt;BR /&gt;&lt;BR /&gt;sysctl -a&lt;BR /&gt;&lt;BR /&gt;I'd like to see if the buffer cache has been fixed in some way. That would be bad.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 13 Aug 2009 10:17:18 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2009-08-13T10:17:18Z</dc:date>
    <item>
      <title>Utilizing the RAM space than swap</title>
      <link>https://community.hpe.com/t5/operating-system-linux/utilizing-the-ram-space-than-swap/m-p/4478782#M37898</link>
      <description>&lt;!--!*#--&gt;&lt;BR /&gt;We have an application written in C++ and is running on Linux Read Hat RHEL 3.6 and is using oracle 9i database. As this is a volume application had some performance issue with the database, we wanted to increase the db cache parameters like( db_cache_size and db_keep_cache_size) to get a better DB performance. We had to increase these parameters by 1.5Gb abd 0.5Gb respectively.&lt;BR /&gt;&lt;BR /&gt;The free command before applying this oracle db parameters is:&lt;BR /&gt;------------------------------------------&lt;BR /&gt;[hpfms@fms ~]$ free&lt;BR /&gt;Total  used  free  shared  buffers  cached&lt;BR /&gt;Mem:  16051288 14884600 1166688 0  1229580 3602672&lt;BR /&gt;-/+ buffers/cache: 10052348 5998940&lt;BR /&gt;Swap: 16386292 95612  16290680&lt;BR /&gt;&lt;BR /&gt;------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And after the change, it became:&lt;BR /&gt;&lt;BR /&gt;[hpfms@fms stats]$ free&lt;BR /&gt;Total  used  free  shared  buffers  cached&lt;BR /&gt;Mem: 16051288 16036044 15244  0  67432  5393104&lt;BR /&gt;-/+ buffers/cache: 10575508 5475780&lt;BR /&gt;Swap: 16386292 3422920 12963372&lt;BR /&gt;&lt;BR /&gt;------------------------------------------&lt;BR /&gt;&lt;BR /&gt;As per the Linux memory management, we expected the extra DB buffers to get the RAM from the OS cached and buffered part of memory( from free command.&lt;BR /&gt;&lt;BR /&gt;But, ultimately it resulted in utilizing the available swap space and have a more severe performance problem including the bad disk response.&lt;BR /&gt;&lt;BR /&gt;How do we reduce the OS cached memory and use it for process purpose there by reducing the swap usage? &lt;BR /&gt;&lt;BR /&gt;It will be great if you can respond urgently on this.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Pratheesh/Shelendra,&lt;BR /&gt;&lt;BR /&gt;Note for better readability we are attaching the word document&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Aug 2009 06:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/utilizing-the-ram-space-than-swap/m-p/4478782#M37898</guid>
      <dc:creator>Pratheesh</dc:creator>
      <dc:date>2009-08-13T06:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Utilizing the RAM space than swap</title>
      <link>https://community.hpe.com/t5/operating-system-linux/utilizing-the-ram-space-than-swap/m-p/4478783#M37899</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You do nothing.&lt;BR /&gt;&lt;BR /&gt;Memory allocation is not working the way you assumed it was.&lt;BR /&gt;&lt;BR /&gt;When your program is loaded, you see swap being "used" It is being allocated, "In case" the program, the entire program needs to be swapped to disk.&lt;BR /&gt;&lt;BR /&gt;The amount of memory being taken from cache is based on a standard formula designed to leave overall memory allocation around a fixed percentage in the 90% range.&lt;BR /&gt;&lt;BR /&gt;It is possible, though a big pain to reduce the cached memory use. That will do nothing to the amount of swap allocated because it allocated to insure there is a place to put this program when the system actually has to page the program.&lt;BR /&gt;&lt;BR /&gt;As long as the system is not paging there will be no impact on performance.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 13 Aug 2009 06:39:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/utilizing-the-ram-space-than-swap/m-p/4478783#M37899</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-08-13T06:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Utilizing the RAM space than swap</title>
      <link>https://community.hpe.com/t5/operating-system-linux/utilizing-the-ram-space-than-swap/m-p/4478784#M37900</link>
      <description>Hi SEP,&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;Our problem is also sudden increase in SWAP/Page utilization after our DB Cache parameter changes. as you Can see from the free command output previous SWAP utilization was ~95 MB which after chnages reached to ~3.4 GB. And also degraded the performance further by about ~50%.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Aug 2009 07:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/utilizing-the-ram-space-than-swap/m-p/4478784#M37900</guid>
      <dc:creator>Pratheesh</dc:creator>
      <dc:date>2009-08-13T07:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Utilizing the RAM space than swap</title>
      <link>https://community.hpe.com/t5/operating-system-linux/utilizing-the-ram-space-than-swap/m-p/4478785#M37901</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Can you take some vmstat data for me?&lt;BR /&gt;&lt;BR /&gt;The system will reduce buffers without any help from us systems administrators.&lt;BR /&gt;&lt;BR /&gt;I would try reducing the footprint of the application or increasing system ram.&lt;BR /&gt;&lt;BR /&gt;Forcing a reduction in buffer use will do no good.&lt;BR /&gt;&lt;BR /&gt;sysctl -a&lt;BR /&gt;&lt;BR /&gt;I'd like to see if the buffer cache has been fixed in some way. That would be bad.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 13 Aug 2009 10:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/utilizing-the-ram-space-than-swap/m-p/4478785#M37901</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-08-13T10:17:18Z</dc:date>
    </item>
  </channel>
</rss>

