Skip to content

How to improve upload speed

David Emanuel Santiago edited this page Mar 12, 2017 · 1 revision

How to improve speed

Note: Follow this instructions at your own risk. I'm not responsible for any change that might break your system

  • I use the client XXXXX and i can achieve a speed around 10x higher than NewsUP!

Solution: Your system is not properly configured. :-D

NewsUP will write to the socket the full article at once (switch -uploadsize). Some clients write to the socket the same article in pieces of 10KBytes.

This is not ideal to achieve Gigabit speeds.

However if you don't want to change (or you can't), please play with the switch -uploadSize. Start with a value of 307200 (it's 300Kbytes), and check if the actual speed increased.

If it did increased then please check the socket buffers. In linux:

  • net.core.wmem_default
  • net.core.rmem_default
  • net.core.rmem_max
  • net.core.wmem_max

for more info, please check:

1 http://opensourceforu.com/2016/10/network-performance-monitoring/

2 http://www.lognormal.com/blog/2012/09/27/linux-tcpip-tuning/

3 Issue #46

Clone this wiki locally