sdn-sense / siterm

Apache License 2.0
3 stars 5 forks source link

Dell OS 10 Slowliness #489

Closed juztas closed 5 months ago

juztas commented 6 months ago

2 Diff devices (both running Dell OS 10) can vary a lot to return output from commands. For example show running-config is repeated and run multiple times - that could be improved and run only once (and share between classes). But that also indicates some kind of issue on a second device and it being so slow (is it because of more ports?)

[WRAPPER][1714061022.638244] Function run_commands (<ansible_collections.ansible.netcommon.plugins.action.network.ActionModule._patch_update_module.<locals>.PatchedAnsibleModule object at 0x7fa57e44a8e0>, ['show interface', 'show interface port-channel', 'show running-config', 'show system']) {'check_rc': False} Took 19.3007 seconds
[WRAPPER][1714061036.6444838] Function run_commands (<ansible_collections.ansible.netcommon.plugins.action.network.ActionModule._patch_update_module.<locals>.PatchedAnsibleModule object at 0x7fa57e44a8e0>, ['show lldp neighbors detail']) {'check_rc': False} Took 1.9020 seconds
[WRAPPER][1714061043.6560762] Function run_commands (<ansible_collections.ansible.netcommon.plugins.action.network.ActionModule._patch_update_module.<locals>.PatchedAnsibleModule object at 0x7fa57e44a8e0>, ['show running-config']) {'check_rc': False} Took 6.6186 seconds
[WRAPPER][1714061054.441256] Function run_commands (<ansible_collections.ansible.netcommon.plugins.action.network.ActionModule._patch_update_module.<locals>.PatchedAnsibleModule object at 0x7fa57e4498e0>, ['show interface', 'show interface port-channel', 'show running-config', 'show system']) {'check_rc': False} Took 48.6997 seconds
[WRAPPER][1714061077.3568156] Function run_commands (<ansible_collections.ansible.netcommon.plugins.action.network.ActionModule._patch_update_module.<locals>.PatchedAnsibleModule object at 0x7fa57e4498e0>, ['show lldp neighbors detail']) {'check_rc': False} Took 2.1177 seconds
[WRAPPER][1714061095.5491014] Function run_commands (<ansible_collections.ansible.netcommon.plugins.action.network.ActionModule._patch_update_module.<locals>.PatchedAnsibleModule object at 0x7fa57e4498e0>, ['show running-config']) {'check_rc': False} Took 17.7004 seconds
juztas commented 6 months ago

On Nebraska (OS Version: 10.5.4.4, Build Version: 10.5.4.4.193)

[WRAPPER][1714236333.1046214] Function run_commands (<ansible_collections.ansible.netcommon.plugins.action.network.ActionModule._patch_update_module.<locals>.PatchedAnsibleModule object at 0x7f06df427670>, ['show interface', 'show interface port-channel', 'show running-config', 'show system']) {'check_rc': False} Took 20.9174 seconds
[WRAPPER][1714236312.1692202] Function run_commands (<ansible_collections.ansible.netcommon.plugins.action.network.ActionModule._patch_update_module.<locals>.PatchedAnsibleModule object at 0x7f06df427670>, ['show lldp neighbors detail']) {'check_rc': False} Took 0.9597 seconds
[WRAPPER][1714236311.1959946] Function run_commands (<ansible_collections.ansible.netcommon.plugins.action.network.ActionModule._patch_update_module.<locals>.PatchedAnsibleModule object at 0x7f06df427670>, ['show running-config']) {'check_rc': False} Took 8.8814 seconds

So Summary:

Dell Z9100 (OS10, 10.5.0.6C1): ['show running-config']) {'check_rc': False} Took 6.6186 seconds
Dell Z9264F (OS10, 10.5.2.0P1): ['show running-config']) {'check_rc': False} Took 17.7004 seconds
Dell S5248F-ON (OS10, 10.5.4.4): ['show running-config']) {'check_rc': False} Took 8.8814 seconds
Dell Z9100 (OS9, 9.11(0.0P6)): ['show running-config']) {'check_rc': False} Took 0.1719 seconds
juztas commented 5 months ago

Not much I can do about this. we are already limited to a few commands executed on devices. Caltech team is following with dell on this issue.