perfsonar-user - RE: [perfsonar-user] Re: Running pscheduler inside a linux namespace
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: "Garnizov, Ivan (RRZE)" <>
- To: Murilo Vetter <>
- Cc: perfsonar-user <>
- Subject: RE: [perfsonar-user] Re: Running pscheduler inside a linux namespace
- Date: Thu, 7 Jun 2018 16:53:08 +0000
- Accept-language: en-GB, de-DE, en-US
- Ironport-phdr: 9a23:w0xzARe1RjLtsakTCj4vN89HlGMj4u6mDksu8pMizoh2WeGdxc26ZB2N2/xhgRfzUJnB7Loc0qyK6/2mATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbN/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRBDI2icoUPE+QPM+VWr4b/plsBsRSxCBK2BO/zzjJFnGP60bE43uknDArI3BYgH9ULsHnMotn7Nb0dUfqzzKnJzDTDaO1W1S/g44bLbBAuu/eMVq90fcTN1UcgFAzLglCepYf4OD6V1/oNvHKd7+Z6WuKgkXQnqwdwojmuwccslJLEhowPxVDZ7yl23Zg6KMS+RUVmb9CkF55QuDubN4twWs4iTGBouDo6yr0bopG3ZjQFyJMixxLHcfyHdZCI7gj4W+aLOTt4imhqeK+lixmv70etzPD3WMqs0FtSsCZJjsXAum0I2hHS5MWKSf5w8V291TqTywze7/xILVwqmafbLpMsx6M8m5ULvUjeECL6hV/6gLKVe0gn4OSl6Pnrbq/4qpKTM4J4kh/yPrgylsCiBOk1MwYDUmue9OumyLHv4VH1TbBXgvEqjKXUsJXXKMEVq6O7BQJez5wt5AylDzi81dQVhXkHI0xBeBKAl4XpPl7PLOniDfa+mligjS1nx+rcPrzgHJrBNGXDkLHgfbpk9UFc0g4zwspZ55JbFL4BJuj/VVLvu9DADx85NRK7w/r/Bdljyo8SRX+DD6qYPa7cslKF4/ggL/WQaIMJvTvxNuQp6+DugHI8nFIRYKak0YMSaH+iH/RmJ0uZYWDrgtcECWoKvxQ+Q/bsiFGYXj5cfWyyX6Q95jA6D4KmE5zORo63j7ycxiu0A4NZanhcCl+QCXfoa5mEW/AUZSKKPMBhiDIEVaOmS48nzx6urhb2y6d8LuXK4C0Vrpbj1Nlu5+3PjhE+6yZ4D8Wb02GRUW50hGUISCEq3Kxhu0By1EqM0bUry8BfQPlO/fJNVU8EOILAwvYyX9XvQAPFeZGXRUq6T8+OGTYpC8k6hcUIewB3AYPxoArE2n/gLLYPkb2ZA4JwuoPC1n65Z/xH+VuHnuF1jkcvRI1APHegh7x46SDdDpOPn0jPxPXiTrgVwCOYrDTL9mGJpkwNFVcoCag=
Hello Murilo, Thank you for sharing. Unfortunately the information you share is much in the specifics of the implementation you are
devising for RNP. I was looking to get a more high level evaluation from your side on the functionality and technology used in the RNP project. Certainly it will be difficult for me to give exact implementation solution from where I stand. Still I admit my email predisposes your reply. IMO you have to think on the reasons you need to apply Linux Namespaces on communication with directly connected clients.
You have to be aware Linux Namespaces do lead to a lot of complications in operation, unless you really have the need to measure in overlapping address spaces, where routing is also involved. The decision and the implementation I will leave up to you though. I hope the shared links to the documentation will be of great help and we’ll be looking for your feedback on the usage
of pScheduler context switching. Best regards, Ivan Jubiläumsjahr 2018 - IT in Bewegung Das RRZE - der IT-Dienstleister der FAU From: Murilo Vetter [mailto:]
Hi Ivan, I attached 2 figures that explains better what we are trying to do with perfSONAR tools (iperf3 and ping). The idea is to homologate symmetric and assymetric links from costumer network. Today, what we already implemented in MonIPÊ is an interface in the PoP that manages the homologation tests, generating reports. It is implemented within a host that performs both type-approval tests (homologation tests) and regular tests. It is already
implemented using monipe toolset (iperf2 TCP and UDP, and ping), running in 2 namespaces with 2 network interfaces inside linux machine. These 2 network interfaces are mapped to 1 physical interface using VMXNet3 Driver. For symmetric links we call iperf directly inside the namespaces of the host. For assymmetric links we call bwctl directly inside the namespaces of the host. In this case, we have another host in the client that have 2 bwctl instance, one for upstream and another for downstream. Homologation tests runs inside namespace in parallel to regular tests, that run outside namespace. As we want to migrate MonIPÊ solution to use perfSONAR toolset, specially pscheduler to run regular tests, we are trying to put all these (regular tests and homologation tests) inside
one host as we already did with MonIPÊ. The only differance now is that we are going to control homologation tests centrally. Previous tests demonstrate that it is possible to run regular tests and homologation tests in parallel using perfSONAR. Now we are evaluating to use pscheduler to schedule tests, so we could develope a central interface to control homogation tests. As I could see until now, pscheduler would not fit in these scenario. Now, the idea is to develope an API that controls it and a central management interface to talk with this API. If it would fit, we would like to use it to make our schedules and control this kind of tests. I also attached one report that show a 24 hour test (iperf UDP) that shows that the link is homologated. I hope it's being clear what we're trying to do. Regards, --
Murilo Vetter www.pop-sc.rnp.br De:
"Garnizov, Ivan (RRZE)" <> Hello Murilo, Would it be possible for you also to give some more light on the idea of RNP to use the context switching? IMO the context switching you are trying to configure relies on IP routing inside the network contexts. The question here
is, if layer2 measurements would have been sufficient to accomplish the goals of your project. An example of this would be a tool, which would allow you to perform L2 measurements in any L2 segment (virtual interface). The tool does not have limits and support
multiple L2 segmentation technologies and it is a matter of a parameter switch to switch the segments. Here is a link to the tool:
https://github.com/jwbensley/Etherate ( there is also EtherateMT ) Please note: AFAIK there is still no commitment for this tool to be added to the pS supported tools, but your feedback
will be valued. Best regards, Ivan Jubiläumsjahr 2018 - IT in Bewegung Das RRZE - der IT-Dienstleister der FAU From: Murilo Vetter []
Thanks Mark for the clarification. Bests,
-- Murilo Vetter www.pop-sc.rnp.br De:
"Mark Feit" <> Murilo Vetter writes:
# pscheduler task --context '{ "schema": 1, "contexts": [ [ { "context": "linuxnns", "data": { "namespace": "ns-ens224" } } ], [ { "context": "linuxnns", "data": { "namespace": "ns-ens256" } }
] ] }' throughput --source 192.168.0.39 --dest 192.168.0.45 --source-node
192.168.0.43 --dest-node
192.168.0.43
Would it have a way to overcome this error, forcing to do the test? Maybe in a future implementation? Or it is not suppose to?
I tried with 2 different IP on the same host with no namespace configured and it showed the same problem. pScheduler does not allow running of multi-participant tests (throughput and simplestream) where the
same server acts as more than one of the participants. Part of it has to do with the way the API’s resource model is organized and part of it has to do with avoiding running resource-intensive tests on the same server at the same time and getting distorted
results. Any of the single-participant tests (rtt, trace, latency) will work because there’s no second pScheduler involved and they do everything necessary to exercise the namespace changes. For those, you’d specify a source, a source node and a destination. I do my testing of this on pairs of VMs with a private segment between them. There’s a utility script
in the sources that does the alternate namespace setup and can be customized for your environment:
https://github.com/perfsonar/pscheduler/blob/master/scripts/create-netns --Mark |
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Mark Feit, 06/06/2018
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Murilo Vetter, 06/07/2018
- RE: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Garnizov, Ivan (RRZE), 06/07/2018
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Murilo Vetter, 06/07/2018
- RE: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Garnizov, Ivan (RRZE), 06/07/2018
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Murilo Vetter, 06/07/2018
- RE: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Garnizov, Ivan (RRZE), 06/07/2018
- Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace, Murilo Vetter, 06/07/2018
Archive powered by MHonArc 2.6.19.