Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
XDR.writeXxx(..) methods ultimately use the static XDR.append(..) for writing each data type. The static append creates a new array and copy data. Therefore, for a singe reply such as RpcAcceptedReply.voidReply(..), there are multiple array creations and array copies. For example, there are at least 6 array creations and array copies for RpcAcceptedReply.voidReply(..).
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-9966 Refactor XDR code into XDRReader and XDRWriter
- Open
-
HADOOP-9967 Zero copies in hdfs-nfs
- Open