johnyangk commented on a change in pull request #223: [NEMO-388] Off-heap 
memory management (reuse ByteBuffer)
URL: https://github.com/apache/incubator-nemo/pull/223#discussion_r306148302
 
 

 ##########
 File path: conf/src/main/java/org/apache/nemo/conf/JobConf.java
 ##########
 @@ -288,6 +288,23 @@
   public final class PartitionTransportClientNumThreads implements 
Name<Integer> {
   }
 
+  /**
+   * Off-heap memory pool size of the executor.
+   */
+  // TODO #397: Separation of JVM heap region and off-heap memory region
+  @NamedParameter(doc = "The size of off-heap memory pool of the executor",
+    short_name = "memory_pool_size", default_value = "268435456")
+  public final class MemoryPoolSize implements Name<Long> {
+  }
+
+  /**
+   * MemoryChunk size in the memory pool.
+   */
+  @NamedParameter(doc = "The memory chunk size in the memory pool of the 
executor",
+    short_name = "chunk_size", default_value = "32768")
 
 Review comment:
   default_value = "32"?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to