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: AS60781 77.235.32.0/19 X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 Received: from mail.toke.dk by mail.toke.dk with LMTP id YKiTE6LzGFtscwAAOr1fkg (envelope-from ) for ; Thu, 07 Jun 2018 10:58:10 +0200 Authentication-Results: mail.toke.dk; none (SPF check N/A for local connections - client-ip=77.235.54.103; helo=web6.sd.eurovps.com; envelope-from=flent-users-bounces@flent.org; receiver=) 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=lSeDSjrF; dkim=fail reason="signature verification failed" (1024-bit key) header.d=github.com header.i=@github.com header.b=kDVcYeZX Received: from web6.sd.eurovps.com (web6.sd.eurovps.com [77.235.54.103]) by mail.toke.dk (Postfix) with ESMTPS id 6C37A3E3AD9 for ; Thu, 7 Jun 2018 10:58:08 +0200 (CEST) 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=qz6Ya4UAIVTxToYGN7CE7RMz9SdokG+QejZKrCh6Plc=; b=lSeDSjrFWIDhHcixPD0shGtvJ/ 8DjimCEcPc2G1hChgBW07Utks8FRWHYukccTU2/ii0TkgUReQ+SDDhwyQQ81BRzxpwX4E/BE1l3w4 yZ7y7rRjnx5OXMKso6sq+Ht4pSCoug7rNugU8UAkjvQYp05QCHV1hmwbkKS4ZpPhUpQCSlHMgKa7e KZhsH3t8F+E44lAPb8pJ3DHT51IhShkHHhKnHwIU8fkRwARjAYoKgc38ctRe/pKaTazQgJoazyewz gFvz9erkTiAf823Hoi48tJXLw7xJO/Qn2jXVAa1kx5sKCW8+eBRhu8iwAowKcFmICZNfi4PHu2Vsn R25qNsSQ==; Received: from [::1] (port=44964 helo=web6.sd.eurovps.com) by web6.sd.eurovps.com with esmtp (Exim 4.91) (envelope-from ) id 1fQqkB-008cpJ-H4; Thu, 07 Jun 2018 11:58:07 +0300 Received: from out-6.smtp.github.com ([192.30.252.197]:48413) by web6.sd.eurovps.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fQqk7-008cc9-4Z for flent-users@flent.org; Thu, 07 Jun 2018 11:58:05 +0300 Date: Thu, 07 Jun 2018 01:57:22 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1528361842; bh=K5mQBJpONKGM+kN9ltfSV3JyqesHuFqNFmUkun+9L1k=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=kDVcYeZXABNorhoNYo/L7m88z8gTuHa3ZDq8fQUjDF6RvizzMbGFc5RrMH9TRGPI0 d6LHLwJwTTl8H+SzTnKzOZEZkttHfTF3uR6hhXA73nJN/XhyFETiptUekCqUBXF2e8 NdOrujVL4wdiDbimGbNDb51P0rhGpaAuAZQUMfQk= 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: subscribed X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org Subject: Re: [Flent-users] [tohojo/flent] completion delay for an iperf script (#138) X-BeenThere: flent-users@flent.org X-Mailman-Version: 2.1.26 List-Id: Flent discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: tohojo/flent Cc: Subscribed Content-Type: multipart/mixed; boundary="===============2052374111690353397==" 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 --===============2052374111690353397== Content-Type: multipart/alternative; boundary="--==_mimepart_5b18f37215474_69133f8574b78f846748d2"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5b18f37215474_69133f8574b78f846748d2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Matthieu Coudron writes: > I would like to send a fixed amount of data (I am more used to iperf) > so for instance run 10 times ` iperf -c HOST -n 6MB` and show a cdf of > the completion times. Hmm, so what is it that you are trying to measure here? This doesn't sound like it's a timeseries data series? You just want to repeat a single download and measure its time, or are you planning to run another bulk flow or latency measurement at the same time. > > I kinda understand the .conf format and came up with my own script iperf_cdf.conf > ``` > DESCRIPTION="iperf completion delay 6MB" > DEFAULTS={'PLOT': "iperf_delay", > 'HOSTS': []} > > IPERF_V6="" > if IP_VERSION == 6: > IPERF_V6="-V" > > > DATA_SETS = o([ > ('TCP iperf', > # -n => fixed number of byte > {'command': "iperf -c %s -i %.2f -y C -n 6M %s" % (HOST, max(0.5,STEP_SIZE), IPERF_V6), > 'delay': DELAY, # do I need this anymore ? > 'units': 'second', > 'runner': 'iperf_csv',}) > ]) This will get you the iperf CSV output (i.e., bandwidth over time). > Just for info here is the output. > ``` > iperf -n 6M -c localhost --enhancedreports > ------------------------------------------------------------ > Client connecting to localhost, TCP port 5001 with pid 20613 > Write buffer size: 128 KByte > TCP window size: 2.50 MByte (default) > ------------------------------------------------------------ > [ 3] local 127.0.0.1 port 46618 connected with 127.0.0.1 port 5001 > [ ID] Interval Transfer Bandwidth Write/Err Rtry Cwnd/RTT > [ 3] 0.00-0.23 sec 6.00 MBytes 221 Mbits/sec 1/0 65483 0K/56811 us > ``` Yeah, there's no parser for this currently. But could probably be added, either to the existing iperf parser, or another runner. Depends a bit on what data you want; see my question above. > NB: can I load this iperf_cdf.conf out of tree ? No. You can drop it in the tests folder, of course, but there is no support for loading tests from an outside directory. Having this would imply that the test format is API, which it isn't. So I'd much rather include the test upstream; should be possible to parameterise it so it is generally useful :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/138#issuecomment-395346008 ----==_mimepart_5b18f37215474_69133f8574b78f846748d2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Matthieu Coudron <notifications@github.com> writes:

> I would like to send a fixed amount of data (I am more used to iperf= )
> so for instance run 10 times ` iperf -c HOST -n 6MB` and show a cdf = of
> the completion times.

Hmm, so what is it that you are trying to measure here? This doesn't<= br> sound like it's a timeseries data series? You just want to repeat a single download and measure its time, or are you planning to run another<= br> bulk flow or latency measurement at the same time.
>
> I kinda understand the .conf format and came up with my own script i= perf_cdf.conf
> ```
> DESCRIPTION=3D"iperf completion delay 6MB"
> DEFAULTS=3D{'PLOT': "iperf_delay",
> 'HOSTS': []}
>
> IPERF_V6=3D""
> if IP_VERSION =3D=3D 6:
> IPERF_V6=3D"-V"
>
>
> DATA_SETS =3D o([
> ('TCP iperf',
> # -n =3D> fixed number of byte
> {'command': "iperf -c %s -i %.2f -y C -n 6M %s= " % (HOST, max(0.5,STEP_SIZE), IPERF_V6),
> 'delay': DELAY, # do I need this any= more ?
> 'units': 'second',
> 'runner': 'iperf_csv',})
> ])

This will get you the iperf CSV output (i.e., bandwidth over time).

> Just for info here is the output.
> ```
> iperf -n 6M -c localhost --enhancedreports
> ------------------------------------------------------------
> Client connecting to localhost, TCP port 5001 with pid 20613
> Write buffer size: 128 KByte
> TCP window size: 2.50 MByte (default)
> ------------------------------------------------------------
> [ 3] local 127.0.0.1 port 46618 connected with 127.0.0.1 port 5001<= br> > [ ID] Interval Transfer Bandwidth Write/Err Rtry = Cwnd/RTT
> [ 3] 0.00-0.23 sec 6.00 MBytes 221 Mbits/sec 1/0 65483 = 0K/56811 us
> ```

Yeah, there's no parser for this currently. But could probably be add= ed,
either to the existing iperf parser, or another runner. Depends a bit on<= br> what data you want; see my question above.

> NB: can I load this iperf_cdf.conf out of tree ?

No. You can drop it in the tests folder, of course, but there is no
support for loading tests from an outside directory. Having this would imply that the test format is API, which it isn't. So I'd much ra= ther
include the test upstream; should be possible to parameterise it so it is generally useful :)

&m= dash;
You are receiving this because you are subscribed to this thre= ad.
Reply to this email directly, view it on GitHub, or mute the thread.3D""

= ----==_mimepart_5b18f37215474_69133f8574b78f846748d2-- --===============2052374111690353397== 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 --===============2052374111690353397==--