[ https://issues.apache.org/jira/browse/TEZ-2849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940866#comment-14940866 ]
Tsuyoshi Ozawa commented on TEZ-2849: ------------------------------------- [~gopalv] thanks for your patch! I'll take a benchmark with your patch in this weekend. Please wait a moment. > Implement Specific Workaround for JDK-8026049 & JDK-8073093 > ------------------------------------------------------------ > > Key: TEZ-2849 > URL: https://issues.apache.org/jira/browse/TEZ-2849 > Project: Apache Tez > Issue Type: Sub-task > Affects Versions: 0.8.1 > Reporter: Gopal V > Assignee: Gopal V > Attachments: TEZ-2849.1.patch > > > The CPU performance overhead of the sort operation is tied to the JIT > handling of the aliased byte buffers without an explicit alignment (i.e a > byte[] buffer referenced as an IntBuffer). > https://bugs.openjdk.java.net/browse/JDK-8026049 > + > https://bugs.openjdk.java.net/browse/JDK-8073093 > Workaround that JIT limitation while keeping in mind the modern CPU > micro-code optimizations around alignment. > http://lemire.me/blog/archives/2012/05/31/data-alignment-for-speed-myth-or-reality/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)