== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:17:47 (1784240267) llite.lustre-ffff9fcf8864c000.statahead_max=1024 llite.lustre-ffff9fcf8864c000.statahead_batch_max=32 llite.lustre-ffff9fcf8864c000.statahead_min=64 llite.lustre-ffff9fcf8864c000.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 5.72 seconds: 174.79 ops/second llite.lustre-ffff9fcf8864c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fcf8864c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fcf8864c000.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: 1784240284.343964008 secs.nsecs start_time: 1784240279.289965705 secs.nsecs elapsed_time: 5.053998303 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 10 12 18 8: 6 7 25 16: 1 1 26 32: 60 73 100 snapshot_time: 1784240284.344031312 secs.nsecs start_time: 1784240279.290055399 secs.nsecs elapsed_time: 5.053975913 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1784240314.895597749 secs.nsecs start_time: 1784240279.289965705 secs.nsecs elapsed_time: 35.605632044 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 10 12 19 8: 6 7 26 16: 1 1 27 32: 60 72 100 snapshot_time: 1784240314.895677986 secs.nsecs start_time: 1784240279.290055399 secs.nsecs elapsed_time: 35.605622587 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 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 6.11 seconds: 163.67 ops/second llite.lustre-ffff9fcf8864c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fcf8864c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fcf8864c000.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: 1784240329.573939503 secs.nsecs start_time: 1784240326.351923196 secs.nsecs elapsed_time: 3.222016307 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 4 4 10 4: 6 6 17 8: 12 13 30 16: 2 2 32 32: 59 67 100 snapshot_time: 1784240329.574010115 secs.nsecs start_time: 1784240326.352073128 secs.nsecs elapsed_time: 3.221936987 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 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: 1784240361.305743538 secs.nsecs start_time: 1784240326.351923196 secs.nsecs elapsed_time: 34.953820342 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 11 4: 6 6 17 8: 12 13 31 16: 2 2 33 32: 59 66 100 snapshot_time: 1784240361.305978289 secs.nsecs start_time: 1784240326.352073128 secs.nsecs elapsed_time: 34.953905161 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1784240370 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1784240379 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff9fcf8864c000.enable_statahead_fname=1 llite.lustre-ffff9fcf8864c000.statahead_min=8 llite.lustre-ffff9fcf8864c000.statahead_batch_max=64 llite.lustre-ffff9fcf8864c000.statahead_max=128