Re: Low Bandwidth on intercontinental connections
On 11/22/2012 06:09 PM, Adrian Chadd wrote: > Hi Marc, > > You definitely have enough information now for a PR. Would you please > file all of this into a PR so one of the IP stack people can take a > look? PR filed: http://www.freebsd.org/cgi/query-pr.cgi?pr=173859 > > Thanks, > > > Adrian ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Low Bandwidth on intercontinental connections
On 23 November 2012 04:47, Marc Peters wrote: > On 11/22/2012 06:09 PM, Adrian Chadd wrote: >> Hi Marc, >> >> You definitely have enough information now for a PR. Would you please >> file all of this into a PR so one of the IP stack people can take a >> look? > > PR filed: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=173859 Cool, thanks. Now, can you please add the output of netstat -sp tcp before and after you do a test? That includes doing a 'zero' of the stats first - netstat -sp tcp -z (then netstat -sp tcp to make sure they're zeroed.) Thanks! Adrian ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Low Bandwidth on intercontinental connections
Am 23.11.2012 13:47, schrieb Marc Peters: PR filed: http://www.freebsd.org/cgi/query-pr.cgi?pr=173859 Downloads from ftp1.us.freebsd.org to Europe (ping time ~170ms), I see up & down ramping of transfer speed (600kb/sec - 50kb/sec) over serverall releases: FreeBSD 6.3-PRERELEASE FreeBSD 7.2-STABLE FreeBSD 8.2-STABLE FreeBSD 9.1-PRERELEASE Linux performs much better, max speed was 1.2Mb/sec, and is not as much up & down ramping as freebsd. Can anyone compare how other *BSD performs? Kind regards, Ingo Flaschberger ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Low Bandwidth on intercontinental connections
On 23.11.2012 15:46, Ingo Flaschberger wrote: Am 23.11.2012 13:47, schrieb Marc Peters: PR filed: http://www.freebsd.org/cgi/query-pr.cgi?pr=173859 Downloads from ftp1.us.freebsd.org to Europe (ping time ~170ms), I see up & down ramping of transfer speed (600kb/sec - 50kb/sec) over serverall releases: FreeBSD 6.3-PRERELEASE FreeBSD 7.2-STABLE FreeBSD 8.2-STABLE FreeBSD 9.1-PRERELEASE Linux performs much better, max speed was 1.2Mb/sec, and is not as much up & down ramping as freebsd. It's about 168ms for me and I don't see the problem here. Speed is about 18.4Mbps. -- Andre ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Low Bandwidth on intercontinental connections
On 11/23/2012 03:46 PM, Ingo Flaschberger wrote: > Am 23.11.2012 13:47, schrieb Marc Peters: >> PR filed: http://www.freebsd.org/cgi/query-pr.cgi?pr=173859 > > Downloads from ftp1.us.freebsd.org to Europe (ping time ~170ms), I see > up & down ramping of transfer speed (600kb/sec - 50kb/sec) > over serverall releases: > FreeBSD 6.3-PRERELEASE > FreeBSD 7.2-STABLE > FreeBSD 8.2-STABLE > FreeBSD 9.1-PRERELEASE > > Linux performs much better, max speed was 1.2Mb/sec, and is not as much > up & down ramping as freebsd. > > Can anyone compare how other *BSD performs? OpenBSD 5.2 also ramping between 600K/s at lowest and 1.5M/s. @Andre: Which version are you using? > > Kind regards, > Ingo Flaschberger > ___ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Low Bandwidth on intercontinental connections
--- On Fri, 11/23/12, Andre Oppermann wrote: > From: Andre Oppermann > Subject: Re: Low Bandwidth on intercontinental connections > To: "Ingo Flaschberger" > Cc: freebsd-net@freebsd.org > Date: Friday, November 23, 2012, 10:05 AM > On 23.11.2012 15:46, Ingo > Flaschberger wrote: > > Am 23.11.2012 13:47, schrieb Marc Peters: > >> PR filed: http://www.freebsd.org/cgi/query-pr.cgi?pr=173859 > > > > Downloads from ftp1.us.freebsd.org to Europe (ping time > ~170ms), I see up & down ramping of transfer > > speed (600kb/sec - 50kb/sec) > > over serverall releases: > > FreeBSD 6.3-PRERELEASE > > FreeBSD 7.2-STABLE > > FreeBSD 8.2-STABLE > > FreeBSD 9.1-PRERELEASE > > > > Linux performs much better, max speed was 1.2Mb/sec, > and is not as much up & down ramping as freebsd. > > It's about 168ms for me and I don't see the problem here. > Speed is about 18.4Mbps. > > -- > Andre It's probably something with the window timeout. On a local connection, the acks come in before the window is fully sent (or very nearly) while on a distant connection the window is sent and then there is a longish delay/wait. This used to be a big issue on ftp servers back in the day. The algorithms for how to send stuff when the window left was less than a full packet were poorly done. BC ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Low Bandwidth on intercontinental connections
The sender dump shows, that the network-card does tso. From Marc's dump at receiver site: network io bits/sec: FreeBSD: http://devel.crossip.net/freebsd_receiver.jpg Linux: http://devel.crossip.net/linux_receiver.jpg During the "breaks" between the transfer, I see tcp retransmissions (but slow). window scaling: FreeBSD: http://devel.crossip.net/freebsd_window_size.jpg Linux: http://devel.crossip.net/linux_window_size.jpg But window scaling keeps time sequence graph (stevens): FreeBSD: http://devel.crossip.net/freebsd_time_sequence_graph_stevens.jpg Linux: http://devel.crossip.net/linux_time_sequence_graph_stevens.jpg round trip time: FreeBSD: http://devel.crossip.net/freebsd_round_trip_time.jpg Linux: http://devel.crossip.net/linux_round_trip_time.jpg Kind regards, Ingo Flaschberger ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
FreeBSD 9.1: RFC 5569 (6rd) support in stf(4)
I just noticed my ISP appears to support IPv6 via 6rd. Using FreeBSD 9.1-PRERELEASE as my router, so need 6rd support. I saw port net/stf-6rd-kmod, but says it only supports 8. I'm thinking it would work for 9 also if the makefile was patched to support 9. However, found a patch at http://people.allbsd.org/~hrs/FreeBSD/stf_6rd_20100923-1.diff and applied it, with only one failure (line 30ish of man/stf.4, the date line). Questions for the more experienced, which is the better approach, try the port or apply the patch, or are they pretty much the same? And, will 6rd be added into the main source? Or have I totally messed things up by applying a patch that is over 2 years old? Jason ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Low Bandwidth on intercontinental connections
The last linux graphs are wrong - sorry! (Thanks for the hint, much to low RTT and small window) I graphed the wrong direction of the session. Now updated graphs: network io bits/sec: FreeBSD: http://devel.crossip.net/freebsd_receiver.jpg Linux: http://devel.crossip.net/linux_receiver.jpg window scaling: FreeBSD: http://devel.crossip.net/freebsd_window_size.jpg Linux: http://devel.crossip.net/linux_window_size.jpg time sequence graph (stevens): FreeBSD: http://devel.crossip.net/freebsd_time_sequence_graph_stevens.jpg Linux: http://devel.crossip.net/linux_time_sequence_graph_stevens.jpg round trip time: FreeBSD: http://devel.crossip.net/freebsd_round_trip_time.jpg Linux: http://devel.crossip.net/linux_round_trip_time.jpg Kind regards, Ingo Flaschberger ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"