commit | 534829dc91bb7e272a94ad86f570b51d1d25807e | [log] [tgz] |
---|---|---|
author | Willy Tu <wltu@google.com> | Thu Apr 17 21:52:43 2025 +0000 |
committer | Willy Tu <wltu@google.com> | Fri Apr 18 13:47:10 2025 -0700 |
tree | 13d08b24434ed8530a8592ce3d29974cc98bcc3d | |
parent | daadab3c554f27c538464cf9a77cca5503f58748 [diff] |
ipmid: Improve fetch fru sdr delays The GetManagedObject call is very heavy and it is called on each fru sdr entry. Update the algorithm to use GetSubtreePaths isntead. Tested: Getting all sdr took 25 seconds to 12 seconds on system with a lot of sensor + fru. Fusion-Link: - platform11 - http://fusion2/28f7dd96-2096-3a73-90d1-3748b7975e4a - http://fusion2/48c96ca5-e333-399a-86ad-63a8dbf5a11f - platform5: http://fusion2/c802786c-fa76-3b05-9e3c-7a3f07817f40 - platform15: http://fusion2/446b18d8-ca74-3352-b113-a3456ae3ff9b - platform17: http://fusion2/13f92a2f-f08e-3436-8673-5ed66d0be0c9 Platforms-Affected: IPMI Google-Bug-Id: 408304241 Google-Bug-Id: 411479972 Change-Id: Iff2b1f8ccd6cb3c481a6c9ac3709cda781c22dda Signed-off-by: Willy Tu <wltu@google.com> (cherry picked from commit 263704cbb46db2861c7fea5952083ea6590f20f7)