Open bitboy85 opened 1 year ago
Which version of Netmiko did you test with?
I'm using the current version. 4.2.0
Okay, this looks interesting. Let me look into it some more.
I can't believe this , it's to good to be true .
Did you try it?
Not yet, I mainly use napalm for my daily work , but it should also benefit from your findings. I do have a pretty large script which runs a lot of commands against a cisco devices and some of the returns like show ip route are pretty big which I hope will be faster afterwards. Will update this if I get some numbers
As already mentioned here: https://github.com/paramiko/paramiko/issues/2238#event-9143547163 the output read / execution performance could be massivly improved by changing paramikos DEFAULT_WINDOW_SIZE in file common.py
This is also true for netmiko.
Just tried it out: Using "show ap summary", textfsm enabled, to a cisco 5520 wlc with around 1000 APs
~ 2 minutes vs 1 second
I have no devices from other vendors to test, so those might need another value. My suggestion is to have a good known working value within the device_ype specified with option to the user to override it.
From my tests, a window size of 4* 2**15 works best for Cisco devices.