== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 09:47:24 (1790689644) llite.lustre-ffff9b46c54d6800.statahead_max=1024 llite.lustre-ffff9b46c54d6800.statahead_batch_max=32 llite.lustre-ffff9b46c54d6800.statahead_min=64 llite.lustre-ffff9b46c54d6800.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.90 seconds: 112.39 ops/second llite.lustre-ffff9b46c54d6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b46c54d6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b46c54d6800.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: 1790689664.711781063 secs.nsecs start_time: 1790689660.843207749 secs.nsecs elapsed_time: 3.868573314 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 11 4: 15 16 27 8: 5 5 33 16: 0 0 33 32: 60 66 100 snapshot_time: 1790689664.711845013 secs.nsecs start_time: 1790689660.843390534 secs.nsecs elapsed_time: 3.868454479 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 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: 1790689696.168482841 secs.nsecs start_time: 1790689660.843207749 secs.nsecs elapsed_time: 35.325275092 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 4 4 12 4: 15 16 28 8: 5 5 34 16: 0 0 34 32: 60 65 100 snapshot_time: 1790689696.168566389 secs.nsecs start_time: 1790689660.843390534 secs.nsecs elapsed_time: 35.325175855 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 5.44 seconds: 183.88 ops/second llite.lustre-ffff9b46c54d6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b46c54d6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b46c54d6800.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: 1790689711.217463340 secs.nsecs start_time: 1790689707.139499069 secs.nsecs elapsed_time: 4.077964271 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 1 1 10 4: 5 6 17 8: 5 6 23 16: 2 2 25 32: 61 74 100 snapshot_time: 1790689711.217533857 secs.nsecs start_time: 1790689707.139673139 secs.nsecs elapsed_time: 4.077860718 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: 994 miss_total: 1 snapshot_time: 1790689742.184312451 secs.nsecs start_time: 1790689707.139499069 secs.nsecs elapsed_time: 35.044813382 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 1 1 12 4: 5 6 18 8: 5 6 24 16: 2 2 26 32: 61 73 100 snapshot_time: 1790689742.184428727 secs.nsecs start_time: 1790689707.139673139 secs.nsecs elapsed_time: 35.044755588 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790689751 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1790689761 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9b46c54d6800.enable_statahead_fname=1 llite.lustre-ffff9b46c54d6800.statahead_min=8 llite.lustre-ffff9b46c54d6800.statahead_batch_max=64 llite.lustre-ffff9b46c54d6800.statahead_max=128