== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:13:19 (1781827999) llite.lustre-ffff8d41b9040000.statahead_max=1024 llite.lustre-ffff8d41b9040000.statahead_batch_max=32 llite.lustre-ffff8d41b9040000.statahead_min=64 llite.lustre-ffff8d41b9040000.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.61 seconds: 131.43 ops/second llite.lustre-ffff8d41b9040000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d41b9040000.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: 1781828017.125228910 secs.nsecs start_time: 1781828013.169120140 secs.nsecs elapsed_time: 3.956108770 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 4 5 6 4: 5 6 12 8: 8 10 23 16: 0 0 23 32: 60 76 100 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: 1781828047.533239826 secs.nsecs start_time: 1781828013.169120140 secs.nsecs elapsed_time: 34.364119686 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 4 5 7 4: 5 6 13 8: 8 10 24 16: 0 0 24 32: 60 75 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 6.39 seconds: 156.41 ops/second llite.lustre-ffff8d41b9040000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d41b9040000.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: 1781828063.078195431 secs.nsecs start_time: 1781828059.387591332 secs.nsecs elapsed_time: 3.690604099 secs.nsecs subreqs per batch batches %% cum %% 1: 14 14 14 2: 5 5 19 4: 10 10 29 8: 4 4 33 16: 7 7 40 32: 58 59 100 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: 1 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1781828094.345286353 secs.nsecs start_time: 1781828059.387591332 secs.nsecs elapsed_time: 34.957695021 secs.nsecs subreqs per batch batches %% cum %% 1: 15 15 15 2: 5 5 20 4: 10 10 30 8: 4 4 34 16: 7 7 41 32: 58 58 100 - unlinked 0 (time 1781828102 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1781828113 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8d41b9040000.enable_statahead_fname=1 llite.lustre-ffff8d41b9040000.statahead_min=8 llite.lustre-ffff8d41b9040000.statahead_batch_max=64 llite.lustre-ffff8d41b9040000.statahead_max=128