<?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 Re: /dev/shm - RHAS 3.0 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766683#M22706</link>
    <description>I feel stupid, how a shared memory will be 640 bytes? I don't know what I was thinking. The sum of all bytes gives 14072856576 (14 GB), and you can see:&lt;BR /&gt;&lt;BR /&gt;0x00000000 1474570 oracle 640 6442450944 62&lt;BR /&gt;&lt;BR /&gt;Tha means that the largest size of a segment is 6 GB. From here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.puschitz.com/TuningLinuxForOracle.shtml#SettingSharedMemory" target="_blank"&gt;http://www.puschitz.com/TuningLinuxForOracle.shtml#SettingSharedMemory&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can read:&lt;BR /&gt;&lt;BR /&gt;"This means that SHMMAX should not exceed 4294967295 on a 32-bit system. On x86-64 platforms, SHMMAX can be much larger than 4GB since the virtual address space is not limited by 32 bits."&lt;BR /&gt;&lt;BR /&gt;Can you post the ouput of:&lt;BR /&gt;&lt;BR /&gt;# cat /proc/sys/kernel/shmmax&lt;BR /&gt;&lt;BR /&gt;To be sure about how you have it configured?&lt;BR /&gt;&lt;BR /&gt;Once again I'm sorry, I don't like to commit this kind of mistakes.</description>
    <pubDate>Fri, 07 Apr 2006 13:37:26 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2006-04-07T13:37:26Z</dc:date>
    <item>
      <title>/dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766669#M22692</link>
      <description>Does anyone know what's /dev/shm and what is used for?  Is this something like upper memory that you can pin a process so it can run faster?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;J&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;/dev/cciss/c0d0p7       755920    395196    322324  56% /&lt;BR /&gt;/dev/cciss/c0d0p1       122622      4802    117820   4% /boot/efi&lt;BR /&gt;/dev/cciss/c0d0p6      1511856    639688    795368  45% /home&lt;BR /&gt;none                  24974608         0  24974608   0% /dev/shm&lt;BR /&gt;/dev/cciss/c0d0p5      2015824     50928   1862496   3% /tmp&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Apr 2006 16:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766669#M22692</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-04-05T16:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766670#M22693</link>
      <description>No, it's a non-fs shared memory segment used for IPC.</description>
      <pubDate>Wed, 05 Apr 2006 16:46:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766670#M22693</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-04-05T16:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766671#M22694</link>
      <description>The /dev/shm stands for shared memory. It can be used to tweak the shared memory parameters for applications like Oracle.</description>
      <pubDate>Wed, 05 Apr 2006 17:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766671#M22694</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-05T17:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766672#M22695</link>
      <description>Hi Ivan - Can you tell me more about the parameters or point me to where I can read up on this paramters.  Yes, I intend to use on the my Oracle 10g box.&lt;BR /&gt;&lt;BR /&gt;Thanks much!!&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Wed, 05 Apr 2006 18:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766672#M22695</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-04-05T18:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766673#M22696</link>
      <description>See this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.oracle-base.com/articles/linux/LargeSGAOnLinux.php" target="_blank"&gt;http://www.oracle-base.com/articles/linux/LargeSGAOnLinux.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please assign points to the people that helps you.&lt;BR /&gt;&lt;BR /&gt;Have a nice day.</description>
      <pubDate>Wed, 05 Apr 2006 18:54:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766673#M22696</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-05T18:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766674#M22697</link>
      <description>Gentlemen - &lt;BR /&gt;Would you know what's the command to show your current SGA parameter?&lt;BR /&gt;&lt;BR /&gt;Again, many thanks!!&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Wed, 05 Apr 2006 21:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766674#M22697</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-04-05T21:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766675#M22698</link>
      <description>That information you should get it through oracle, I don't know about oracle, but normally I use:&lt;BR /&gt;&lt;BR /&gt;ipcs -a&lt;BR /&gt;&lt;BR /&gt;You will see tha shared memory regiongs, the owner and the size.&lt;BR /&gt;&lt;BR /&gt;To identify the size of the shared memory used currently.</description>
      <pubDate>Thu, 06 Apr 2006 07:48:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766675#M22698</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-06T07:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766676#M22699</link>
      <description>Great, Ivan.  By the way, how do you read this?  Many thanks!!&lt;BR /&gt;&lt;BR /&gt;J.&lt;BR /&gt;&lt;BR /&gt;------ Shared Memory Segments --------&lt;BR /&gt;key        shmid      owner      perms      bytes      nattch     status&lt;BR /&gt;0x00000000 0          gdm       600        393216     2          dest&lt;BR /&gt;0x00000000 1146881    oracle    640        1343488    15&lt;BR /&gt;0x00000000 1179650    oracle    640        125829120  15&lt;BR /&gt;0xe3f40ad4 1212419    oracle    640        16384      15&lt;BR /&gt;0x00000000 1245188    oracle    640        1343488    43&lt;BR /&gt;0x00000000 1277957    oracle    640        4294967296 43&lt;BR /&gt;0x3a16bd24 1310726    oracle    640        16384      43&lt;BR /&gt;0x00000000 1409032    oracle    640        1359872    62&lt;BR /&gt;0x00000000 1441801    oracle    640        1048576    62&lt;BR /&gt;0x00000000 1474570    oracle    640        6442450944 62&lt;BR /&gt;0x00000000 1507339    oracle    640        3204448256 62&lt;BR /&gt;0x16c7cd84 1540108    oracle    640        32768      62&lt;BR /&gt;&lt;BR /&gt;------ Semaphore Arrays --------&lt;BR /&gt;key        semid      owner      perms      nsems&lt;BR /&gt;0x15018304 2457600    oracle    640        34&lt;BR /&gt;0xfb949950 2588673    oracle    640        202&lt;BR /&gt;0xfb949951 2621442    oracle    640        202&lt;BR /&gt;0xfb949952 2654211    oracle    640        202&lt;BR /&gt;0x79ca2f70 2818053    oracle    640        154&lt;BR /&gt;&lt;BR /&gt;------ Message Queues --------&lt;BR /&gt;key        msqid      owner      perms      used-bytes   messages&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Apr 2006 08:54:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766676#M22699</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-04-06T08:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766677#M22700</link>
      <description>In shared memory segments, sum all the "bytes" columns to get the total. The output looks very bad so i don't sum it.</description>
      <pubDate>Thu, 06 Apr 2006 09:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766677#M22700</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-06T09:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766678#M22701</link>
      <description>From that output, if you sum all shared memory segments used by oracle, looks that you have 7040 MB (7GB), and that your shm-max (maximum size of shared memory) is 640 MB.&lt;BR /&gt;&lt;BR /&gt;To change the value SHMMAX, you can use either of the following three methods:&lt;BR /&gt;&lt;BR /&gt;#  This method sets the SHMMAX  on startup by inserting the following kernel parameter in the /etc/sysctl.conf startup file:&lt;BR /&gt;&lt;BR /&gt;# echo "kernel.shmmax=2147483648" &amp;gt;&amp;gt; /etc/sysctl.conf&lt;BR /&gt;&lt;BR /&gt;# If you wanted to dynamically alter the value of SHMMAX without rebooting the machine, you can make this change directly to the /proc file system. This command can be made permanent by putting it into the /etc/rc.local startup file:&lt;BR /&gt;&lt;BR /&gt;# echo "2147483648" &amp;gt; /proc/sys/kernel/shmmax&lt;BR /&gt;&lt;BR /&gt;# You can also use the sysctl command to change the value of SHMMAX:&lt;BR /&gt;&lt;BR /&gt;# sysctl -w kernel.shmmax=2147483648</description>
      <pubDate>Thu, 06 Apr 2006 10:10:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766678#M22701</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-06T10:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766679#M22702</link>
      <description>Ivan - When you say the sum is "bad", do you mean our configuration is bad or just the layout was bad?&lt;BR /&gt;&lt;BR /&gt;Do you think I need to modify my SHMMAX?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;J&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Apr 2006 12:46:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766679#M22702</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-04-06T12:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766680#M22703</link>
      <description>I just said that the format is bad and difficult to read in your message. It's not bad, but the oracle recommendation is to use the values that I posted before.</description>
      <pubDate>Thu, 06 Apr 2006 13:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766680#M22703</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-06T13:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766681#M22704</link>
      <description>Ivan, you aren't reading that correctly.&lt;BR /&gt;The system already has 14GB of oracle shared memory.  The largest single shared memory object is 6GB in size.  Jorge shouldn't reduce the maximum shared memory segment size to 2GB.</description>
      <pubDate>Fri, 07 Apr 2006 11:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766681#M22704</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2006-04-07T11:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766682#M22705</link>
      <description>My apologizes,  Mike is right. I was reading the permissions instead of the bytes. Sorry for the confusion.</description>
      <pubDate>Fri, 07 Apr 2006 13:22:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766682#M22705</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-07T13:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766683#M22706</link>
      <description>I feel stupid, how a shared memory will be 640 bytes? I don't know what I was thinking. The sum of all bytes gives 14072856576 (14 GB), and you can see:&lt;BR /&gt;&lt;BR /&gt;0x00000000 1474570 oracle 640 6442450944 62&lt;BR /&gt;&lt;BR /&gt;Tha means that the largest size of a segment is 6 GB. From here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.puschitz.com/TuningLinuxForOracle.shtml#SettingSharedMemory" target="_blank"&gt;http://www.puschitz.com/TuningLinuxForOracle.shtml#SettingSharedMemory&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can read:&lt;BR /&gt;&lt;BR /&gt;"This means that SHMMAX should not exceed 4294967295 on a 32-bit system. On x86-64 platforms, SHMMAX can be much larger than 4GB since the virtual address space is not limited by 32 bits."&lt;BR /&gt;&lt;BR /&gt;Can you post the ouput of:&lt;BR /&gt;&lt;BR /&gt;# cat /proc/sys/kernel/shmmax&lt;BR /&gt;&lt;BR /&gt;To be sure about how you have it configured?&lt;BR /&gt;&lt;BR /&gt;Once again I'm sorry, I don't like to commit this kind of mistakes.</description>
      <pubDate>Fri, 07 Apr 2006 13:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766683#M22706</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-07T13:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766684#M22707</link>
      <description>No problem on my part, since I'm still in the learning mode.  Here's the result.&lt;BR /&gt;&lt;BR /&gt;6442450944&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;J</description>
      <pubDate>Fri, 07 Apr 2006 14:02:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766684#M22707</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-04-07T14:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766685#M22708</link>
      <description>Acording to the link above you should reduce the size to 4294967296.&lt;BR /&gt;&lt;BR /&gt;I participated of various installations, and normally, we always use that size at maximum, or 2 GB because if the SGA is larger, it will just use more segments.</description>
      <pubDate>Fri, 07 Apr 2006 14:34:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766685#M22708</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-07T14:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766686#M22709</link>
      <description>This must be a 64-bit system to have an existing 6GB shared memory segment.  The limit on shared memory segment size does not need to be below 4GB.&lt;BR /&gt;&lt;BR /&gt;The huge pages feature has a lot of potential for performance improvement on a large memory system like this.  It is covered in the same document that Ivan linked to.&lt;BR /&gt;&lt;A href="http://www.puschitz.com/TuningLinuxForOracle.shtml#LargeMemoryOptimization" target="_blank"&gt;http://www.puschitz.com/TuningLinuxForOracle.shtml#LargeMemoryOptimization&lt;/A&gt;</description>
      <pubDate>Fri, 07 Apr 2006 17:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766686#M22709</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2006-04-07T17:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766687#M22710</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes, this is a 64-bits server with 49GB of memory.  I'm not sure if the Oracle 10g is in need of tuning.  However, I think the MSA1500 cs SANs can use some help though.  I wish we went with a smaller EVA SAN instead of these MSA's.&lt;BR /&gt;&lt;BR /&gt;Do you guys still think I need to tune my Oracle server?  Please help!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;J</description>
      <pubDate>Fri, 07 Apr 2006 22:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766687#M22710</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-04-07T22:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/shm - RHAS 3.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766688#M22711</link>
      <description>It's difficult to say if you need to tune your system, you must do a system performance analysis, if the performance is good, you don't need to tune the system.&lt;BR /&gt;&lt;BR /&gt;I would recommend this redbook.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.redbooks.ibm.com/abstracts/redp3861.html?Open" target="_blank"&gt;http://www.redbooks.ibm.com/abstracts/redp3861.html?Open&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This has good information about how to identify  problems. And a good section about oracle.&lt;BR /&gt;&lt;BR /&gt;Also, this gives some recommedations about tuning the disk subsystem and the elevator.</description>
      <pubDate>Mon, 10 Apr 2006 08:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-shm-rhas-3-0/m-p/3766688#M22711</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-10T08:23:32Z</dc:date>
    </item>
  </channel>
</rss>

