[LU-14894] Parallel pass2 support for e2fsck Created: 30/Jul/21 Updated: 10/May/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Wang Shilong (Inactive) | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | e2fsck, ldiskfs | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||||||
| Description |
|
After these improvements, e2fsck of a 50% full 1PB filesystem running with 256 threads improved pass1 from 7777s to 191s (40x faster), and pass5 from 10523s to 286s (36x faster). However, pass2 only improved marginally, from 1363s to 1265s (7%) and this now dominates the total e2fsck runtime (70% in this test) on large OSTs, and limits the aggregate speedup of e2fsck to "only" 10x faster despite the other improvements. Processing directories in parallel should also be possible, in order to further speed up e2fsck times on large OSTs, and expecially on large MDT filesystems. |
| Comments |
| Comment by Gerrit Updater [ 30/Jul/21 ] |
|
Wang Shilong (wshilong@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44428 |
| Comment by Andreas Dilger [ 30/Jul/21 ] |
|
The description of this ticket mentions only about parallel loading of directory blocks, but not parallel checking. Is that true of the actual patch? It looked to me like it was also checking the directory blocks in parallel. |
| Comment by Wang Shilong (Inactive) [ 30/Jul/21 ] |
|
This patch only implement parallel loading, parallel checking a bit complex, it touch many global variable. |