[SunHELP] Increase SHMMAX value to gain better performance?

sunhelp at sunhelp.org sunhelp at sunhelp.org
Tue Dec 12 02:19:56 CST 2000


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C06414.5004029C
Content-Type: text/plain;
	charset="iso-8859-1"

Thanks for your input. One more question, how to check how much shared
memory has been used up by the system and how to know it already hit the
270MB limit?

TIA,
Jason

-----Original Message-----
From: Dale Ghent [mailto:daleg at elemental.org]
Sent: Friday, December 08, 2000 9:06 PM
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] Increase SHMMAX value to gain better performance?


On Fri, 8 Dec 2000 JasonYLPang at pg.SLR.com wrote:

| Currently, existing SHMMAX value is 270MB. Can I increase the SHMMAX value
| to gain better performance? If yes, what is the right value to be tuned?

The limit set by shmmax is just tha, a limit. It set the maximum allowable
shared memory segment size. Unless you're already hitting the 270MB limit,
increasing it won't be an instant and overwhelming win for performance.

You can set shmmax by putting the following in /etc/system and rebooting:

set shmsys:shminfo_shmax=<value>

where <value> is the number of bytes you wan tthe max segment size to
be. On 2.6, which it 32bit, that maximum possible value is 4294967295
(4GB).

/dale

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp

------_=_NextPart_001_01C06414.5004029C
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: [SunHELP] Increase SHMMAX value to gain better =
performance?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Thanks for your input. One more question, how to =
check how much shared memory has been used up by the system and how to =
know it already hit the 270MB limit?</FONT></P>

<P><FONT SIZE=3D2>TIA,</FONT>
<BR><FONT SIZE=3D2>Jason</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Dale Ghent [<A =
HREF=3D"mailto:daleg at elemental.org">mailto:daleg at elemental.org</A>]</FON=
T>
<BR><FONT SIZE=3D2>Sent: Friday, December 08, 2000 9:06 PM</FONT>
<BR><FONT SIZE=3D2>To: sunhelp at sunhelp.org</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [SunHELP] Increase SHMMAX value to gain =
better performance?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>On Fri, 8 Dec 2000 JasonYLPang at pg.SLR.com =
wrote:</FONT>
</P>

<P><FONT SIZE=3D2>| Currently, existing SHMMAX value is 270MB. Can I =
increase the SHMMAX value</FONT>
<BR><FONT SIZE=3D2>| to gain better performance? If yes, what is the =
right value to be tuned?</FONT>
</P>

<P><FONT SIZE=3D2>The limit set by shmmax is just tha, a limit. It set =
the maximum allowable</FONT>
<BR><FONT SIZE=3D2>shared memory segment size. Unless you're already =
hitting the 270MB limit,</FONT>
<BR><FONT SIZE=3D2>increasing it won't be an instant and overwhelming =
win for performance.</FONT>
</P>

<P><FONT SIZE=3D2>You can set shmmax by putting the following in =
/etc/system and rebooting:</FONT>
</P>

<P><FONT SIZE=3D2>set shmsys:shminfo_shmax=3D<value></FONT>
</P>

<P><FONT SIZE=3D2>where <value> is the number of bytes you wan =
tthe max segment size to</FONT>
<BR><FONT SIZE=3D2>be. On 2.6, which it 32bit, that maximum possible =
value is 4294967295</FONT>
<BR><FONT SIZE=3D2>(4GB).</FONT>
</P>

<P><FONT SIZE=3D2>/dale</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>SunHELP maillist  -  =
SunHELP at sunhelp.org</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.sunhelp.org/mailman/listinfo/sunhelp" =
TARGET=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhelp</A></F=
ONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C06414.5004029C--



More information about the SunHELP mailing list