Slow Download Speeds from AWS S3
killing at multiplay.co.uk
Sat Feb 18 03:26:12 UTC 2017
Hey Sydney, I've had some feedback from other team members and armed
with this info I'm having a crack at enabling receive buffer
auto-scaling using RTT estimations when timestamps aren't available.
I don't have any S3 buckets to tests with so Is there any chance you pop
up your test file again for me?
On 16/02/2017 16:55, Sydney Meyer via freebsd-net wrote:
> Hi Steve,
> increasing the buffer size did indeed enhance throughput.
> I am obviously not an expert in this field, but i don't understand why or if the TCP Receive Window Size shouldn't increase automatically.
> I found this thread on the ML and i'm reading myself a bit more into the topic right now.
> Thank you for your tip, however..
>> On 16 Feb 2017, at 16:35, Steven Hartland <killing at multiplay.co.uk> wrote:
>> Window scaling and receive buffer scaling is the most likely cause.
>> Check what the sysctl net.inet.tcp.recvspace is set to, then try increasing it e.g.
>> sysctl net.inet.tcp.recvspace=655360
>> This jumped the transfer rate with a wget and your test URL from 3MB/s to 30MB/s here.
>> On 16/02/2017 14:34, Sydney Meyer via freebsd-net wrote:
>>> I'm seeing continuous slow download speeds from Amazon S3, but only on FreeBSD. Other OSes saturate the connection without problems.
>>> This happens with 10.3-RELEASE and 11.0-RELEASE and only with AWS S3 in different regions (Ireland, London, Frankfurt, US Standard have been tested) whilst using fetch, curl, et. al.
>>> I have tested this on multiple machines, bare metal, bhyve, Xen and VMware VMs, routed setups and direct pppoe links.. all the same.
>>> Anyone seeing similar issues?
>>> Here's a url to try:
>>> Also, when doing double NAT, i.e. VMware Fusion FreeBSD Guest with "Share with my Mac"-Interface, the machine is doing completely fine, as in saturates the link, 90Mbps otherwise between 12-15Mbps..
>>> I also switched the FreeBSD Routers with Linux-based ones and with the isp-provided router box, with the same result.
>>> I have launched VMs with Digital Ocean to "rule out" my ISP and there seems to be the same issue. Downloading from S3 is multiple times slower than any other connection to services outside of S3 or on any other OS.
>>> It seems like other people are seeing the same issue:
>>> freebsd-net at freebsd.org mailing list
>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>> freebsd-net at freebsd.org mailing list
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> freebsd-net at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net