== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 09:45:18 (1787838318) llite.lustre-ffff8fed53ecb800.statahead_max=1024 llite.lustre-ffff8fed53ecb800.statahead_batch_max=32 llite.lustre-ffff8fed53ecb800.statahead_min=64 llite.lustre-ffff8fed53ecb800.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 8.63 seconds: 115.91 ops/second llite.lustre-ffff8fed53ecb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fed53ecb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fed53ecb800.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: 1787838337.443337430 secs.nsecs start_time: 1787838332.852181844 secs.nsecs elapsed_time: 4.591155586 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 14 4: 12 13 27 8: 4 4 32 16: 1 1 33 32: 60 66 100 snapshot_time: 1787838337.443401975 secs.nsecs start_time: 1787838332.852446731 secs.nsecs elapsed_time: 4.590955244 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1787838368.578212571 secs.nsecs start_time: 1787838332.852181844 secs.nsecs elapsed_time: 35.726030727 secs.nsecs subreqs per batch batches %% cum %% 1: 9 9 9 2: 5 5 15 4: 12 13 28 8: 4 4 32 16: 1 1 34 32: 60 65 100 snapshot_time: 1787838368.578280462 secs.nsecs start_time: 1787838332.852446731 secs.nsecs elapsed_time: 35.725833731 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 7.06 seconds: 141.61 ops/second llite.lustre-ffff8fed53ecb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fed53ecb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fed53ecb800.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: 1787838384.866296695 secs.nsecs start_time: 1787838381.025163241 secs.nsecs elapsed_time: 3.841133454 secs.nsecs subreqs per batch batches %% cum %% 1: 4 5 5 2: 0 0 5 4: 6 7 12 8: 3 3 16 16: 5 6 22 32: 62 77 100 snapshot_time: 1787838384.866369479 secs.nsecs start_time: 1787838381.025314935 secs.nsecs elapsed_time: 3.841054544 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: 1787838415.517845083 secs.nsecs start_time: 1787838381.025163241 secs.nsecs elapsed_time: 34.492681842 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 0 0 6 4: 6 7 13 8: 3 3 17 16: 5 6 23 32: 62 76 100 snapshot_time: 1787838415.517914692 secs.nsecs start_time: 1787838381.025314935 secs.nsecs elapsed_time: 34.492599757 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787838423 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787838433 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8fed53ecb800.enable_statahead_fname=1 llite.lustre-ffff8fed53ecb800.statahead_min=8 llite.lustre-ffff8fed53ecb800.statahead_batch_max=64 llite.lustre-ffff8fed53ecb800.statahead_max=128