Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
improve the doc of SMPI privatization (fix #137)
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 26 Dec 2017 22:06:06 +0000 (23:06 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 26 Dec 2017 22:06:11 +0000 (23:06 +0100)
I just kept the bug open for reference until it got correctly
documented, and it's done now. I admit, the full feature solution is
not implemented, but the current one is good enough, and the doc links
to #137 for future reference.

doc/doxygen/module-smpi.doc

index 4e3b3f5..06d67b6 100644 (file)
@@ -508,6 +508,8 @@ the exact same file several times, be it a library or a relocatable
 executable. It makes perfectly sense in the general case, but we need
 to circumvent this rule of thumb in our case. To that extend, the
 binary is copied in a temporary file before being re-linked against.
 executable. It makes perfectly sense in the general case, but we need
 to circumvent this rule of thumb in our case. To that extend, the
 binary is copied in a temporary file before being re-linked against.
+`dlmopen()` cannot be used as it only allows 256 contextes, and as it
+would also dupplicate simgrid itself.
 
 This approach greatly speeds up the context switching, down to about
 40 CPU cycles with our raw contextes, instead of requesting several
 
 This approach greatly speeds up the context switching, down to about
 40 CPU cycles with our raw contextes, instead of requesting several
@@ -522,7 +524,9 @@ href="https://lwn.net/Articles/415889/">punch holes</a> in the files
 before dl-loading them to remove the code and constants, and mmap
 these area onto a unique copy. If done correctly, this would reduce
 the disk- and memory- usage to the bare minimum, and would also reduce
 before dl-loading them to remove the code and constants, and mmap
 these area onto a unique copy. If done correctly, this would reduce
 the disk- and memory- usage to the bare minimum, and would also reduce
-the pressure on the CPU instruction cache.\n
+the pressure on the CPU instruction cache. See 
+<a href="https://github.com/simgrid/simgrid/issues/137">the relevant
+bug</a> on github for implementation leads.\n
 
 Also, currently, only the binary is copied and dlopen-ed for each MPI
 rank. We could probably extend this to external dependencies, but for
 
 Also, currently, only the binary is copied and dlopen-ed for each MPI
 rank. We could probably extend this to external dependencies, but for