== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 17:32:46 (1789075966) llite.lustre-ffff8c1d59179000.statahead_max=1024 llite.lustre-ffff8c1d59179000.statahead_batch_max=32 llite.lustre-ffff8c1d59179000.statahead_min=64 llite.lustre-ffff8c1d59179000.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.87 seconds: 112.73 ops/second llite.lustre-ffff8c1d59179000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1d59179000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c1d59179000.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: 1789075985.555881249 secs.nsecs start_time: 1789075981.910254996 secs.nsecs elapsed_time: 3.645626253 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 6 7 15 8: 2 2 17 16: 4 5 23 32: 60 76 100 snapshot_time: 1789075985.555931040 secs.nsecs start_time: 1789075981.910355431 secs.nsecs elapsed_time: 3.645575609 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: 1789076015.795327908 secs.nsecs start_time: 1789075981.910254996 secs.nsecs elapsed_time: 33.885072912 secs.nsecs subreqs per batch batches %% cum %% 1: 4 5 5 2: 3 3 8 4: 6 7 16 8: 2 2 18 16: 4 5 24 32: 60 75 100 snapshot_time: 1789076015.795389849 secs.nsecs start_time: 1789075981.910355431 secs.nsecs elapsed_time: 33.885034418 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.34 seconds: 136.25 ops/second llite.lustre-ffff8c1d59179000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1d59179000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c1d59179000.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: 1789076032.316050764 secs.nsecs start_time: 1789076028.859659413 secs.nsecs elapsed_time: 3.456391351 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 4 4: 2 2 6 8: 2 2 9 16: 3 4 13 32: 62 86 100 snapshot_time: 1789076032.316120152 secs.nsecs start_time: 1789076028.859770482 secs.nsecs elapsed_time: 3.456349670 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: 1789076064.124490010 secs.nsecs start_time: 1789076028.859659413 secs.nsecs elapsed_time: 35.264830597 secs.nsecs subreqs per batch batches %% cum %% 1: 3 4 4 2: 1 1 5 4: 2 2 8 8: 2 2 10 16: 3 4 15 32: 62 84 100 snapshot_time: 1789076064.124578571 secs.nsecs start_time: 1789076028.859770482 secs.nsecs elapsed_time: 35.264808089 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789076075 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1789076087 ; total 0 ; last 0) total: 1000 unlinks in 14 seconds: 71.428574 unlinks/second llite.lustre-ffff8c1d59179000.enable_statahead_fname=1 llite.lustre-ffff8c1d59179000.statahead_min=8 llite.lustre-ffff8c1d59179000.statahead_batch_max=64 llite.lustre-ffff8c1d59179000.statahead_max=128