From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.toke.dk X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 Received: from mail.toke.dk by mail.toke.dk with LMTP id sH27DC/5Dlr9YgAAOr1fkg for ; Fri, 17 Nov 2017 15:58:55 +0100 Received: from web6.sd.eurovps.com (web6.sd.eurovps.com [77.235.54.103]) by mail.toke.dk (Postfix) with ESMTPS id A0CB623059E for ; Fri, 17 Nov 2017 15:58:53 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=fail reason="key not found in DNS" (0-bit key) header.d=flent.org header.i=@flent.org header.b=U3yhOO8C; dkim=fail reason="signature verification failed" (1024-bit key) header.d=github.com header.i=@github.com header.b=EF5ArmfY DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=flent.org; s=default; h=Sender:Content-Type:Cc:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Mime-Version: References:In-Reply-To:Message-ID:To:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XwlP32uLlum6Tlnvb/x8mijs6MHKf16zIZVnR8Wx1Kk=; b=U3yhOO8CgIvpSy334xqgCMvU8G UuhIDOXFbvRd9Nk0b/+AlI7S0zwpK7V5i53aU+rFxQ4zGWlTC0r0/7gAvpq0kUdlkxIkJImHk0ivj oWpI1L1acQxLPuK7BXuPkO0c0dsRWCYMKj7RfYfe5Zm05FVJabtYDIXtZewmgxUmMpNfi4Tu3i4vm nhSSXU1D/aEyjM23k+96DXlEsK6daaDc7cN1rDc/+bHfDs7Yq72cLY+f/CYm76pY4JLnPC9OqmzIk nVSg0tdK83FfkPlvHp1/2Mq4S5hPCv464M3OLlsrhgQ11sYWdkTFF+K79ndDhFRGBm3p2BdvjZv2a wHijUsUA==; Received: from [::1] (port=54559 helo=web6.sd.eurovps.com) by web6.sd.eurovps.com with esmtp (Exim 4.89) (envelope-from ) id 1eFi6V-003qd6-VA; Fri, 17 Nov 2017 16:58:51 +0200 Received: from o9.sgmail.github.com ([167.89.101.2]:49853) by web6.sd.eurovps.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eFi6O-003qWs-Af for flent-users@flent.org; Fri, 17 Nov 2017 16:58:51 +0200 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=qdZGA8Z5DGqy1FyFulNGSxhfNtA=; b=EF5ArmfY3ALMz93Z znkAWUHFOPtH5TX1vY4ZnxYiwCALvxKXVmJRWYzOswthm5HSx755KkqL2GMLrqXV JsgGpR9Q3xK2S1FfKNcAN8l5IEnb4oqyk8jo6W19GDu1ZsE5qzzXPUoGWCwE7a4/ 7B97yp2eG5grALOsjD8DZ0Xvt44= Received: by filter0159p1iad2.sendgrid.net with SMTP id filter0159p1iad2-27319-5A0EF8FA-1E 2017-11-17 14:58:02.482537538 +0000 UTC Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0024p1iad2.sendgrid.net (SG) with ESMTP id rkzQMgmoSKC4Xise_5P80g for ; Fri, 17 Nov 2017 14:58:02.438 +0000 (UTC) Date: Fri, 17 Nov 2017 14:58:02 +0000 (UTC) From: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= To: tohojo/flent Message-ID: In-Reply-To: References: Mime-Version: 1.0 Precedence: list X-GitHub-Sender: tohojo X-GitHub-Recipient: flent-users X-GitHub-Reason: comment X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org tracking: X-SG-EID: IRsowsd9yCOJafMG0EWGsh26xBq50lgDrxWUlCCqUnu7YZ98kvLLXPgiP+4Dara80kFPoE9U03l1bo xQFlPTWVV/gQCyNr6KIZwFV2ZwopLrbjrKCM0mlLWl7JTxIIbR7RoXjwcsse6Sz5HAR5tU9JwAx0oj cMlAJ8ixzOImkv5lZbfm8q9Q18SRQn8HTlhSY4FPaX9MiFfUxEfWOhHjLm3TKFfODMaLvqvm26R0PO Ze2JJoVozf+nG1qXg0lWrB Subject: Re: [Flent-users] [tohojo/flent] packet loss stats (#106) X-BeenThere: flent-users@flent.org X-Mailman-Version: 2.1.23 List-Id: Flent discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: tohojo/flent Cc: Comment , flent-users Content-Type: multipart/mixed; boundary="===============4087276132135947736==" Errors-To: flent-users-bounces@flent.org Sender: "Flent-users" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web6.sd.eurovps.com X-AntiAbuse: Original Domain - toke.dk X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - flent.org X-Get-Message-Sender-Via: web6.sd.eurovps.com: acl_c_authenticated_local_user: mailman/mailman X-Authenticated-Sender: web6.sd.eurovps.com: mailman@flent.org --===============4087276132135947736== Content-Type: multipart/alternative; boundary="--==_mimepart_5a0ef8fa51a73_78873fcae9ffef3081786"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5a0ef8fa51a73_78873fcae9ffef3081786 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Pete Heist writes: > The `-n` and `-timeouts` parameters have been added to the client, and are documented in the usage. Quick examples: > > ``` > tron:~/src/github.com/peteheist/irtt:% ./irtt client -timeouts 250ms,500ms,1s,2s -n 127.0.0.2 > [Connecting] connecting to 127.0.0.2 > Error: no reply from server > tron:~/src/github.com/peteheist/irtt:% echo $? > 1 > tron:~/src/github.com/peteheist/irtt:% ./irtt client -timeouts 250ms,500ms,1s,2s -n 127.0.0.1 > [Connecting] connecting to 127.0.0.1 > [Connected] connected to 127.0.0.1:2112 > [NoTest] skipping test at user request > tron:~/src/github.com/peteheist/irtt:% echo $? > 0 > ``` Awesome! > I don't know how aggressive you want to go on open packet timeouts, > but I set a minimum at 200ms so users won't be as tempted to abuse > public servers. Default Linux TCP syn timeout looks to be hardcoded at > 3s,6s,12s, etc. I think our default of 1s,2s,4s,8s is fine in this day > and age. In flent, I think 250ms,500ms,1s,2s would be one way of being > pretty sure whether a server is running or not in a reasonable amount > of time (3.75s), but I don't know what actual the time constraints > are. I don't want to spend more than one second probing, so 250ms,500ms will have to do. > I took a quick look at the irtt runner in flent. Looks good, my only > comment is that `-fill rand` and `-fillall` aren't necessary because > there's no payload (whose length would be specified with `-l`). Seeing > that though made me add a micro-optimization to not call Read with an > empty slice on the Filler when there's no payload requested. So if you > want to leave those params in anticipation of using `-l` later, it's > probably fine. Yeah, was mirroring what I'm doing with netperf. Haven't thought about adding knobs yet, but setting the lengths seems useful. > That makes me think, any reason we can't use irtt for the voip tests? > There could be tests simulating some different codecs with different > intervals and payload lengths, if we wanted: That would be awesome! D-ITG is awful to setup, so having a replacement for that would be good :) -Toke -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/106#issuecomment-345266203 ----==_mimepart_5a0ef8fa51a73_78873fcae9ffef3081786 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Pete Heist <notifications@github.com> writes:

> The `-n` and `-timeouts` parameters have been added to the client, and= are documented in the usage. Quick examples:
>
> ```
> tron:~/src/github.com/peteheist/irtt:% ./irtt client -timeouts 250ms,5= 00ms,1s,2s -n 127.0.0.2
> [Connecting] connecting to 127.0.0.2
> Error: no reply from server
> tron:~/src/github.com/peteheist/irtt:% echo $?
> 1
> tron:~/src/github.com/peteheist/irtt:% ./irtt client -timeouts 250ms,5= 00ms,1s,2s -n 127.0.0.1
> [Connecting] connecting to 127.0.0.1
> [Connected] connected to 127.0.0.1:2112
> [NoTest] skipping test at user request
> tron:~/src/github.com/peteheist/irtt:% echo $? =
> 0
> ```

Awesome!

> I don't know how aggressive you want to go on open packet timeouts= ,
> but I set a minimum at 200ms so users won't be as tempted to abuse=
> public servers. Default Linux TCP syn timeout looks to be hardcoded at=
> 3s,6s,12s, etc. I think our default of 1s,2s,4s,8s is fine in this day=
> and age. In flent, I think 250ms,500ms,1s,2s would be one way of being=
> pretty sure whether a server is running or not in a reasonable amount<= br> > of time (3.75s), but I don't know what actual the time constraints=
> are.

I don't want to spend more than one second probing, so 250ms,500ms will=
have to do.

> I took a quick look at the irtt runner in flent. Looks good, my only > comment is that `-fill rand` and `-fillall` aren't necessary becau= se
> there's no payload (whose length would be specified with `-l`). Se= eing
> that though made me add a micro-optimization to not call Read with an<= br> > empty slice on the Filler when there's no payload requested. So if= you
> want to leave those params in anticipation of using `-l` later, it'= ;s
> probably fine.

Yeah, was mirroring what I'm doing with netperf. Haven't thought ab= out
adding knobs yet, but setting the lengths seems useful.

> That makes me think, any reason we can't use irtt for the voip tes= ts?
> There could be tests simulating some different codecs with different > intervals and payload lengths, if we wanted:

That would be awesome! D-ITG is awful to setup, so having a replacement
for that would be good :)

-Toke

&mda= sh;
You are receiving this because you commented.
Reply to this e= mail directly, view it on GitHub, or mute the thread.3D""

= ----==_mimepart_5a0ef8fa51a73_78873fcae9ffef3081786-- --===============4087276132135947736== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Flent-users mailing list Flent-users@flent.org http://flent.org/mailman/listinfo/flent-users_flent.org --===============4087276132135947736==--