https://bugzilla.novell.com/show_bug.cgi?id=335486 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=335486#c95 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|ro@novell.com |walter.haidinger@gmx.at --- Comment #95 from Marius Tomaschewski <mt@novell.com> 2009-01-12 02:47:01 MST --- (In reply to comment #94)
Hello Marius, Hi!
on my server, I used the /etc/fstab line "tmpfs /dev/shm tmpfs size=1G 0 0" cause it was recommended for a SAP Testdrive (Netweaver 2004s with MaxDB 7.6).
There are various sapnotes with hints on tmpfs and SAP memory management for Linux systems. In the SAP Note 941735 (SAP memory management for 64-bit Linux systems), I found a solution to customize my system without the line in /etc/fstab. But there is another hint in this SAP Note: ... TMPFS With the STD implementation (SAP profile parameter es/implementation=std), the SAP Extended Memory is no longer stored in the TMPFS (under /dev/shm). However, the TMPFS is required by the Virtual Machine Container (VMC). For this reason, we still recommend the same configuration of the TMPFS: 75% (RAM + Swap) is still recommended as the size. ... So I understand, that in my case the "tmpfs /dev/shm tmpfs size=1G 0 0" is still relevant. If not, is this a question for Linux (so bugzilla.novell and SLES) or more for SAP? Question would be "How to configure the tmpfs for the VMC otherwise?" With the patch you recommended or "hard" size= in /etc/init.d/boot or...?
Since udev (something like 10.x), the complete /dev is a tmpfs. Before, /dev was (usually) a normal directory on root-fs with static device files and only the /dev/shm directory was a tmpfs. Because the complete /dev is a tmpfs (udev & init scripts are using very less of it [254K on my system]), it is not required any more to create a separate tmpfs for /dev/shm. But this does not mean, that it is never needed to adjust the default size (of 50% RAM). The patch in comment #91 allows to specify the size directly for /dev, adding a /etc/fstab line like: udev /dev tmpfs size=3g,mode=755 0 0 and to remove the /dev/shm mount entry. If setting it to "75% (RAM + Swap)" (as recommended above) makes sense or not, is completely another issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.