Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] running bandwidth test from a laptop

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] running bandwidth test from a laptop


Chronological Thread 
  • From: "Robinson, John-Paul" <>
  • To: Andrew Lake <>, "" <>
  • Subject: Re: [perfsonar-user] running bandwidth test from a laptop
  • Date: Thu, 6 Dec 2018 15:52:58 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:EOQROBfqT1f1JQ9chIxm3c4nlGMj4u6mDksu8pMizoh2WeGdxc26YRON2/xhgRfzUJnB7Loc0qyK6/CmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/mHJhMJtkKJVrhGvpxJ9zI7VfI6aO+FzcbnBcd8GX2dNQtpdWixHD4ihb4UPFe0BPeNAooXzu1UOqgCxBQiqBOP0zT9IgGf61rA+3eQmEQHG2hUsEcgUv3TJqNX5OroZXOe3zKnQ1zXOdO5W1i3m54TSbB8uvOyMUKt2fMHMx0cvEAbFgU+RqYzjJz6ayP8Nv3Kd7+V+SeKjk28nqwdtojex3McsjJfGhp4Lxlze6yp23Zs1KcWgSEFle96kHoBQtyacN4RsWMMuWWdotzgmyrEeop67eycLxI4hxxHBd/yKdZWD7BH7VOuJLjp0mGhpdK+jixuw60StyO7xWtOw3VtKtiZJj9fBu3MX2xDN68WLUOVx8lq91TqV2Q3e6PlIIU4qmqfYN5Isx7s9m5UcvEnHGyL5hV75g7WIekgh+uWn8f7ob7bjq5KYK4B5ig/+P6IzkcKlG+s4KBIBX22D9OS8yrLj+Ur5Ta1SgPAqlafVrJ7XKd0Gq6G7HQNZy4Ej5A2hADu819QYgGUHI0lCeBKaiYjmJkvCIOjiDfe4n1Sjjitkx+zHPr3mBJXBNH/DkKr9fbZ57E5czwkzwcpD6JJTD7ENOPPzWknvu9zEFhI0PBC4z/z6BNlh1I4SQ2CCD6yDPK7WsVKE/ucvLPONZI8Rtjb9Mf8l5/v2gH87gV8dZ7Kk3YYNZ3+jBPhpPViWYWf0jtcbDWgKphY+TPDtiFCaST5ceWyyX6wn5jE8DoKpF53DSpmwgLyawii7BIZbZmRHClCXDXfobJuIV+0NaCKUPs9ujCYEVb6/RI89yx2irhH1xKd6LrmcxysDqJi21MRp//aB0lY29CdoFIKc1X2AVWd5gjlOSjMrm7tupFR0jUyC3q5/jfIfDdFJ6ehOVA4gcIPHwvYpN9encwTNZNqWAHKvQdjuVTg3QsMZzsRIZUthTZHqxAjOxSSxBLkcjfmWH5Eu2qPaw3XrIcthkTDL2LRrxw0+T9FBLmqgj7Q66hPeHabIlVmUjaCnaf5a0SLQojSt122L6QtiVwRxV77CWzRXREzWq5HB717GBff6C6w9GhZIw4iPJrYcOY6htklPWPq2YIeWWGm2gWrlXUzSlLqRcIrnfXkc1yzBCU8C1hoe5muCKRNjXHW6u2yLCjtoGBqveE7q/eRk4FKDBk4vh0DCdEh9z/yw8x8Ri+abTqYRxqgspS4r7Th4AQX10g==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Andy,


Thanks for the feedback.   The choice makes sense and isn't too inconvenient.


I tried using the generic assist server but my client seems to still prefer localhost.   Is there something I'm doing wrong?


jpr@laptop:~$ pscheduler task --debug --assist 56m-ps.sox.net throughput --source localhost --dest 56m-ps.sox.net
2018-12-06T09:52:07 Debug started
2018-12-06T09:52:07 Assistance is from 56m-ps.sox.net
2018-12-06T09:52:07 Forcing default slip of PT5M
2018-12-06T09:52:07 Converting to spec via https://56m-ps.sox.net/pscheduler/tests/throughput/spec
Submitting with assistance from 56m-ps.sox.net...
2018-12-06T09:52:07 Fetching participant list
2018-12-06T09:52:07 Spec is: {"dest": "56m-ps.sox.net", "source": "localhost", "schema": 1}
2018-12-06T09:52:07 Params are: {'spec': '{"dest": "56m-ps.sox.net", "source": "localhost", "schema": 1}'}
2018-12-06T09:52:08 Got participants: {u'participants': [u'localhost', u'56m-ps.sox.net']}
2018-12-06T09:52:08 Lead is localhost
2018-12-06T09:52:08 Pinging https://localhost/pscheduler/
2018-12-06T09:52:08 Pinging https://localhost/pscheduler/
Unable to find pScheduler on any of localhost, localhost.



I will explore the containerized perfsonar.  I like that approach.  I had actually tried to build myself a container for perfsonar back in 2014 but was too new to both technologies to succeed.  IIRC I ran into problems with published public endpoint addresses vs private local host addresses (akin to typical firewall issues).  I assume this new tech stack is able cope with these details.   Look forward to exploring it.


John-Paul


From: Andrew Lake <>
Sent: Wednesday, December 5, 2018 1:45:07 PM
To: Robinson, John-Paul;
Subject: Re: [perfsonar-user] running bandwidth test from a laptop
 
Hi,

There is no thin client beyond what you have described like there was in BWCTL. This is a trade-off we made to get the increased functionality of pScheduler.  You are correct that the current client requires an --assist server and can only do third-party tests. Feel free to do something like “--assist atla-pt1.es.net” if you need a server. All the assist server does is look at the parameters and tell the test where to go. After the initial lookups, the assist server is out of the picture. Alternatively if you are doing a test where you know the source and/or dest has pScheduler, just feed one of those addresses to --assist. 

Another option that is currently my personally preferred method for running perfSONAR on my laptop is to run it in Docker. We have an image in Docker Hub of the testpoint bundle. The advantage is all the dependencies on Apache, PostgreSQL, etc are isolated within the Docker container. The container is pretty lightweight so it's quick to bring up/down as needed. I know it is not exactly the same, but I’ve found it to work reasonably well. Instructions here if you are interested: http://docs.perfsonar.net/install_docker.html

Thanks,
Andy


On December 5, 2018 at 2:01:04 PM, Robinson, John-Paul () wrote:

Hi,


In the past I could install the perfsonar tools on my laptop and use bwctl to run throughput tests from my laptop to points of interest on and off campus.


I can still install the tools bundle on my laptop with `sudo apt-get install perfsonar-tools` but with the switch away from bwctl to pscheduler it appears I can just run my tests.  I get an error when I try the simple example:


jpr@laptop:~$ pscheduler task rtt --dest www.perfsonar.net
Unable to find pScheduler on localhost

It seems I can't start any tests with out a pscheduler server or assist server:


https://docs.perfsonar.net/pscheduler_client_tasks.html#running-tests-from-other-hosts


The server comes in the testpoint bundle and has a lot of dependencies like apache.  It looks like the --assist flag could help, but I don't know of an assist server.


Is there a way to run pscheduler test on a trim client-only install like bwctl could?


Thanks,


John-Paul   

--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user



Archive powered by MHonArc 2.6.19.

Top of Page