Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] NTP errors when running bwctl, and iperf3 times out

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] NTP errors when running bwctl, and iperf3 times out


Chronological Thread 
  • From: "Merzouki, Mheni (IntlAssoc)" <>
  • To: Szymon Trocha <>
  • Cc: "" <>
  • Subject: RE: [perfsonar-user] NTP errors when running bwctl, and iperf3 times out
  • Date: Thu, 29 Nov 2018 17:28:20 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:H/Iz2RcxNWDTeXl8MxYaj8malGMj4u6mDksu8pMizoh2WeGdxc24bBSN2/xhgRfzUJnB7Loc0qyK6/CmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNwUX2pBWttaWTJHDI2ycoADC/MNMOZdo4T7ulAArwaxBRO0Ce3v1DFGm2P206M53eQvEw7G3RAvEN0VvXvOsNn5KL0fXfypwKTKyzjIcvNY2S366IjNah0tr/aCUqxqccvQzkkvCgDFjlSIpYf4OD2V1voCs26a7+F9Ue6hiGgnqx11ojWz3ccskY7JiZ4QxlzK6C50x4M1Jd2mR059YN6oCp5QuD+AN4p3RcMiXmJouCchx70AuJ67ZzQKxI4oxx7YdfyKao6F6Q/tWuaWJDd3nnNleLSnihms6kis0Ov8Wdeo0FpStipFid/MuWwX2xzL7siLUuN98Vm72TaBzADT7edELloulabBLZ4u3KIwmoIUsUTeAi/2nEL2jK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ye302CWi3ui0qis+jxmJtYIz4VADn3xA==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hi,

Thank you for your response

 

I have another machine that is running an iperf3 server, and when I run pscheduler with that machine the task gets submitted but it has a hard time getting the results

user@machine1:~$ pscheduler task  throughput --dest A.B.C.D (iperf3 server address)

Submitting task...

Task URL:

https://localhost/pscheduler/tasks/0e640e37-192d-4eb6-a8b5-c5a8511b3795

Running with tool 'iperf3'

Fetching first run...

 

Next scheduled run:

https://localhost/pscheduler/tasks/0e640e37-192d-4eb6-a8b5-c5a8511b3795/runs/ba19e735-b368-4539-878c-acbc6cbd98c5

Starts 2018-11-29T11:53:10-05:00 (~8 seconds)

Ends   2018-11-29T11:53:29-05:00 (~18 seconds)

Waiting for result...

 

Problem fetching results: Resource Not found.

 

No further runs scheduled.

 

But I’m more interested in running a test with a remote host, so I tried with the example that worked for you, and it looks like it can’t find the tools

                user@machine1:~$ pscheduler task  throughput --dest wash-pt1.es.net

Submitting task...

Unable to post task: Error getting tools from wash-pt1.es.net: Request timed out

The 'pscheduler troubleshoot' command may be of use in problem

diagnosis. 'pscheduler troubleshoot --help' for more information.

 

And this is what troubleshooting outputs

user@machine1:~$ pscheduler troubleshoot  wash-pt1.es.net

Performing basic troubleshooting of localhost and wash-pt1.es.net.

 

localhost:

 

  Checking path MTU... Unsafe or unknown: Found only one MTU in trace to localhost

  Checking for pScheduler... OK.

  Checking clock... Unsynchronized  (See check against wash-pt1.es.net)

  Idle test.... 13 seconds.... Checking archiving... OK.

 

wash-pt1.es.net:

 

  Checking path MTU... 1500+

  Checking for pScheduler... Failed.

Request timed out

 

is this a synchronization problem? Do I need to make wash-pt1.es.net my NTP server?

Mheni.

From: Szymon Trocha <>
Sent: Wednesday, November 28, 2018 5:53 PM
To: Merzouki, Mheni (IntlAssoc) <>
Cc:
Subject: Re: [perfsonar-user] NTP errors when running bwctl, and iperf3 times out

 

Hi Mheni,

 

W dniu 28.11.2018 o 19:53, Merzouki, Mheni (IntlAssoc) pisze:

Hi all,

 

i'm new to using perfsonar, i have the latest perfsonar-toolkit installed on my machine.

i'm trying to test the throughput and bandwidth of my network, i'm doing that by running iperf3 and bwctl as a client for one of the servers provided at http://stats.es.net/ServicesDirectory

 

- for BWCTL

 

this is what i get when running bwctl

Please note that BWCTL was replaced by pscheduler in the latest versions. See http://docs.perfsonar.net/pscheduler_intro.html

 

user@machine:~$ bwctl -a 10 -v -T iperf3 -t 30 -O 4 -c "alt-tic-cdc-pe-b-perfsonar.net.nih.gov:4823"

Messages being sent to syslog(user,err)

bwctl: NTP: STA_NANO should be set. Make sure ntpd is running, and your NTP configuration is good.

bwctl: getaddrinfo(): Name or service not known

bwctl: I2AddrAddrInfo failed

bwctl: Unable to connect to alt-tic-cdc-pe-b-perfsonar.net.nih.gov:4823

 

