[LU-9201] reduce llmount.sh startup time Created: 09/Mar/17 Updated: 18/Jun/21 Resolved: 09/May/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.0, Lustre 2.11.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Andreas Dilger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Loading the libcfs module is getting increasingly slow due to multiple checksum types being speed tested at startup (8 checksum types * 1s each). Reduce the number of checksum algorithms checked at module load time to the ones that are actually need the speed, and reduce the amount of time taken to compute the checksum. The mount_facet() code also gained a 5s sleep for each target mounted when http://review.whamcloud.com/20194 was landed, which slows down tests that reformat the filesystem a lot (like conf-sanity.sh) significantly, and is in any case an annoyance for developer testing. |
| Comments |
| Comment by Gerrit Updater [ 09/Mar/17 ] |
|
Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/25923 |
| Comment by Jinshan Xiong (Inactive) [ 10/Mar/17 ] |
|
this patch is worth 1m$ |
| Comment by Alex Zhuravlev [ 10/Mar/17 ] |
|
I was thinking of passing a special argument from t-f to enforce checksum algo with sort-of-random (jiffies % <# of alrorithms>) to 1) fix load time issue 2) ensure all the algorithms are tested |
| Comment by Gerrit Updater [ 16/Mar/17 ] |
|
Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/26021 |
| Comment by Gerrit Updater [ 16/Mar/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25923/ |
| Comment by Gerrit Updater [ 09/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26021/ |
| Comment by Peter Jones [ 09/May/17 ] |
|
Landed for 2.10 |
| Comment by Gerrit Updater [ 15/Sep/17 ] |
|
Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/29011 |
| Comment by Gerrit Updater [ 22/Nov/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29011/ |