<?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 HPVM dynamic memory won't resize in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hpvm-dynamic-memory-won-t-resize/m-p/5383749#M522672</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a VM Guest (HPVM 4.2.5) configured as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Memory Details]&lt;BR /&gt;Total memory : 32 GB&lt;BR /&gt;Minimum memory limit : 512 MB&lt;BR /&gt;Maximum memory limit : 64 GB&lt;BR /&gt;Reserved memory : 64 MB&lt;BR /&gt;Minimum reserved limit : 32 MB&lt;BR /&gt;Maximum reserved limit : 64 GB&lt;BR /&gt;VHPT Size : 1 MB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Dynamic Memory Information]&lt;BR /&gt;Type : driver&lt;BR /&gt;Minimum memory : 1024 MB&lt;BR /&gt;&lt;STRONG&gt;Target memory : 30778&amp;nbsp;MB&lt;/STRONG&gt;&lt;BR /&gt;Memory entitlement : Not specified&lt;BR /&gt;&lt;STRONG&gt;Maximum memory : 32768 MB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Current memory : 32762 MB&lt;/STRONG&gt;&lt;BR /&gt;Comfortable minimum : 12538 MB&lt;BR /&gt;Total memory : 32762 MB&lt;BR /&gt;Free memory : 12264 MB&lt;BR /&gt;Available memory : 12577 MB&lt;BR /&gt;Memory pressure : 0&lt;BR /&gt;Memory chunksize : 65536 KB&lt;BR /&gt;AMR chunksize : 256 MB&lt;BR /&gt;Driver Mode(s) : STARTED ENABLED GUESTCTL&lt;BR /&gt;AMR state : DISABLED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run an hpvmmodify -x ram_target=30G the command returns no errors and I see the ram target change (shown above), but the memory never decreases. &amp;nbsp;In the documentation it says it can take a long time if the memory is fragmented, but this guest is doing almost no work and has a lot of memory space available. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#hpvmmgmt -x ram_target=30G&lt;BR /&gt;Attempting to decrease memory from 32762 MB to 30720 MB.&lt;BR /&gt;Successfully began to change ram_target to 30720 MB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# hpvmmgmt -V -l ram&lt;BR /&gt;[Dynamic Memory Information]&lt;BR /&gt;=======================================&lt;BR /&gt;Type : driver&lt;BR /&gt;Minimum memory : 1024 MB&lt;BR /&gt;&lt;STRONG&gt;Target memory : 30778 MB&lt;/STRONG&gt;&lt;BR /&gt;Maximum memory : 32768 MB&lt;BR /&gt;&lt;STRONG&gt;Current memory : 32762 MB&lt;/STRONG&gt;&lt;BR /&gt;Comfortable minimum : 12538 MB&lt;BR /&gt;Boot memory : 32762 MB&lt;BR /&gt;&lt;STRONG&gt;Free memory : 12264 MB&lt;/STRONG&gt;&lt;BR /&gt;Available memory : 12577 MB&lt;BR /&gt;Memory pressure : 0&lt;BR /&gt;Memory chunksize : 65536 KB&lt;BR /&gt;Driver Mode(s) : STARTED ENABLED GUESTCTL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I waited a good 10 minutes with no changes to the current memory. &amp;nbsp;I see an error in syslog that says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;vmunix: hpvmdynmem: unable to reach target memory size of 30778 MB after 60 seconds, resulting memory size is 32762 MB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't figure out why I can't resize this VM. &amp;nbsp;Anyone else run into this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2011 18:55:15 GMT</pubDate>
    <dc:creator>Rike255</dc:creator>
    <dc:date>2011-11-07T18:55:15Z</dc:date>
    <item>
      <title>HPVM dynamic memory won't resize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpvm-dynamic-memory-won-t-resize/m-p/5383749#M522672</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a VM Guest (HPVM 4.2.5) configured as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Memory Details]&lt;BR /&gt;Total memory : 32 GB&lt;BR /&gt;Minimum memory limit : 512 MB&lt;BR /&gt;Maximum memory limit : 64 GB&lt;BR /&gt;Reserved memory : 64 MB&lt;BR /&gt;Minimum reserved limit : 32 MB&lt;BR /&gt;Maximum reserved limit : 64 GB&lt;BR /&gt;VHPT Size : 1 MB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Dynamic Memory Information]&lt;BR /&gt;Type : driver&lt;BR /&gt;Minimum memory : 1024 MB&lt;BR /&gt;&lt;STRONG&gt;Target memory : 30778&amp;nbsp;MB&lt;/STRONG&gt;&lt;BR /&gt;Memory entitlement : Not specified&lt;BR /&gt;&lt;STRONG&gt;Maximum memory : 32768 MB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Current memory : 32762 MB&lt;/STRONG&gt;&lt;BR /&gt;Comfortable minimum : 12538 MB&lt;BR /&gt;Total memory : 32762 MB&lt;BR /&gt;Free memory : 12264 MB&lt;BR /&gt;Available memory : 12577 MB&lt;BR /&gt;Memory pressure : 0&lt;BR /&gt;Memory chunksize : 65536 KB&lt;BR /&gt;AMR chunksize : 256 MB&lt;BR /&gt;Driver Mode(s) : STARTED ENABLED GUESTCTL&lt;BR /&gt;AMR state : DISABLED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run an hpvmmodify -x ram_target=30G the command returns no errors and I see the ram target change (shown above), but the memory never decreases. &amp;nbsp;In the documentation it says it can take a long time if the memory is fragmented, but this guest is doing almost no work and has a lot of memory space available. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#hpvmmgmt -x ram_target=30G&lt;BR /&gt;Attempting to decrease memory from 32762 MB to 30720 MB.&lt;BR /&gt;Successfully began to change ram_target to 30720 MB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# hpvmmgmt -V -l ram&lt;BR /&gt;[Dynamic Memory Information]&lt;BR /&gt;=======================================&lt;BR /&gt;Type : driver&lt;BR /&gt;Minimum memory : 1024 MB&lt;BR /&gt;&lt;STRONG&gt;Target memory : 30778 MB&lt;/STRONG&gt;&lt;BR /&gt;Maximum memory : 32768 MB&lt;BR /&gt;&lt;STRONG&gt;Current memory : 32762 MB&lt;/STRONG&gt;&lt;BR /&gt;Comfortable minimum : 12538 MB&lt;BR /&gt;Boot memory : 32762 MB&lt;BR /&gt;&lt;STRONG&gt;Free memory : 12264 MB&lt;/STRONG&gt;&lt;BR /&gt;Available memory : 12577 MB&lt;BR /&gt;Memory pressure : 0&lt;BR /&gt;Memory chunksize : 65536 KB&lt;BR /&gt;Driver Mode(s) : STARTED ENABLED GUESTCTL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I waited a good 10 minutes with no changes to the current memory. &amp;nbsp;I see an error in syslog that says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;vmunix: hpvmdynmem: unable to reach target memory size of 30778 MB after 60 seconds, resulting memory size is 32762 MB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't figure out why I can't resize this VM. &amp;nbsp;Anyone else run into this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2011 18:55:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpvm-dynamic-memory-won-t-resize/m-p/5383749#M522672</guid>
      <dc:creator>Rike255</dc:creator>
      <dc:date>2011-11-07T18:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: HPVM dynamic memory won't resize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpvm-dynamic-memory-won-t-resize/m-p/5417171#M522673</link>
      <description>&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if this is a situation where the memory on your VM Host has become fragmented.&amp;nbsp; Looking at the HPVM 4.3 Admin Guide:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8.10.3 Troubleshooting Dynamic Memory Problems&lt;/P&gt;&lt;P&gt;This section describes how to solve problems in the use of dynamic memory.&lt;/P&gt;&lt;P&gt;8.10.3.1 Dynamic Memory Restrictions&lt;/P&gt;&lt;P&gt;• If the virtual machine memory has become fragmented , attempting to reduce the size of the virtual machine might fail or might take a very long time. If you cannot reduce the size the virtual machine might fail or might take a very long time. If you cannot reduce the size of the virtual machine to the desired size, end the operation by setting a new target size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you setting the kctune parameter "base_pagesize" to 64 on your VM Host system?&amp;nbsp; That can really&amp;nbsp;reduce memory fragmentation issues on the VM Host and help with dynamic memory resizing issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 13:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpvm-dynamic-memory-won-t-resize/m-p/5417171#M522673</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2021-06-24T13:44:54Z</dc:date>
    </item>
  </channel>
</rss>

