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: Szymon Trocha <>
  • To: "Merzouki, Mheni (IntlAssoc)" <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] NTP errors when running bwctl, and iperf3 times out
  • Date: Wed, 28 Nov 2018 23:53:08 +0100
  • Ironport-phdr: 9a23:rJ0yKxdqoJmYSiPjG4pR9i80lGMj4u6mDksu8pMizoh2WeGdxc26bBKN2/xhgRfzUJnB7Loc0qyK6/CmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRcDI2iYYsBD+0BM+VWoYbzqFQBrwexCwa3CePvyTJFnGP60bE03ukjFwzNwQwuH8gJsHTRtNj7KaYTUOCwzKnPyzXIcu1Y2S366IfUchAuu+yHULVrccvQyUgvEgTFjlOKpYz5JTOV0fgCs2iB4Od7UOKgkWgnpxtpojiox8YsjJPGhoQPxlDc8SV02YA4LsC2Rk58ZN6rCppQtyeCOoRoWcMuWWdotzgmyrEeoZ67Zy4Kx4g9yx7Hb/yLa5CI7Qz5VOafOjd4g3Rld6ilhxqo90iv1PH8WtGs0FlWtSpFicPAtmgJ1xDL8MeHTud98l692TaOyw/f8/1LLl0omqbCM54u3Kc8mYEKvUTbACD2gkv2jLSRdkUi4Oeo8f7rYrP4qZ+AL4N7kB3+MqA3lsyjAOQ3LhECUHSG9uugzbHj5VP2TKxRgfEviqnWroraJcoApq6+BQ9ayJwj5wy5Dzi4zNQVm2QMIlFdeB+fkYTlJ03CLO39APq8n1ihkzJmyvXbMrDjDJjAK2XPnKr5cbt/6UNQ0hQ/wNBQ6p5OCrwML+j/V0H1udHeExQ3KRa7w/z9B9V4zo4eWXyAAqueMK7KqlCH+PgvI/SIZIAPojr9LuIq5/j0gX8hnl8cfK+p0oERaHyiBvRmJ12VYXvqgtgfDWcHphQyQPD2hFGfVDNeZGq+UqE56zw+FY6rD4nOS4WwjLCcxCu7G4dZZmFCClCCC3focICEVu8XaCOTIs5hlzsEVb67R489zxGusxP1y7p9IefP/y0Xr5Tj2MJt5+3UlBAy8yZ7D8KH32GVS2F4hnkISCMu3KBjvUx9zU+O0bBmjPxCG9xT/PRJUgEgOp7G1uB6FsvyVRzbftqSTFamQ86mAS0qTt4v2dMOYkB9G8m8gRDZ2SqlHaMVm6KRCJMq763cwiu5G8EogVPLzrsmklonBoNqNWCgh+Y/1g7PA6fSiEKS1uziIaEc0SjMsmKO13iJoUJZeAhxSrmDUncBMBj4t9P8s3jQXrqpD/wbKAxKycfKfrBYe9juixNaXvDoON32Zmu33X+3FxCBwPWUaNy5KC0mwCzBBR1cwEgo9nGcOF17X3/5rg==
  • Organization: PCSS

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