[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what about cdrecord ?



At 12:23 -0700 1999-10-01, C.M. Connelly wrote:
The parameter is SHMMAX, #defined in /usr/src/linux/include/asm*/shmparam.h.
This parameter is set to 4 MB by default in older (pre-2.2.10)
kernels, but has been changed in more recent versions of the Vger
source code (presumably these patches have propagated to the main
source tree, but I wouldn't take it on faith).

% grep '^#define SHMMAX' ~kernel/2.2.13pre/include/asm-ppc/shmparam.h
#define SHMMAX 0x2000000                /* max shared seg size (bytes) */

The parameter is also tunable at runtime via /proc/sys/kernel/shmmax, the value is in decimal bytes.
So 32MB (the current default) can be set via
  echo 33554432 > /proc/sys/kernel/shmmax
--
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>


Reply to: