From maciej at soltysiak.com Mon Apr 16 08:10:40 2012 From: maciej at soltysiak.com (Maciej Soltysiak) Date: Mon, 16 Apr 2012 17:10:40 +0200 Subject: [Netalyzr] netalyzr, java, bufferbloat and 50Mb/s links Message-ID: Hello! As part of my regular routing related to playing with home router firmware I noticed that recently netalyzr started showing low latency and buffering, even on stock router firmware. I've just read "Netalyzr: illuminating the edge network" and linked 2 facts together: a) I've been upgraded to 50Mb/s link (from 6Mb/s) b) the whitepaper says java puts a cap to 20Mb/s So I guess netalyzr tests are not able to fill my cable modem buffers. Is there a way to run the network latency/buffering test so that it is not hampered by java? Thanks, Maciej Soltysiak -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/netalyzr/attachments/20120416/c467d714/attachment.html From nweaver at ICSI.Berkeley.EDU Mon Apr 16 08:21:36 2012 From: nweaver at ICSI.Berkeley.EDU (Nicholas Weaver) Date: Mon, 16 Apr 2012 08:21:36 -0700 Subject: [Netalyzr] netalyzr, java, bufferbloat and 50Mb/s links In-Reply-To: References: Message-ID: <2D18D938-A85C-4149-A369-4591451F830E@icsi.berkeley.edu> On Apr 16, 2012, at 8:10 AM, Maciej Soltysiak wrote: > Hello! > > As part of my regular routing related to playing with home router firmware I noticed that recently netalyzr started showing low latency and buffering, even on stock router firmware. > > I've just read "Netalyzr: illuminating the edge network" and linked 2 facts together: > a) I've been upgraded to 50Mb/s link (from 6Mb/s) > b) the whitepaper says java puts a cap to 20Mb/s > > So I guess netalyzr tests are not able to fill my cable modem buffers. > Is there a way to run the network latency/buffering test so that it is not hampered by java? Not our test, but there is one that can work: Do a background ping of www.google.com During the ping, run Ookla's speedtest.net speedtester to load the network, and watch how the pings change. The odds are, with a 50 Mb/s link, you don't have much of a buffer problem since most systems have the critical buffers sized in capacity, rather than delay, so by upping your bandwidth by 10x, you effectively make the buffer 10x shorter in time. From jg at freedesktop.org Mon Apr 16 08:33:42 2012 From: jg at freedesktop.org (Jim Gettys) Date: Mon, 16 Apr 2012 11:33:42 -0400 Subject: [Netalyzr] netalyzr, java, bufferbloat and 50Mb/s links In-Reply-To: <2D18D938-A85C-4149-A369-4591451F830E@icsi.berkeley.edu> References: <2D18D938-A85C-4149-A369-4591451F830E@icsi.berkeley.edu> Message-ID: <4F8C3BD6.1060804@freedesktop.org> On 04/16/2012 11:21 AM, Nicholas Weaver wrote: > On Apr 16, 2012, at 8:10 AM, Maciej Soltysiak wrote: > >> Hello! >> >> As part of my regular routing related to playing with home router firmware I noticed that recently netalyzr started showing low latency and buffering, even on stock router firmware. >> >> I've just read "Netalyzr: illuminating the edge network" and linked 2 facts together: >> a) I've been upgraded to 50Mb/s link (from 6Mb/s) >> b) the whitepaper says java puts a cap to 20Mb/s >> >> So I guess netalyzr tests are not able to fill my cable modem buffers. >> Is there a way to run the network latency/buffering test so that it is not hampered by java? > Not our test, but there is one that can work: > > Do a background ping of www.google.com > > During the ping, run Ookla's speedtest.net speedtester to load the network, and watch how the pings change. > > The odds are, with a 50 Mb/s link, you don't have much of a buffer problem since most systems have the critical buffers sized in capacity, rather than delay, so by upping your bandwidth by 10x, you effectively make the buffer 10x shorter in time. > > On a 50Mbps cable link, I still have hundreds of milliseconds of buffering (400ms, IIRC; right now I have taken other measures to solve that problem on my own home network). The kiss of death is when you take modern equipment but then run it at low speed (e.g. a DOCSIS 3 modem, but only buy 10Mbps of bandwidth). Then you end up with truly monumental buffers (or you sometimes do anyway, as there was no thought whatsoever about how much buffer to use. So my modem, when run at 20Mbps, was around 1.2 seconds, as you might expect. - Jim