Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace


Chronological Thread 
  • From: Murilo Vetter <>
  • To: "Garnizov, Ivan (RRZE)" <>
  • Cc: perfsonar-user <>
  • Subject: Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace
  • Date: Thu, 7 Jun 2018 10:54:06 -0300 (BRT)
  • Ironport-phdr: 9a23:13VnwR+1r4w/R/9uRHKM819IXTAuvvDOBiVQ1KB22u0cTK2v8tzYMVDF4r011RmVBdids6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+553ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMNboRr4oRzut86ZrSAfpiCgZMT457HrXgdF0gK5CvR6tuwBzz4vSbYqINvRxY7ndcMsUS2RBRMZfSS9PDYGyb4USAOUOIedYoY7hp1YVqBuyGRWjC/j1xzNUhHL727Ax3eQ7EQHB2QwtB9UAsGnOrNX0MKcSVv2+w6bWwjXfc/NZxy3945XPfxAkvPGMR7Nwcc7WyUU1CQPKkEmQqZD7MDOPzekNq2+b7/J5WeK0l2ErsRtxoj63xss2kYbJnJsYx1bZ/it3x4Y1IMe3SE99YdO8H5tQtj2aN4trQsw5WW1npCE6yrgetZ6heigK0I4ryAXFa/CffYiH+A/jWPyMLjhmgn9uZbGxhw6q/ES+yeDwStS43VNJoyZZl9TDrHMA2h/W58WIVvdx4lut1DOK2g3T8u1IP1w4mbbBJ5I/zLM9lIAfvVnHEyPogkn7jKmbfVg+9Oey8eToeLDmq4ecN4BqjgH+Nbwjm82+AeQ9KQcORXKU9f6k1L3k5U31Wa5KgeEsnqnDtpDaPd4XqbWjAwNN04Yj7QiwDyu+3dgGnnQLME9JdReEgoT1PlzBOvP1APS6jlmjjDtn2+zKM7jkD5jNNnTDla3ufbd5605S0gozytVf6opRCrEcOvLzW0vxtNvCAh8nLQO03/rnB8tn1o4FQWKPBbeZPLrJsVCU/O4vOe+MZJcPtDnmMfgp/+TugmMhmV8BYamp2oMaaGimEfR8LUWZen3sgtEbHmcQpwY+Uffqh0OYUTNIY3ayXrk85i0gCI64F4vDR4atgKCf0yehGJ1ZeHxGBk6WHXj2aoqERqREVCXHaOBoiDoFR7+/D8cAyxio/E/A8YhKb6CcriwGvJSl29Fv4ezBkg8a+zVpSciQhTK3Qnlwj18PEhorxqF7pgRDx0uf3LIw1/lFD91X4LVXXxsmOIT01+tiTsv5HBjHZpGDUgD1bM+hBGQUU8gwx9hGXUthB9i4xkTGwjCrB7hTibGXGJEu2rrbxz3qLIBnzW6A3rN33ApueddGKWDz3v03zAPUHYOc1hzBz6s=

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
Analista REMEP-FLN/PoP-SC
PoP-SC - Ponto de Presença da RNP em Santa Catarina
REMEP-FLN - Rede Metropolitana de Educação e Pesquisa da Região de Florianópolis
RNP - Rede Nacional de Ensino e Pesquisa
UFSC - Universidade Federal de Santa Catarina
SETIC - Superintendência de Governança Eletrônica e Tecnologia da Informação e Comunicação
Fundações de Apoio FEESC e FEPESE
--/--

www.pop-sc.rnp.br
remep.pop-sc.rnp.br
CHAMADOS:

+55(48)3721-3000
INOC: 11242*100



De: "Garnizov, Ivan (RRZE)" <>
Para: "Murilo Vetter" <>
Cc: "perfsonar-user" <>
Enviadas: Quinta-feira, 7 de junho de 2018 9:26:04
Assunto: RE: [perfsonar-user] Re: Running pscheduler inside a linux namespace

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

www.50-jahre.rrze.fau.de

 

From: Murilo Vetter [mailto:]
Sent: Donnerstag, 7. Juni 2018 13:40
To: Mark Feit <>
Cc: Garnizov, Ivan (RRZE) <>; perfsonar-user <>
Subject: Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace

 

Thanks Mark for the clarification.

 

Bests,

--


 

Murilo Vetter
Analista REMEP-FLN/PoP-SC
PoP-SC - Ponto de Presença da RNP em Santa Catarina
REMEP-FLN - Rede Metropolitana de Educação e Pesquisa da Região de Florianópolis
RNP - Rede Nacional de Ensino e Pesquisa
UFSC - Universidade Federal de Santa Catarina
SETIC - Superintendência de Governança Eletrônica e Tecnologia da Informação e Comunicação
Fundações de Apoio FEESC e FEPESE
--/--

www.pop-sc.rnp.br
remep.pop-sc.rnp.br
CHAMADOS:

+55(48)3721-3000
INOC: 11242*100

 


De: "Mark Feit" <>
Para: "Murilo Vetter" <>, "Garnizov, Ivan (RRZE)" <>
Cc: "perfsonar-user" <>
Enviadas: Quarta-feira, 6 de junho de 2018 14:07:59
Assunto: Re: [perfsonar-user] Re: Running pscheduler inside a linux namespace

 

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
Submitting task...
Unable to post task: Error while tasking 192.168.0.43: Unable to post task to 192.168.0.43: ERRO: Task already exists. All participants must be on separate systems.

 

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

 

 


Attachment: relatorio_monipe_homologacao_119.pdf
Description: Adobe PDF document

Attachment: monipe_homologacao_enlaces_simetricos_perfsonar.png
Description: PNG image

Attachment: monipe_homologacao_enlaces_assimetricos_perfsonar.png
Description: PNG image




Archive powered by MHonArc 2.6.19.

Top of Page