== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:00:04 (1789084804) llite.lustre-ffff98017b0a8800.statahead_max=1024 llite.lustre-ffff98017b0a8800.statahead_batch_max=32 llite.lustre-ffff98017b0a8800.statahead_min=64 llite.lustre-ffff98017b0a8800.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 6.01 seconds: 166.38 ops/second llite.lustre-ffff98017b0a8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98017b0a8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98017b0a8800.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: 1789084819.976484436 secs.nsecs start_time: 1789084816.236608156 secs.nsecs elapsed_time: 3.739876280 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 6 7 8 4: 7 8 16 8: 6 7 23 16: 5 5 29 32: 59 70 100 snapshot_time: 1789084819.976552622 secs.nsecs start_time: 1789084816.238278634 secs.nsecs elapsed_time: 3.738273988 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789084851.288040123 secs.nsecs start_time: 1789084816.236608156 secs.nsecs elapsed_time: 35.051431967 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 6 7 9 4: 7 8 17 8: 6 7 24 16: 5 5 30 32: 59 69 100 snapshot_time: 1789084851.288134479 secs.nsecs start_time: 1789084816.238278634 secs.nsecs elapsed_time: 35.049855845 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.12 seconds: 163.50 ops/second llite.lustre-ffff98017b0a8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98017b0a8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98017b0a8800.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: 1789084867.455203189 secs.nsecs start_time: 1789084863.452029586 secs.nsecs elapsed_time: 4.003173603 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 7 8 19 8: 9 10 29 16: 2 2 32 32: 59 67 100 snapshot_time: 1789084867.455268619 secs.nsecs start_time: 1789084863.455366782 secs.nsecs elapsed_time: 3.999901837 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1789084897.906488780 secs.nsecs start_time: 1789084863.452029586 secs.nsecs elapsed_time: 34.454459194 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 5 5 12 4: 7 7 20 8: 9 10 30 16: 2 2 32 32: 59 67 100 snapshot_time: 1789084897.906717630 secs.nsecs start_time: 1789084863.455366782 secs.nsecs elapsed_time: 34.451350848 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789084907 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1789084916 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff98017b0a8800.enable_statahead_fname=1 llite.lustre-ffff98017b0a8800.statahead_min=8 llite.lustre-ffff98017b0a8800.statahead_batch_max=64 llite.lustre-ffff98017b0a8800.statahead_max=128