At 05:05 PM 6/8/99 -0500, you wrote:
>
>
>On Tue, 8 Jun 1999, 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.
>>
>
>
>That isn't his problem. His has to do with the IPC_PRIVATE issue he
>raised. I already have shmmax at some huge number on that machine so
>he can test...
Correct. The problem is that no matter what you fiddle with shmmax,
you can't still allocate huge memory when not using IPC_PRIVATE.
for shared memory you really do NOT want to use IPC_PRIVATE, as that
works only for this process.
Yet ipc_private was the only thing that could allocate more than
32 mb memory for me, except for the plain a = malloc() call, which
you also don't want to use.
>Bob
>
>
>
>
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]