From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Jones Subject: Re: Qdisc: Measuring Head-of-Line blocking with netperf-wrapper Date: Mon, 15 Sep 2014 12:12:24 -0700 Message-ID: <54173A18.2010705@hp.com> References: <20140915184517.6c5474e5@redhat.com> <1410801863.7106.169.camel@edumazet-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Tom Herbert , Jesper Dangaard Brouer , "netdev@vger.kernel.org" , Stephen Hemminger , David Miller , Hannes Frederic Sowa , Daniel Borkmann , Florian Westphal , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= , Tim Shepard , Avery Pennarun To: Dave Taht , Eric Dumazet Return-path: Received: from g6t1526.atlanta.hp.com ([15.193.200.69]:13768 "EHLO g6t1526.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751687AbaIOTMa (ORCPT ); Mon, 15 Sep 2014 15:12:30 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 09/15/2014 11:55 AM, Dave Taht wrote: > Problems with TCP_RR and UDP_RR are that they are subject to a RTO on > packet loss. One possible way to work/kludge around that for TCP_RR would be to have a burst-mode test with say five or so transactions in flight at one time. That then should allow for fast retrans on the occasional single-packet loss and it will be just an RTT rather than an RTO. There would probably be some interactions with cwnd and bundling though upon that retransmission, even with -D set. > It would be nice if netperf could sprout a "send a user specified > packet size on this isochronous interval (with a resolution below a > ms) over X transport" test. Or there was something simpler than owamp > but as secure. If you are willing to let netperf spin (ie burn local CPU on the system on which netperf is running) over the interval you can configure --enable-intervals --enable-spin and then it will spin rather than rely on the resolution of setitimer(). Then the command line would be something along the lines of: netperf -H -b 1 -w -- -m and it will then make one send of every . happy benchmarking, rick