The webUI, when loading the main dashboard, is calling pool.get_disks on 12. This is unnecessary, and to make matters worse that call is particuarly expensive on very large systems.
It seems the dashboard is also calling `pool.dataset.query` twice. Once without params and then once with `[[], {"extra": {"retrieve_children": False}}]`.
Calling that 2 times equates to roughly 6 seconds of time waiting. Instead it can be replace with `zfs.dataset.query `[[], {"extra": {"retrieve_children": False}}]` to get the same information 55-60% faster.
The webUI, when loading the main dashboard, is calling pool.get_disks on 12. This is unnecessary, and to make matters worse that call is particuarly expensive on very large systems.
It seems the dashboard is also calling `pool.dataset.query` twice. Once without params and then once with `[[], {"extra": {"retrieve_children": False}}]`.
Calling that 2 times equates to roughly 6 seconds of time waiting. Instead it can be replace with `zfs.dataset.query `[[], {"extra": {"retrieve_children": False}}]` to get the same information 55-60% faster.