On Wed, 2007-07-18 at 14:02 -0400, Alan Altmark wrote: > On Wednesday, 07/18/2007 at 01:52 EDT, David Schaub > <[EMAIL PROTECTED]> wrote: > > Some time ago at an IBM Share I remember seeing a new technique to > > "balloon" kernel memory under a 2.6 kernel (SLES9 Update 3?) to make > > less memory available to all applications. The idea was to use the > > ballooning technique to lower available memory until swapping was > > induced. The problem is, I can't find any reference to it beyond > > Coorperative Memory Management (CMM1 and CMM2) and in all of my > > searching I can't find the specific commands/kernel modules that are > > used to execute a manual ballooning process. > > > > Any hints? Or am I completely looney? > > The VM Resource Manager can send the needed message to Linux. It monitors > the system for memory constraints and, if encountered, sends Linux the > magic message. Look at the Linux Device Driver and Command Reference for > details on how to configure Linux to receive the messages. > > There is also some information on some settings in the /proc file system. > > If you want to build the messages yourself, you'd have to go look at the > code in the cmm Linux module to find the formats. > > Alan Altmark > z/VM Development > IBM Endicott >
This link seems pretty good too: http://www.vm.ibm.com/sysman/vmrm/vmrmcmm.html I haven't tried it out, but it has VM config examples. On the Linux side, you'll use the "cmm" module (at least as it's called in RHEL 5): # modinfo cmm filename: /lib/modules/2.6.18-8.1.3.el5/kernel/arch/s390/mm/cmm.ko license: GPL srcversion: 3CA47ECCDE19913348C9217 depends: smsgiucv vermagic: 2.6.18-8.1.3.el5 SMP mod_unload gcc-4.1 parm: sender:Guest name that may send SMSG messages (default VMRMSVM) (charp) -Brad > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Brad Hinson <[EMAIL PROTECTED]> Sr. Support Engineer Lead, System z Red Hat, Inc. (919) 754-4198 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390