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: Andrew Lake <>
  • To: "Robinson, John-Paul" <>, "" <>
  • Subject: Re: [perfsonar-user] running bandwidth test from a laptop
  • Date: Thu, 6 Dec 2018 12:07:40 -0800
  • Ironport-phdr: 9a23:ULXsthaJ98OwdSLq0hZJPUb/LSx+4OfEezUN459isYplN5qZrsi5bnLW6fgltlLVR4KTs6sC17KG9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa+bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjA58m7XhMN/gqxYrhy8uRJw35XZb5uJOPdkZK7RYc8WSGhHU81MVyJBGIS8b44XAucdO+ZXspP9qEUArBCjAwejHuDvxSFVjXLxx6I61fkuEAHd0QM+BNICqnLUo8vpNKoLV+2+0afGzTLGb/xM2Df97pDFfQ46of2WW7J/b9bRxVE3FwzblFWQp5flPzST1usXqWiX9fBsVeSxhG47sw1xoz6vxtsyhYnTgIIa1EzE+TtjzIkrONK4VVZ3Yca6H5tKuSGaLIx2QsU4TGFyoio6zKMJuYKjcCgRz5QmyATTa/qZfIiU5B/oSeWfIS9giX54Zr6yhAy+/Ea6xuDzS8W4ylRHojddntXSqnwA0wbf58uHR/dn40us2DSC2xrN5u1YPUw5k7fQJYQ7zb4qjJUTtFzOHi/ol0Xyi6+bbksk9fan5uj9ZrXpvZucO5V7igH5LKQigs2/AeImPQgSR2WX5Pqw2b758UD3WrlHgeA6nrPbvZzHPcgbo7S2Aw5R0oYt8Ra/CDKm3cwCknkBMV1EeAmKgJbyO13UJvD3E+u/j0y2kDh33/DGIqHhApLVI3jbjrjhZ7h961VbyAo1199f/YtYCqwaIP3tQE/8r9jYDh4iMwyo2ObrFs9x1oIYWWKTHKCZKqXSvkGU5u4xOeWDepIauCuuY8Uj/OPk2H8lhUcGL+7u2ZoMdGv+H/J6Ll+fbGa2xNoNDCARrw8mRavxiVKEVjBdIG6/Rawn4TcyEse7ForZFbyq1fa72y26GIZRYCQOKFeMFzLQfpiAEb9YajqICtJomHoJWaX3D8drzRy0uhT9zbN9a/fP9zcwtJT/2cJz6vGJ0xw+6HY8W9yQyW+WSGd9hCYVXDIs9KF5vUFnzFqfi+51j+EORvJJ4PYcewE2L5PDh8hzCN26DgvHcsahRU3gRNi6V2JiBuktysMDNh4uU+6piQrOinKn

Hi,

A limitation of the client is that it can only do third-party test, so “--source localhost” will not work since your laptop does not have all the plug-ins installed to run iperf3. If you do the container you won’t have that limitation (though you probably just want to leave the source blank instead of setting it to “localhost” as it might try to bind iperf3 to loopback). 

Let us know if you have any issues getting the container going.

Thanks,
Andy


On December 6, 2018 at 10:53:03 AM, Robinson, John-Paul () wrote:

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