Speed up pool display by making pool.import_find a job

Description

I have an M50-HA with 72 SAS drives (54 HDD, 18 SSD), 4x NVMe, and 1x NVDIMM. I ran a timer from clicking ok after selecting "create new pool" to the time when the spinner stopped and I could configure pool geometry and it was about 1 minute 42 seconds.

The middleware call executes quickly:

midclt call disk.get_unused 0.16s user 0.16s system 41% cpu 0.758 total

Version: TrueNAS-11.3-MASTER-201911260916 (9aacff6)

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk December 12, 2019 at 1:00 PM

Bug Clerk December 10, 2019 at 6:23 PM

Erin Clark December 3, 2019 at 12:38 AM

Any idea why this call would take so much longer in a web browser but not at cli William?  This is just a simple call to
this.ws.call("disk.get_unused",[])

Erin Clark December 3, 2019 at 12:36 AM

This is really strange, when the web browser makes the call it takes 1 minute and 15 seconds, when I type it in from command prompt it runs instantaneously on this box

Nick Principe December 2, 2019 at 9:19 PM

if it is pertinent, this testing was with Firefox 70.0.1 on Mac OS X 10.14.6 on gigabit in the office. I've noticed this with Safari 13.0.3 on the same Mac as well.

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created December 2, 2019 at 9:03 PM
Updated July 1, 2022 at 4:47 PM
Resolved December 12, 2019 at 1:00 PM