Github user Ben-Zvi commented on a diff in the pull request:

    https://github.com/apache/drill/pull/754#discussion_r102295524
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/cache/VectorAccessibleSerializable.java
 ---
    @@ -57,6 +57,12 @@
       private BatchSchema.SelectionVectorMode svMode = 
BatchSchema.SelectionVectorMode.NONE;
       private SelectionVector2 sv2;
     
    +  /**
    +   * Disk I/O buffer used for all reads and writes of DrillBufs.
    +   */
    +
    +  private byte buffer[] = new byte[32*1024];
    --- End diff --
    
    (1) Is 32K too small ? (because it is heap?) Does a higher size perform 
better ?
    (2) Would it work better if the operator would allocate this serialization 
buffer from the direct memory (and only when spilling), and then free it at the 
end ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to