== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 01:21:17 (1787894477) llite.lustre-ffffa0303e09f800.statahead_max=1024 llite.lustre-ffffa0303e09f800.statahead_batch_max=32 llite.lustre-ffffa0303e09f800.statahead_min=64 llite.lustre-ffffa0303e09f800.enable_statahead_fname=1 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity.%06d 1000 - ls /mnt/lustre/d123i.sanity/* > /dev/null total: 1000 create in 7.62 seconds: 131.29 ops/second llite.lustre-ffffa0303e09f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0303e09f800.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1787894495.511562034 secs.nsecs start_time: 1787894491.272366085 secs.nsecs elapsed_time: 4.239195949 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 2 2 12 4: 4 4 17 8: 7 8 25 16: 1 1 26 32: 60 73 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787894526.816647804 secs.nsecs start_time: 1787894491.272366085 secs.nsecs elapsed_time: 35.544281719 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 2 2 13 4: 4 4 18 8: 7 8 26 16: 1 1 27 32: 60 72 100 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity 1000 - aheadmany -c stat -N -s 0 -e 1000 -b f123i.sanity -d /mnt/lustre/d123i.sanity total: 1000 create in 7.01 seconds: 142.74 ops/second llite.lustre-ffffa0303e09f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0303e09f800.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1787894542.885624396 secs.nsecs start_time: 1787894539.181456091 secs.nsecs elapsed_time: 3.704168305 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 5 4: 11 13 19 8: 6 7 26 16: 3 3 29 32: 59 70 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787894574.004942560 secs.nsecs start_time: 1787894539.181456091 secs.nsecs elapsed_time: 34.823486469 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 1 1 7 4: 11 12 20 8: 6 7 27 16: 3 3 30 32: 59 69 100 - unlinked 0 (time 1787894582 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787894593 ; total 0 ; last 0) total: 1000 unlinks in 15 seconds: 66.666664 unlinks/second llite.lustre-ffffa0303e09f800.enable_statahead_fname=1 llite.lustre-ffffa0303e09f800.statahead_min=8 llite.lustre-ffffa0303e09f800.statahead_batch_max=64 llite.lustre-ffffa0303e09f800.statahead_max=128