johnyangk commented on a change in pull request #222: [NEMO-350] Implement
Off-heap SerializedMemoryStore & [NEMO-384] Implement
DirectByteBufferInputStream for Off-heap SerializedMemoryStore
URL: https://github.com/apache/incubator-nemo/pull/222#discussion_r295133746
##########
File path:
common/src/main/java/org/apache/nemo/common/DirectByteBufferOutputStream.java
##########
@@ -31,11 +32,10 @@
public final class DirectByteBufferOutputStream extends OutputStream {
private LinkedList<ByteBuffer> dataList = new LinkedList<>();
- private static final int DEFAULT_PAGE_SIZE = 4096;
+ private static final int DEFAULT_PAGE_SIZE = 32768; //32KB
Review comment:
Can you add a comment on the trade-offs between large/small page sizes?
----------------------------------------------------------------
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