Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Setting perfSONAR MeshConfig ToS breaks owamp tests?

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Setting perfSONAR MeshConfig ToS breaks owamp tests?


Chronological Thread 
  • From: <>
  • To:
  • Subject: [perfsonar-user] Setting perfSONAR MeshConfig ToS breaks owamp tests?
  • Date: Wed, 10 Oct 2018 16:46:54 +0000 (UTC)
  • Ironport-phdr: 9a23:pJKJSxWB7QoKm5JHQh7x+Htsla7V8LGtZVwlr6E/grcLSJyIuqrYYxWBt8tkgFKBZ4jH8fUM07OQ7/i/HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9wIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W/JisJ+kaBUrhGuqBNjzIDaZ4+bOeFifq3AZ94WWXBMUtpPWyFHH4iyb5EPD+0EPetAqIT9qEAOrRi/BQm0HOPg1CVIi2T33a0nyeguDxzJ3BE5Et8IrX/aotL1NKIIXuC0yqnF1TrDb/JK2Tf99YjHaQotru2LXbJ1d8fa1EohFxvdg1mOtYDoPSmZ2+YNvmSB8uZtVO2ih3Q5pw1vvzSiwNonhJPTiYIP0F/E8D10wIYrKt28T052edqkEJpLtyGGLIt6XNkuQ2BuuCYm1LIGo5i7czYWyJg53RLQdeGIc5WQ7hLiUuaePyt4iWp7dL6jhRu+60qtx+3mWsWp0VtHoTBJnsfSunwQzxDT79KISvp5/kevwzaP0AXT5/lcIUApjqXbMJ4gwrsolpUJqknDHyn2mFnog6+McEUr5PSo5/r9brr4u5CcKpd4ihviPaQ2hsy/HeM4PxAWX2eF4+S82qbj/Ur/QLpQlP06i7TZsIvEKsQBvaO5Bw5V0p0/6xakETuqytUYnX8bLF1bYhKHiZbmO03QLPziE/iwnkmsw39XwKXeM6fvGZLLJ2KGjazsZ5587VJR0gw+0YoZ6p5JWZ8bJ/emDkDqt93AFhIjGw2phevrFYMuhcslRWuTD/rBY+vpuliS67d3Lg==

When setting ToS bits using the MeshConfig GUI Portal, all of our owamp tests
begin to fail -

logs indicate "invalid option -- 'D'", where -D is used to apply the tos_bits
parameter defined in a meshconfig

here is the full log -

[latency] powstream returned an error on startup for 75 consectutive attempts.
Giving up. This is the error it reported: /usr/bin/powstream: invalid option
-- 'D' powstream: usage: powstream [arguments] testaddr [servaddr] [arguments]
are as follows: -h print this message and exit [Test Args] -t sets the tests
direction from client to server -c count number of test packets (per complete
session) -E endDelay time to wait before sending stop-session message -i wait
mean average time between packets (seconds) -L timeout maximum time to wait
for a packet (seconds) -P portrange test port range to use (must contain at
least 2 ports) -s padding size of the padding added to each packet (bytes) -z
delayStart time to wait before starting first test (seconds) [Connection Args]
-4 use IPv4 only -6 use IPv6 only -A authmode requested modes:
[A]uthenticated, [E]ncrypted, [O]pen -k pffile pass-phrase file to use with
Authenticated/Encrypted modes -S srcaddr specify the local address or
interface for control connection and tests -u username username to use with
Authenticated/Encrypted modes -I retryDelay time to wait between failed
connections (default: 60 seconds) [Output Args] -b bucketWidth create summary
files with buckets(seconds) -d dir directory to save session file in -e
facility syslog facility to log to -g loglevel severity log messages to report
to syslog Valid values: NONE, FATAL, WARN, INFO, DEBUG, ALL -N count number of
test packets (per sub-session) -p print filenames to stdout -R Only send
messages to syslog (not STDERR) -v include more verbose output -U Adds UNIX
timestamps to summary results Version: 3.5.7-1 [powstream]

According to this txt file in the perfSONAR repo
-https://github.com/perfsonar/owamp/blob/master/TODO.txt, from 2008, testing
-D for setting dscp bits is/was a TODO item.

Using -D to set dscp doesnt break bwctl tests like it does for owamp, but the
ToS bits do not get applied to the traffic.

When the meshconfig is updated to no longer set the ToS bits, our owamp tests
do not recover, and continue to log the same '--D' error flag, well after the
updated mesh is taken by pscheduler.

This failure should be able to be replicated if you use the MeshConfig GUI to
set ToS bits in a given owamp test spec.

Questions:

Does anyone know what the current state of this feature is? Is setting DSCP in
perfSONAR tests supported and is the GUI is not the proper way to set the
meshconfig for it? If it is supported, what would the proper way to go about
setting these bits so that they get applied to traffic?

Also, I was wondering how perfSONAR implements setting the DSCP bits? The tool
does not appear to be using traffic control.



Archive powered by MHonArc 2.6.19.

Top of Page