novellblog.com
Ramblings of James Gosling, a Novell enthusiast, Network Engineer and IT consultant specializing in Novell products. An Open Enterprise Server enthusiast on Novell Netware & SUSE Linux, a strong Novell advocate. He uses an array of Novell products and shares his thoughts and experiences.

Netware Memory Tuning – TIDs & Tools

<meta name="GENERATOR" content="OpenOffice.org 2.0 (Linux)" /><meta name="AUTHOR" content="Administrator" /><meta name="CREATED" content="20070530;21415400" /><meta name="CHANGED" content="16010101;0" /><br /> <style type="text/css"> <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } --> </style> <p class="western"><tt><font face="Verdana, sans-serif">The way in which memory is managed changed significantly with Netware 6.x and this has not been without its problems. The auto tuning capabilities, enabled by default, can be quite aggressive and isn't</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">always the best solution. Monitoring memory usage and manually</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">configuring all the various settings can be a daunting task, but with</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">the help of some useful tools and a few key TID’s the process need not</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">be too intimidating.</font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">Most people will come to the subject of memory tuning because they are</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">encountering a problem, the most common of which are memory fragmentation and memory leaks. When an NLM loads into memory it is</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">assigned to the first available contiguous block of memory, smaller blocks of memory not large enough to accommodate the NLM are not used</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">and accumulate, this is fragmentation. Memory leaks on the other hand</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">are where a NLM is consuming more and more memory and is usually caused</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">by a damaged or badly written NLM - the simplest solution is to obtain</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">an updated or known good version of the NLM to replace it.</font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">To gain a clearer understanding of memory fragmentation I recommend you</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">check out this short tutorial:</font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">TID 10091980 TUTORIAL:<br /> Memory Fragmentation Issue with Netware 6.5</font></tt><font face="Verdana, sans-serif"><br /> </font><tt><a href="http://support.novell.com/additional/tutorials/tid10091980/"><font face="Verdana, sans-serif">http://support.novell.com/additional/tutorials/tid10091980/</font></a><font face="Verdana, sans-serif"> </font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">There is also a non multi-media version which is easier to follow when it comes to working through the steps recommended at:</font></tt><font face="Verdana, sans-serif"><br /> </font><tt><a href="https://secure-support.novell.com/KanisaPlatform/Publishing/308/3920657_f.SAL_Public.html"><font face="Verdana, sans-serif">https://secure-support.novell.com/KanisaPlatform/Publishing/308/<br /> 3920657_f.SAL_Public.html</font></a></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">Diagnosing memory problems using Novell Remote Manager is discussed in</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">a Novell Connection magazine article “Fine Print - How’s Your</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">Memory? (Connection Magazine - third quarter 2006)” which can be found at: </font><a href="http://www.novell.com/connectionmagazine/2006/q3/fine_print.html"><font face="Verdana, sans-serif">http://www.novell.com/connectionmagazine/2006/q3/fine_print.html</font></a><font face="Verdana, sans-serif"> </font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">But bear in mind that Novell themselves are unlikely to recommend</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">disabling the automatic memory tuning features of Netware 6.x and</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">setting manual values, you may have to make the judgement for yourself</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">and there are two Cool tools which are a godsend for that :</font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">SEG.NLM: NetWare Memory Analyzer</font></tt><font face="Verdana, sans-serif"><br /> </font><tt><a href="http://www.novell.com/coolsolutions/tools/14445.html"><font face="Verdana, sans-serif">http://www.novell.com/coolsolutions/tools/14445.html</font></a><font face="Verdana, sans-serif"> </font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">This NLM monitors and logs key memory statistics to a file,</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">SEGSTATS.TXT in your sys:system folder.</font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">Memory Tuning Calculator for NetWare 6.5</font></tt><font face="Verdana, sans-serif"><br /> </font><tt><a href="http://www.novell.com/coolsolutions/tools/16991.html"><font face="Verdana, sans-serif">http://www.novell.com/coolsolutions/tools/16991.html</font></a><font face="Verdana, sans-serif"> </font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">MEMCALC was written by Hamish Speirs, a Novell volunteer SysOp and</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">there are a number of versions, including an NLM. This excellent utility</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">reads the SEGSTATS.TXT and produces recommended memory configuration</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">changes which you can have it apply for you. </font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">Couple of things to note about using the above:</font></tt></p> <p class="western"><tt><font face="Verdana, sans-serif">1.) The server should have been running ideally for several days</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">under normal workloads in order for the statistics gathered to be</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">representative.</font></tt></p> <p class="western"><tt><tt><font face="Verdana, sans-serif">2.) Implementing these memory changes will involve switching off</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">automatic memory tuning.</font></tt></tt></p> <p class="western"><tt><tt><font face="Verdana, sans-serif">3.) The server will need to be rebooted for the memory changes to</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">take effect.</font></tt></tt></p> <p class="western"><tt><tt><font face="Verdana, sans-serif">4.) In the event of needing to contact Novell technical support in relation to memory problems the first thing they will ask you to do is</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">re-implement automatic memory tuning.</font></tt></tt></p> <p class="western"><tt><tt><font face="Verdana, sans-serif">I have had excellent results using these utilities and I highly</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">recommend them.</font></tt></tt></p> <p class="western"><tt><tt><font face="Verdana, sans-serif">Finally there is a Novell Cool Solutions Wiki on memory tuning which</font></tt><font face="Verdana, sans-serif"> </font><tt><font face="Verdana, sans-serif">should the latest information:</font></tt><font face="Verdana, sans-serif"><br /> </font><tt><a href="http://wiki.novell.com/index.php/Memory_tuning_on_NetWare_65"><font face="Verdana, sans-serif">http://wiki.novell.com/index.php/Memory_tuning_on_NetWare_65</font></a><font face="Verdana, sans-serif"> </font></tt></tt></p> <p class="western" style="margin-bottom: 0cm"> <div class="navigation"> <div class="alignleft">« <a href="http://novellblog.com/?p=20" rel="prev">Novell, SUSE & Open Source – Getting the word out!</a></div> <div class="alignright"><a href="http://novellblog.com/?p=25" rel="next">Netherlands Tour – Rotterdam, The Hague, Utrecht & Amsterdam</a> »</div> </div> <div class="post" id="post-24"> <p class="postmetadataalt"> This entry was posted on Wednesday, May 30th, 2007 at 8:46 pm and is filed under <a href="http://novellblog.com/?cat=1" title="View all posts in Novell & SUSE" rel="category">Novell & SUSE</a>, <a href="http://novellblog.com/?cat=3" title="View all posts in Novell/Netware" rel="category">Novell/Netware</a>. You can follow any responses to this entry through the <a href='http://novellblog.com/?feed=rss2&p=24'>RSS 2.0</a> feed. You can <a href="#respond">leave a response</a>, or <a href="http://novellblog.com/wp-trackback.php?p=24" rel="trackback">trackback</a> from your own site. </p> </div> </div> <div style="padding:15px; line-height:17px> <!-- You can start editing here. --> <h3 id="comments">One Response to “Netware Memory Tuning – TIDs & Tools”</h3> <ol class="commentlist"> <li class="alt" id="comment-1995"> <cite><a href='http://www.gwcheck.com/wpml/?p=425' rel='external nofollow' class='url'>GWCheck.log » Blog Archive » Netware Memory Tuning TIDs & Tools</a></cite> Says: <br /> <small class="commentmetadata"><a href="#comment-1995" title="" class="commentmetadata">October 21st, 2007 at 3:45 pm</a> </small> <p>[...] [...]</p> </li> </ol> <h3 id="respond">Leave a Reply</h3> <form action="http://novellblog.com/wp-comments-post.php" method="post" id="commentform"> <p><input type="text" name="author" id="author" value="" size="22" tabindex="1" /> <label for="author"><small>Name (required)</small></label></p> <p><input type="text" name="email" id="email" value="" size="22" tabindex="2" /> <label for="email"><small>Mail (will not be published) (required)</small></label></p> <p><input type="text" name="url" id="url" value="" size="22" tabindex="3" /> <label for="url"><small>Website</small></label></p> <!--<p><small><strong>XHTML:</strong> You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> </small></p>--> <p><textarea name="comment" id="comment" style="width:90%; height:150px" tabindex="4"></textarea></p> <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> <input type="hidden" name="comment_post_ID" value="24" /> </p> <script type="text/javascript"> //<![CDATA[ function gethash(){ document.getElementById('commentform').onsubmit = null; if(document.getElementById('submit')) document.getElementById('submit').value='Please wait...'; var mysack = new sack("http://novellblog.com/wp-content/plugins/wp-captcha-free/captcha-free.php"); mysack.execute = 1; mysack.method = 'POST'; mysack.onError = function() { alert('Unable to get Captcha-Free Hash!') }; mysack.setVar('post_id', 24); mysack.runAJAX(); return false; } function gothash(myhash){ document.getElementById('captchafree').value = myhash; // Workaround for Wordpress' retarded choice of naming the submit button same as a JS function name >:-( document.getElementById('submit').click(); } document.getElementById('commentform').onsubmit = gethash; //]]> </script> <input type="hidden" id="captchafree" name="captchafree" value="" /> <p><small><noscript><strong>Please note:</strong> JavaScript is required to post comments.</noscript> <a href="http://wordpresssupplies.com/wordpress-plugins/captcha-free/">Spam protection by WP Captcha-Free</a></small></p> </form> </div> </div> <div style="clear:both; font-size:20px; line-height:20px"><br/></div> </div> </div> <div class="right"> <div class="sub_right"> <div class="right_head">Categories</div><br/> <ul> <li class="cat-item cat-item-5"><a href="http://novellblog.com/?cat=5" title="View all posts filed under CPD">CPD</a> (14) </li> <li class="cat-item cat-item-1"><a href="http://novellblog.com/?cat=1" title="Novell & SUSE related posts">Novell & SUSE</a> (20) </li> <li class="cat-item cat-item-3"><a href="http://novellblog.com/?cat=3" title="Novell, Netware and other traditional Novell product related posts">Novell/Netware</a> (11) </li> <li class="cat-item cat-item-4"><a href="http://novellblog.com/?cat=4" title="Other posts">Other</a> (11) </li> <li class="cat-item cat-item-2"><a href="http://novellblog.com/?cat=2" title="SUSE products & linux related posts">SUSE/Linux</a> (14) </li> </ul><br style="line-height:25px "/> <div class="right_head">Archives</div><br/> <ul> <li><a href='http://novellblog.com/?m=201008' title='August 2010'>August 2010</a></li> <li><a href='http://novellblog.com/?m=201007' title='July 2010'>July 2010</a></li> <li><a href='http://novellblog.com/?m=201002' title='February 2010'>February 2010</a></li> <li><a href='http://novellblog.com/?m=200903' title='March 2009'>March 2009</a></li> <li><a href='http://novellblog.com/?m=200807' title='July 2008'>July 2008</a></li> <li><a href='http://novellblog.com/?m=200806' title='June 2008'>June 2008</a></li> <li><a href='http://novellblog.com/?m=200711' title='November 2007'>November 2007</a></li> <li><a href='http://novellblog.com/?m=200708' title='August 2007'>August 2007</a></li> <li><a href='http://novellblog.com/?m=200706' title='June 2007'>June 2007</a></li> <li><a href='http://novellblog.com/?m=200705' title='May 2007'>May 2007</a></li> </ul><br style="line-height:25px "/> <b>Visit my website at:</b><br><br><a href="http://www.jamesgosling.com">JamesGosling.com</a><br><br><b>Hook up with me:</b><br><br><a href="http://www.linkedin.com/pub/9/5/970" ><img src="http://www.linkedin.com/img/webpromo/btn_viewmy_160x33.gif" width="160" height="33" border="0" alt="View James Gosling's profile on LinkedIn"></a><br><br> <a href="http://www.facebook.com/people/James-Gosling/726715178"><img src="http://www.jamesgosling.com/images/facebook_icon.gif" border="0" alt="Facebook profile"></a><br><br><a href="http://www.novell.com/communities/user/12769"><img src="http://www.jamesgosling.com/images/novellpro.jpg" border="0" alt="Novell communities profile"></a><br><br><b>Checked out SUSE Linux yet?</b><br><br><A href="http://www.novell.com/linux?sourceid=contest" class='style2'>Learn to love the lizard</a><br><br><a href="http://www.novell.com/linux?sourceid=contest" class='style2'><img src="../images/suse_linux.jpg" width="110" height="110"></a><br><br><div class="right_head">Search this site<br><br></div><div class="right_head"> <form method="get" id="searchform" action="http://novellblog.com" style="padding:0px; margin:0px"> <input type="text" name="s" id="s" class="form" value=""/><br/><br/> <input type="image" src="http://novellblog.com/wp-content/themes/Theme55/images/search.gif" value="submit" style="border:0px; margin:0px 0px 0px 0px; vertical-align:top"/> </form> <br></div><script type="text/javascript"><!-- google_ad_client = "pub-2137804786368359"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_type = "text"; google_ad_channel = ""; google_color_border = "78B749"; google_color_bg = "78B749"; google_color_link = "E87800"; google_color_text = "FFFFFF"; google_color_url = "E87800"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <script type="text/javascript"><!-- google_ad_client = "pub-2137804786368359"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_type = "text"; google_ad_channel = ""; google_color_border = "78B749"; google_color_bg = "78B749"; google_color_link = "E87800"; google_color_text = "FFFFFF"; google_color_url = "E87800"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <script type="text/javascript"><!-- google_ad_client = "pub-2137804786368359"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_type = "text"; google_ad_channel = ""; google_color_border = "78B749"; google_color_bg = "78B749"; google_color_link = "E87800"; google_color_text = "FFFFFF"; google_color_url = "E87800"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </div> </div> </div> <div class="footer"> novellblog.com is proudly powered by <a href="http://www.wordpress.org" target="_blank">WordPress</a>. </div> </div> </div> </div> </div> </body> </html>