Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-126731 / 24.04-RC.1 / Disable unused expensive code in addVirtualTarget (by bmeagherix) #22

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

bugclerk
Copy link

The code to enable all hardware targets before creating virtual ones becomes more expensive as the target count climbs.

This change reduces the start time of 100 targets from ~30 seconds to around ~13. [Varies depending on platform, but approx 50% reduction seen everwhere.]

Original PR: #19
Jira URL: https://ixsystems.atlassian.net/browse/NAS-126731

The code to enable all hardware targets before creating virtual ones
becomes more expensive as the target count climbs.

(cherry picked from commit b1425b5)
@yocalebo yocalebo changed the title NAS-126731 / 24.04-RC.1 / NAS-126731 / 24.10/ Disable unused expensive code in addVirtualTarget (by bmeagherix) NAS-126731 / 24.04-RC.1 / Disable unused expensive code in addVirtualTarget (by bmeagherix) Jan 25, 2024
@bmeagherix bmeagherix self-requested a review January 25, 2024 18:05
@yocalebo yocalebo merged commit 42365d7 into stable/dragonfish Jan 25, 2024
0 of 4 checks passed
@yocalebo yocalebo deleted the NAS-126731-24.04-RC.1 branch January 25, 2024 18:06
@bugclerk
Copy link
Author

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jan 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants