At 08:36 PM 6/8/99 +0100, Matthew Kirkwood wrote:
>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.

indeed that's where i first looked. it goes to 128 mb max however.
after that you need to drastically change something.

>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]
>
>
-
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