== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 06:07:06 (1789553226) llite.lustre-ffff909951b7d800.statahead_max=1024 llite.lustre-ffff909951b7d800.statahead_batch_max=32 llite.lustre-ffff909951b7d800.statahead_min=64 llite.lustre-ffff909951b7d800.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 5.89 seconds: 169.90 ops/second llite.lustre-ffff909951b7d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff909951b7d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff909951b7d800.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: 1789553240.821740747 secs.nsecs start_time: 1789553237.096983216 secs.nsecs elapsed_time: 3.724757531 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 1 1 6 4: 15 17 24 8: 3 3 27 16: 3 3 31 32: 60 68 100 snapshot_time: 1789553240.821878471 secs.nsecs start_time: 1789553237.097111422 secs.nsecs elapsed_time: 3.724767049 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: 1789553271.441903485 secs.nsecs start_time: 1789553237.096983216 secs.nsecs elapsed_time: 34.344920269 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 1 1 7 4: 15 17 25 8: 3 3 28 16: 3 3 31 32: 60 68 100 snapshot_time: 1789553271.441971611 secs.nsecs start_time: 1789553237.097111422 secs.nsecs elapsed_time: 34.344860189 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 4.96 seconds: 201.64 ops/second llite.lustre-ffff909951b7d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff909951b7d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff909951b7d800.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: 1789553283.217275610 secs.nsecs start_time: 1789553280.200152476 secs.nsecs elapsed_time: 3.017123134 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 2 2 11 4: 8 8 20 8: 10 11 31 16: 3 3 34 32: 59 65 100 snapshot_time: 1789553283.217338777 secs.nsecs start_time: 1789553280.200293061 secs.nsecs elapsed_time: 3.017045716 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: 1789553314.427783913 secs.nsecs start_time: 1789553280.200152476 secs.nsecs elapsed_time: 34.227631437 secs.nsecs subreqs per batch batches %% cum %% 1: 9 9 9 2: 2 2 12 4: 8 8 20 8: 10 10 31 16: 3 3 35 32: 59 64 100 snapshot_time: 1789553314.428080936 secs.nsecs start_time: 1789553280.200293061 secs.nsecs elapsed_time: 34.227787875 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789553320 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1789553329 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff909951b7d800.enable_statahead_fname=1 llite.lustre-ffff909951b7d800.statahead_min=8 llite.lustre-ffff909951b7d800.statahead_batch_max=64 llite.lustre-ffff909951b7d800.statahead_max=128