On Tue, 8 Jun 1999, Vincent Diepeveen wrote:

>    shm_game = shmget(ftok(".",'t'),150000000,IPC_CREAT|0777);

> For linux 2.0.35 or something one can't get more than 32 mb doing this.

Correct.

> At the quad pro200 i directly tried allocating 150mb. Never tried
> less than 128mb. Might be case that 2.2.x allows allocation up to
> 128mb. never tested that.

Have a look in /proc/sys/kernel/shmmax.  This allows you to increase
the amount of shm available.

Matthew.

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to