So, I created this app in ODL-Hydrogen to install flows in Openflow switches. As per the specs of my app, it is installing about 1130 rules in 20 switches in 20-node complete topology. As is evident, this takes around 8 seconds with a single threaded version of my app and 6 seconds with a multithreaded version. I was hoping to bring down the time further to around 2-3 seconds. Is there any other neat trick that I can use to install flows quickly?
Currently, I am using sal.flowprogrammer function addflow(node,flow) to install flows. Is there some way to install a group of flows in some sort of batching mode?
Please note that I already used addFlowAsync() and it doesn't help.
Thanks in advance for your time.