Complete
Details
Assignee
CalebCalebReporter
CalebCalebLabels
Impact
LowComponents
Fix versions
Affects versions
Priority
Low
Details
Details
Assignee
Caleb
CalebReporter
Caleb
CalebLabels
Impact
Low
Components
Fix versions
Affects versions
Priority
More fields
More fields
More fields
Katalon Platform
Katalon Platform
Katalon Platform
Created June 22, 2021 at 1:15 PM
Updated July 1, 2022 at 5:30 PM
Resolved June 22, 2021 at 10:03 PM
I profiled the middlewared process a few months ago and found lots of areas of improvement. The gist of it is that we're spending an exorbitant amount of CPU time simply retrieving static information that never changes after boot.
The details of the performance penalty for doing this can be found here , here , and here . To add insult to injury, the ticket has shown that 75% of the core dumps that I've analyzed show that system.info was on CPU at the time of the crash. The fact that it's on CPU doesn't mean it's related to the core dumps but it does show the fact that we're wasting lots of CPU time on static data that never changes.
These changes have been in SCALE for many months and they were actually supposed to be backported to TN Core "nightlies" at the time, but that was never done because of the truenas/13.0-stable branch creation.
This ticket is to backport those changes to the truenas/12.0-stable and truenas/13.0-stable repos.