This server seems to lack DNS entry so calling by hostname will not work and you must use IP address:

[root@psmall-poz1 ~]# host 156.40.197.85
85.197.40.156.IN-ADDR.ARPA domain name pointer atl-tic-cdc-pe-b-perfsonar.net.nih.gov.
[root@psmall-poz1 ~]# host atl-tic-cdc-pe-b-perfsonar.net.nih.gov
;; connection timed out; no servers could be reached
[root@psmall-poz1 ~]#

Try using pscheduler instead of bwctl and iperf when running tests. This is what perfSONAR was designed for.

Please note that the host you picked up may not be allowing public tests although it it visible in the directory. Then it will refuse to connect.



 

i'm getting NTP errors even thought i use the -a option, and my ntp service is active

 

antd@solarflare1:~$ sudo service ntp status

● ntp.service - LSB: Start NTP daemon

   Loaded: loaded (/etc/init.d/ntp; bad; vendor preset: enabled)

   Active: active (running) since Wed 2018-11-28 13:16:02 EST; 10min ago

     Docs: man:systemd-sysv-generator(8)

  Process: 5800 ExecStop=/etc/init.d/ntp stop (code=exited, status=0/SUCCESS)

  Process: 5881 ExecStart=/etc/init.d/ntp start (code=exited, status=0/SUCCESS)

    Tasks: 1

   Memory: 568.0K

      CPU: 63ms

   CGroup: /system.slice/ntp.service

           └─5893 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 111:117

 

Nov 28 13:16:02 solarflare1 systemd[1]: Starting LSB: Start NTP daemon...

Nov 28 13:16:02 solarflare1 ntp[5881]:  * Starting NTP server ntpd

Nov 28 13:16:02 solarflare1 ntp[5881]:    ...done.

Nov 28 13:16:02 solarflare1 systemd[1]: Started LSB: Start NTP daemon.

Nov 28 13:16:02 solarflare1 ntpd[5893]: proto: precision = 0.068 usec (-24)

Nov 28 13:16:02 solarflare1 ntpd[5893]: switching logging to file /var/log/ntpd

 

- for iperf3

 

I always get a connection time out, eventhough i can ping the specified server, this is what i get when i run the verbose mode.

 

user@machine:~$ iperf3 -V -c wash-pt1.es.net

iperf 3.6

Linux solarflare1 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64

iperf3: error - unable to connect to server: Connection timed out

 

any help or pointers would be very apreciated.

thank you.

 

This server (and others) may not run iperf server. pscheduler test works fine:

[root@psmall-poz1 ~]# pscheduler task throughput --dest wash-pt1.es.net
Submitting task...
Task URL:
https://localhost/pscheduler/tasks/e6f917dc-492a-479e-88ac-81f86298c83a
Running with tool 'iperf3'
Fetching first run...

Next scheduled run:
https://localhost/pscheduler/tasks/e6f917dc-492a-479e-88ac-81f86298c83a/runs/71607017-94ca-4855-8c41-1ef8e4d9166a
Starts 2018-11-28T22:47:45Z (~3 seconds)
Ends   2018-11-28T22:48:04Z (~18 seconds)
Waiting for result...

* Stream ID 5
Interval       Throughput     Retransmits    Current Window
0.0 - 1.0      107.45 Mbps    0              2.73 MBytes
1.0 - 2.0      525.73 Mbps    0              25.49 MBytes
2.0 - 3.0      817.89 Mbps    1              28.29 MBytes
3.0 - 4.0      943.34 Mbps    0              28.29 MBytes
4.0 - 5.0      856.70 Mbps    0              28.29 MBytes
5.0 - 6.0      751.07 Mbps    0              28.29 MBytes
6.0 - 7.0      779.16 Mbps    1              28.29 MBytes
7.0 - 8.0      773.10 Mbps    1              28.29 MBytes
8.0 - 9.0      772.01 Mbps    0              28.29 MBytes
9.0 - 10.0     770.66 Mbps    0              28.29 MBytes

Summary
Interval       Throughput     Retransmits
0.0 - 10.0     709.66 Mbps    3

No further runs scheduled.
[root@psmall-poz1 ~]#

Regards,

--

Szymon Trocha
Poznań Supercomputing & Networking Center

General NOC phone +48 61-858-2015 | noc.pcss.pl
Personal desk phone +48 61-858-2022

Wysłaliśmy do Ciebie ten e-mail w odpowiedzi na Twoje zapytanie lub w związku z oferowaną usługą. Przesłanie korespondencji do Centrum Zarządzania PCSS lub zgłoszenie telefoniczne jest równoznaczne z wyrażeniem zgody na przetwarzanie danych osobowych przez Instytut Chemii Bioorganicznej Polskiej Akademii Nauk w Poznaniu adres: ul. Z. Noskowskiego 12/14, 61-704 Poznań. Szczegółowe informacje znajdują się w naszej Polityce prywatności. | This message has been sent as a part of communication with PSNC NOC or your service request sent to us. For more information read our Privacy Policy.

 




Archive powered by MHonArc 2.6.19.

Top of Page