hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Tang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6672) BytesWritable.write(buf) use much more CPU in writeInt() then write(buf)
Date Fri, 02 Apr 2010 17:58:27 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852892#action_12852892
] 

Hong Tang commented on HADOOP-6672:
-----------------------------------

Which version of hadoop did you use when you obtain the profiling data? In trunk, MapOUtputBuffer.Buffer.write(byte[],
int, int) is not synchronized. 

> BytesWritable.write(buf) use much more CPU in writeInt() then write(buf)
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-6672
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6672
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.20.2
>            Reporter: Xiao Kang
>         Attachments: BytesWritable.java.patch, screenshot-1.jpg, screenshot-2.jpg
>
>
> BytesWritable.write() use nearly 4 times of CPU in wirteInt() as write buffer. It may
be optimized.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message