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: "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 12:26:04 +0000
  • Accept-language: en-GB, de-DE, en-US
  • Ironport-phdr: 9a23:GYm8YRA7mqKDKqfyDfUoUyQJP3N1i/DPJgcQr6AfoPdwSPX8pMbcNUDSrc9gkEXOFd2Cra4c1qyO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhDexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qiqp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2pMRsZfWTJcDIOgYYUBDOQBMuRZr4bhqFQDtgG+CRWoCe711jNEmn370Ksn2OohCwHG2wkgEsoAvHrVttr1LqESUeG0zanP0zXPd+5d1zTj6IfSdBAqvPWAU65sf8XSxkcjEg3JhUiXpIzkITOazOINv3KU7+V6T+KvjW8nqgB2ojix3coshJPGhp8Pxl/Z6yp02YA4LsC2Rk58ZN6rCppQtyeCOot5Q8MiX2FouDshxbEcpZG7ey0KxIw9xx7Zc/yLaZOH4gj7WOafOzh4mWhpd6+hiBu07EOuyfX8W9Gp3FtEsyZJiMTAu3MO2hDJ98SLV+Fx8lm91TqXygze5PxILVopmafYKJMt2L09mocJvUjdESL7nF36gLGKekk45+Sl7uXqb7vlq5KZLYB4lh3yPrgrl8CiHeg0LAgDUm2e9Omy1rDu+1DyTq9Qgf0siKbZtYjXJcQFqa69BA9YyoMj6hmmAze80dUUhGQLIEhfeBKdjonmJUvCIO3+Dfe+mlijji1rx/TcMb3nDZXCMH7DnK38crlj80JcyQwzws5D559MF70MLu//VlXsuNHbDRI1KRG4z/v9BNljyo8SQWePDbWYMKPWv1+I/OUvI+yUaY8UpjbyMf4l6+ThjXAjg18de6ip3JoQaHCmBflmLV+WYWf2jtgcD2gGphA+Q/DyiF2eTT5TYG6/X7oi6TEhBoKmFoDDRoa3j7ybxSu7A4ZWaX5cCl2XFXfodp6EW+sXaC6MOMNhkzoEVaS/RI870xGhqhP6x6R9IuXK5yIYqMGr6N8gwvDJlBU1vQJ5E9iQySnZSnxun2cPASE7wLxyu2RlzU/GyqM+mfpAU9ZJsaBnSAA/YNTzxvZ8CsL1REaJX8mATh7meO+ULHB7BoYw3dYIJUl0AdOjnBfd9ySjHvkZmurYV9QP7qvA0i2pdI5GwHHc2fxk1gF+Tw==

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

 

 




Archive powered by MHonArc 2.6.19.

Top of Page