[ 
https://issues.apache.org/jira/browse/HADOOP-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533890
 ] 

Christian Kunz commented on HADOOP-1788:
----------------------------------------

I applied the patch, but do not see any difference when running strace against 
the C++ application or the java side:

c++:

..
read(29, "\7\0\6\34\30\0\0\0\201R\214\307y\3\363~\364\344\321\277"..., 1024) = 
1024
..
gettimeofday({1192048782, 69558}, {0, 0}) = 0
..
write(29, "%\316\tU\351r2V\302\37\0\0\0\0\0002\30\24\0\0\0\364\343"..., 1024) = 
1024
..

java:
...
recv(234, "2", 1, 0)                    = 1
recv(234, "\30", 1, 0)                  = 1
recv(234, "\24\0\0\0\253\335\263\314\217|5\236\226\tC\34v\1~%\0\0"..., 24, 0) = 
24
recv(234, "\0", 1, 0)                   = 1
recv(234, "2", 1, 0)                    = 1
recv(234, "\30", 1, 0)                  = 1
recv(234, "\24\0\0\0\253\335\263\322\'\30ivA\213\26\242K5m\312\0\0"..., 24, 0) 
= 24
recv(234, "\0", 1, 0)                   = 1
...


> Increase the buffer size of pipes from 1k to 128k
> -------------------------------------------------
>
>                 Key: HADOOP-1788
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1788
>             Project: Hadoop
>          Issue Type: Bug
>          Components: pipes
>            Reporter: Owen O'Malley
>            Assignee: Amareshwari Sri Ramadasu
>         Attachments: patch-1788.txt
>
>
> Currently pipes applications use 1k writes to the socket and it should be 
> larger to increase throughput.

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

Reply via email to