<p>If a process has to wait for memory pages, system performance is impacted. The system keeps a pool of available pages just for this. To see if we need to adjust minfree and maxfree, first find out what they are set to now:</p>{"id":308,"date":"2009-07-02T17:14:07","date_gmt":"2009-07-02T21:14:07","guid":{"rendered":"http:\/\/patrickv.info\/wordpress\/?p=308"},"modified":"2009-07-02T17:14:07","modified_gmt":"2009-07-02T21:14:07","slug":"tuning-minfree-and-maxfree-free-memory-pages","status":"publish","type":"post","link":"https:\/\/rootuser.ninja\/index.php\/2009\/07\/02\/tuning-minfree-and-maxfree-free-memory-pages\/","title":{"rendered":"Tuning minfree and maxfree (free memory pages)"},"content":{"rendered":"<p>If a process has to wait for memory pages, system performance is impacted. The system keeps a pool of available pages just for this. To see if we need to adjust minfree and maxfree, first find out what they are set to now:<br \/>\n<!--more--><br \/>\nAIX 4<\/p>\n<pre><code>\/usr\/samples\/kernel\/vmtune<\/code><\/pre>\n<p>AIX 5<\/p>\n<pre><code>vmo -o minfree\nvmo -o maxfree <\/code><\/pre>\n<p>Then, run vmstat and watch the fre column. If the fre column reaches minfree, raise the minfree and maxfree parameters. If the fre colum is consistantly above maxfree, then no tuning is necessary.<\/p>\n<p>AIX 4<\/p>\n<pre><code>\/usr\/samples\/kernel\/vmtune -f 120 -F 128<\/code><\/pre>\n<p>AIX 5<\/p>\n<pre><code>vmo -p -o minfree=120\nvmo -p -o maxfree=128 <\/code><\/pre>\n<p>AIX 5.3+<\/p>\n<pre><code>vmo -p -o minfree=960\nvmo -p -o maxfree=1088 <\/code><\/pre>\n<p>NOTE: Cerner recommends minfree = 120 * # CPUs and maxfree = minfree + ( 8 * # of CPUs) for AIX up to 5.3. <\/p>","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[],"class_list":["post-308","post","type-post","status-publish","format-standard","hentry","category-aix-notes","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/comments?post=308"}],"version-history":[{"count":0,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/308\/revisions"}],"wp:attachment":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/media?parent=308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/categories?post=308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/tags?post=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}