From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.toke.dk X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.4 Received: from mail.toke.dk by mail.toke.dk with LMTP id 4rjSK8D5p15pkAUAOr1fkg (envelope-from ) for ; Tue, 28 Apr 2020 11:39:12 +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="signature verification failed" (1024-bit key) header.d=github.com header.i=@github.com header.b=pMhlVV3D Received: from web6.sd.eurovps.com (web6.sd.eurovps.com [77.235.54.103]) by mail.toke.dk (Postfix) with ESMTPS id 99645730D0D for ; Tue, 28 Apr 2020 11:39:10 +0200 (CEST) Received: from [::1] (port=56208 helo=web6.sd.eurovps.com) by web6.sd.eurovps.com with esmtp (Exim 4.93) (envelope-from ) id 1jTMhl-006NH7-DE; Tue, 28 Apr 2020 12:39:05 +0300 Received: from out-26.smtp.github.com ([192.30.252.209]:51641) by web6.sd.eurovps.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jTMhd-006NCG-LR for flent-users@flent.org; Tue, 28 Apr 2020 12:39:03 +0300 Received: from github-lowworker-a6a2749.va3-iad.github.net (github-lowworker-a6a2749.va3-iad.github.net [10.48.16.62]) by smtp.github.com (Postfix) with ESMTP id 233EB282B3C for ; Tue, 28 Apr 2020 02:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1588066697; bh=srKgTRJgZzYPqVoKEXl78qCYUlaxLdOU5S1mvTfRHsA=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=pMhlVV3DYsZS9mGTaG2VBfomz72mN74MI6aN9H7yQXPRb0o5y5fQ5PpBOKYdaeeKE nC9U37j79UqAXxqVajWIp9tnmlfeUgMJw92yReD/WGv7l00XpCJQdE8EIiN8OjXW/z zqm+YcLkjIiELuxNFFGmdcb5QaG1hAIxpdbzQmEc= Date: Tue, 28 Apr 2020 02:38:17 -0700 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 Subject: Re: [Flent-users] [tohojo/flent] Customized test displaying error (#203) X-BeenThere: flent-users@flent.org X-Mailman-Version: 2.1.29 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="===============5523660662693651303==" 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 --===============5523660662693651303== Content-Type: multipart/alternative; boundary="--==_mimepart_5ea7f98912de6_24f3ff5b92cd96043242"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ea7f98912de6_24f3ff5b92cd96043242 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit olg33 writes: > Hi Toke, > After testing with two co-located servers and tweaking the switch configuration that connects them, all is working well. Thanks. > > Now I'd like to test in a production network. Because we work in a multi-vendor environment (Riverbed, Procera, Idirect, etc) we had to create a customized DSCP naming convention which is based on the TOS Hexadecimal value and its DSCP decimal number, something like this: > >> https://support.riverbed.com/bin/support/static/n0glmtc5kegfi7htfe7msdsgcb/html/uc6d3bbkbug83sroi75ersdj9i/sc_ug_html/index.html#page/sh_sd/app_tosdscp_qosclass.html > > Therefore, instead of AF11, we use as a name the DSCP number 10 whose hex value would be 0x28. We have a total of 12 DSCP values for our traffic markings. > > I was thinking that perhaps it's a matter of adding these values to the list of supported symbolic values which in our case may look like this: > > MARKING_MAP = {'10': 0x28, > '11': 0x2c, > '13': 0x34, > '15': 0x38, > '17': 0x40, > '19': 0x4c, > '20': 0x50, > '21': 0x54, > '23': 0x5c, > '25': 0x64, > '27': 0x6c, > '29': 0x74} > > So that, if I enter parameters: > > --test-parameter markings=10,13,15 > > Packets would carry ToS hex value: > > Differentiated Services Field: 0x28 (DSCP: 10, ECN: Not-ECT) > Differentiated Services Field: 0x34 (DSCP: 13, ECN: Not-ECT) > Differentiated Services Field: 0x38 (DSCP: 15, ECN: Not-ECT) > > Do you think this is possible? or what would be the right approach? You could do that, of course, but since these will be specific to your environment I can't include such a patch into Flent itself, so you'd have to maintain that patch yourself. An alternative is to use the hex values directly, and couple them with the 'labels' test parameter to get the right plot labels. So you could do this: --test-parameter markings=0x28,0x34,0x38 --test-parameter labels=10,13,15 and that would achieve the same as updating the MARKING_MAP - you just need to keep the order synced between the 'labels' and 'markings' parameter. Up to you which one you think is easiest to maintain, I guess :) -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/203#issuecomment-620495061 ----==_mimepart_5ea7f98912de6_24f3ff5b92cd96043242 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

olg33 <notifications@github.com> writes:

> Hi Toke,
> After testing with two co-located servers and tweaking the switch configuration that connects them, all is working well. Thanks.
>
> Now I'd like to test in a production network. Because we work in a multi-vendor environment (Riverbed, Procera, Idirect, etc) we had to create a customized DSCP naming convention which is based on the TOS Hexadecimal value and its DSCP decimal number, something like this:
>
>> https://support.riverbed.com/bin/support/static/n0glmtc5kegfi7htfe7msdsgcb/html/uc6d3bbkbug83sroi75ersdj9i/sc_ug_html/index.html#page/sh_sd/app_tosdscp_qosclass.html
>
> Therefore, instead of AF11, we use as a name the DSCP number 10 whose hex value would be 0x28. We have a total of 12 DSCP values for our traffic markings.
>
> I was thinking that perhaps it's a matter of adding these values to the list of supported symbolic values which in our case may look like this:
>
> MARKING_MAP = {'10': 0x28,
> '11': 0x2c,
> '13': 0x34,
> '15': 0x38,
> '17': 0x40,
> '19': 0x4c,
> '20': 0x50,
> '21': 0x54,
> '23': 0x5c,
> '25': 0x64,
> '27': 0x6c,
> '29': 0x74}
>
> So that, if I enter parameters:
>
> --test-parameter markings=10,13,15
>
> Packets would carry ToS hex value:
>
> Differentiated Services Field: 0x28 (DSCP: 10, ECN: Not-ECT)
> Differentiated Services Field: 0x34 (DSCP: 13, ECN: Not-ECT)
> Differentiated Services Field: 0x38 (DSCP: 15, ECN: Not-ECT)
>
> Do you think this is possible? or what would be the right approach?

You could do that, of course, but since these will be specific to your
environment I can't include such a patch into Flent itself, so you'd
have to maintain that patch yourself.

An alternative is to use the hex values directly, and couple them with
the 'labels' test parameter to get the right plot labels. So you could
do this:

--test-parameter markings=0x28,0x34,0x38 --test-parameter labels=10,13,15

and that would achieve the same as updating the MARKING_MAP - you just
need to keep the order synced between the 'labels' and 'markings'
parameter.

Up to you which one you think is easiest to maintain, I guess :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

----==_mimepart_5ea7f98912de6_24f3ff5b92cd96043242-- --===============5523660662693651303== 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 --===============5523660662693651303==--