README.JAVA.txt: explain the 'mca' parameter 'mpi_java_eager'
This commit was SVN r31464.
Этот коммит содержится в:
родитель
6f057e57ba
Коммит
bbbc6b9100
@ -192,6 +192,19 @@ practical point of view, this implies an overhead associated to all
|
|||||||
buffers that are represented by Java arrays. The overhead is small
|
buffers that are represented by Java arrays. The overhead is small
|
||||||
for small buffers but increases for large arrays.
|
for small buffers but increases for large arrays.
|
||||||
|
|
||||||
|
There is a pool of temporary buffers with a default capacity of 64K.
|
||||||
|
If a temporary buffer of 64K or less is needed, then the buffer will
|
||||||
|
be obtained from the pool. But if the buffer is larger, then it will
|
||||||
|
be necessary to allocate the buffer and free it later.
|
||||||
|
|
||||||
|
The default capacity of pool buffers can be modified with an 'mca'
|
||||||
|
parameter:
|
||||||
|
|
||||||
|
mpirun --mca mpi_java_eager size ...
|
||||||
|
|
||||||
|
Where 'size' is the number of bytes, or kilobytes if it ends with 'k',
|
||||||
|
or megabytes if it ends with 'm'.
|
||||||
|
|
||||||
An alternative is to use "direct buffers" provided by standard
|
An alternative is to use "direct buffers" provided by standard
|
||||||
classes available in the Java SDK such as ByteBuffer. For convenience
|
classes available in the Java SDK such as ByteBuffer. For convenience
|
||||||
we provide a few static methods "new[Type]Buffer" in the MPI class
|
we provide a few static methods "new[Type]Buffer" in the MPI class
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user