We have created a multi-threaded version of switchmap [1].
Background: If you have a large system of switches to scan
it could take a long time to scan the switches sequentially.
In this version you can specify
# Number of threads to scan the switches.
$NumThreads = 5;
in your ThisSite.pm to scan $NumThreads switches in parallel.
I'm currently running Switchmap v14.0. Besides adding $NumThreads = 5; to ThisSite.pm, what changes do I have to make to run the multi-threaded version? Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm currently running Switchmap v14.0. Besides adding $NumThreads = 5; to ThisSite.pm, what changes do I have to make to run the multi-threaded version? Thanks
Checking out the threading branch of [1] and your adjustment should be enough. Please, report back if does not work.
Thank you Sascha for creating the multi-threaded version of switchmap. I just upgraded to a new server and had a chance to try the multi-threaded version, which saves a lot of time when running SwitchMap.pl.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello together,
We have created a multi-threaded version of switchmap [1].
Background: If you have a large system of switches to scan
it could take a long time to scan the switches sequentially.
In this version you can specify
in your ThisSite.pm to scan $NumThreads switches in parallel.
Maybe you find this useful.
Kind regards,
Sascha L. Teichmann
[1] https://gitlab.com/sascha.l.teichmann/switchmap/-/tree/threading
Hi Sascha,
I'm currently running Switchmap v14.0. Besides adding $NumThreads = 5; to ThisSite.pm, what changes do I have to make to run the multi-threaded version? Thanks
Hi!
Am 04.03.22 um 20:33 schrieb TamT:
Checking out the threading branch of [1] and your adjustment should be enough. Please, report back if does not work.
Regards, Sascha
[1] https://gitlab.com/sascha.l.teichmann/switchmap/-/tree/threading
Thank you Sascha for creating the multi-threaded version of switchmap. I just upgraded to a new server and had a chance to try the multi-threaded version, which saves a lot of time when running SwitchMap.pl.