ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pkures <...@git.apache.org>
Subject [GitHub] ant pull request: increase buffer size to improve transfer speed
Date Thu, 23 Apr 2015 19:49:04 GMT
Github user pkures commented on the pull request:

    https://github.com/apache/ant/pull/8#issuecomment-95697171
  
    Thank you for tips how to do it more conventionally in the future. I will try to look
at the code over the weekend and maybe add the attribtue to configure buffer size if I have
the time to do it. 
    
    Are you proposing to leave the default at 1KB and only allow to change it by attribute
?
    
    When you are receiving the data over 1Gbit you need either large number of small buffers
or one larger buffer. You will not handle ten thousand 1 KB packets/s from Java easiliy, I
started programming on computers that had much less memory than 100 KB so I can understand
your concerns  :) But again 1MB/s on such fast network is also not optimal and our current
machines have gigabytes of memory.



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message