<?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 Decimal vs hex kernel parameters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698702#M248948</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm working on a application upgrade on a N4000 server.  I sent the software vendor the current kernel parameters. I used kmtune to list the parameters.  The vendor sent back some recommended kernel changes and stated,&lt;BR /&gt;&lt;BR /&gt;"In order to avoid panic signal 10 errors, some of the kernel values need to be in dec value not hex.  The hex values are known to cause panics"  &lt;BR /&gt;&lt;BR /&gt;Has anyone heard of this?  Is there a difference between decimal and hex values?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;&lt;BR /&gt;N4000-55, 8cpus, 8Gb memory, 12H autoraid, HP-UX 11i june 2004</description>
    <pubDate>Tue, 27 Dec 2005 18:39:27 GMT</pubDate>
    <dc:creator>Paul Hopkins</dc:creator>
    <dc:date>2005-12-27T18:39:27Z</dc:date>
    <item>
      <title>Decimal vs hex kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698702#M248948</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm working on a application upgrade on a N4000 server.  I sent the software vendor the current kernel parameters. I used kmtune to list the parameters.  The vendor sent back some recommended kernel changes and stated,&lt;BR /&gt;&lt;BR /&gt;"In order to avoid panic signal 10 errors, some of the kernel values need to be in dec value not hex.  The hex values are known to cause panics"  &lt;BR /&gt;&lt;BR /&gt;Has anyone heard of this?  Is there a difference between decimal and hex values?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;&lt;BR /&gt;N4000-55, 8cpus, 8Gb memory, 12H autoraid, HP-UX 11i june 2004</description>
      <pubDate>Tue, 27 Dec 2005 18:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698702#M248948</guid>
      <dc:creator>Paul Hopkins</dc:creator>
      <dc:date>2005-12-27T18:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal vs hex kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698703#M248949</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I have not heard this one.  A signal-10 is a SIGBUS error which can arise from bad pointers.&lt;BR /&gt;&lt;BR /&gt;Regardless, there is no difference between using decimal or hexadecimal values.  I personally use hexadecimal when the parameter's permissible range is expressed in hexadecimal (e.g. 'maxdsiz_64bit' range is 0x40000 to 0x3ffbfffffff), but use decimal when the range is expressed in that base (e.g. 'maxfiles' range is 30-60000).  You are free to interconvert.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 27 Dec 2005 19:04:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698703#M248949</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-27T19:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal vs hex kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698704#M248950</link>
      <description>I figured the dec &amp;amp; hex values were pretty much interchangeable like you say.  I had never heard of a difference between kernel parameters in dec vs hex.  Your example of the maxdsiz_64bit parameter was one that the vendor said needed to be entered in decimal.  kmtune shows the value in hex.&lt;BR /&gt;&lt;BR /&gt;maxdsiz_64bit      0x40000000  -  0x0000000040000000&lt;BR /&gt;&lt;BR /&gt;If you use sam to look at and/or configure the parameter, it displays the value in decimal.&lt;BR /&gt;&lt;BR /&gt;maxdsiz_64bit          1073741824   1073741824   Static    N/A&lt;BR /&gt;&lt;BR /&gt;I was skeptical when I heard this from the vendor.  I asked if they had any documentation on this.  They haven't come up with anything yet. &lt;BR /&gt;&lt;BR /&gt;Thanks for the reality check.  &lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Dec 2005 20:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698704#M248950</guid>
      <dc:creator>Paul Hopkins</dc:creator>
      <dc:date>2005-12-27T20:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal vs hex kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698705#M248951</link>
      <description>The kernel tuning values are compiled from the system file and the kernel=builder simply converts whatever is there into an appropriate binary value. The kernel-builder/compiler recognizes octal, hex, decimal and formulae. These are simply symbolic values that will translated into a final binary value for the kernel. My guess is that someone did not compute a hex value correctly and the result was an extremely large number. Unfortunately, many kernel parameters are 8 to 12 numbers and it is really easy to miscount the digit count.&lt;BR /&gt; &lt;BR /&gt;SAM is not helpful because it decodes the entered value into a simple decimal number without any magnitude helpers (like 1,000,000,000 for a billion, or 1.00 billion). You really need a good Octal/Hex calculator to help.</description>
      <pubDate>Tue, 27 Dec 2005 20:39:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698705#M248951</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-12-27T20:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Decimal vs hex kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698706#M248952</link>
      <description>By the way it behaves, I'm all but positive that kmtune uses the standard library function, strtoul -- which converts a string to an unsigned long value.&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt; &lt;BR /&gt;&lt;BR /&gt;unsigned long strtoul(const char *nptr, char **endptr, int base);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The nice feature of this function is that if zero is supplied as the base (radix) for the conversion then strtoul attempts to automatically set the base. If the string begins with '0x' a hexadecimal base is assummed; if the string begins with '0', an octal base is assumed; otherwise, a decimal is assumed. Strtoul works just fine so I rather doubt given valid input in hex or decimal that a problem exists.&lt;BR /&gt;&lt;/STDLIB.H&gt;</description>
      <pubDate>Tue, 27 Dec 2005 22:43:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decimal-vs-hex-kernel-parameters/m-p/3698706#M248952</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-12-27T22:43:47Z</dc:date>
    </item>
  </channel>
</rss>

