lkml.org 
[lkml]   [1999]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMiniscule SHMMAX causing trouble
I have been trying out the "buffer" program.  This thing can make use of a
lot of shared memory. Unfortunately, it was not working for me. Martin
Buck, the Debian developer that I wrote to about it, pointed this out:

wallace:$ grep '#define SHMMAX' /usr/local/src/linux-2.0.34/include/asm-alpha/shmparam.h
#define SHMMAX 0x3fa000 /* max shared seg size (bytes) */
^^^^^^^^
whereas:

wallace:~$ grep '#define SHMMAX' /usr/local/src/linux-2.0.34/include/asm-i386/shmparam.h
#define SHMMAX 0x2000000 /* max shared seg size (bytes) */
^^^^^^^^^

Now, I am indeed on Alpha. Why is the maximum shared memory size on Alpha
miniscule like that? Certainly a 64-bit machine should be able to use at
least as much shared memory as a 32-bit one!

Is this something that I can tweak and set to an arbitrary value?

This problem is in all the way from 2.0.x to 2.2.0pre.

Thanks,
John

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.023 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site