lkml.org 
[lkml]   [1999]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmmap feature
Hello,

I would like ask for adding a feature to the mmap system call.

During the compilation of MPICH (a library for parallel processing by
message passing) I found that it cannot work at full performance under
Linux because of a limitation of the mmap system call. For this reason,
MPICH cannot take full advantadge of a SMP machine under Linux.


./configure --with-device=ch_mem

[other messages]
mem = (char *) mmap((caddr_t) 0, memsize,
PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_SHARED|MAP_ANONYMOUS,
-1, (off_t) 0);


According to the library documentation, "Linux does not support standard
mmap system call". I cannot say if this is accurate of not. I know that
this system call works without problem under Solaris.

Anyway, supporting the mmap system call with this flags would increase
the performance of SMP Linux boxes with the MPI library. This library
is widely used in the scientific community. Therefore, this enhancement
would be very appreciated.

-
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:55    [W:0.042 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site