== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 03:55:36 (1789026936) llite.lustre-ffff9c1c8543b800.statahead_max=1024 llite.lustre-ffff9c1c8543b800.statahead_batch_max=32 llite.lustre-ffff9c1c8543b800.statahead_min=64 llite.lustre-ffff9c1c8543b800.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.13 seconds: 194.99 ops/second llite.lustre-ffff9c1c8543b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c1c8543b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c1c8543b800.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: 1789026951.304684113 secs.nsecs start_time: 1789026947.632724450 secs.nsecs elapsed_time: 3.671959663 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 5 6 9 4: 8 9 19 8: 6 7 26 16: 1 1 27 32: 60 72 100 snapshot_time: 1789026951.304748535 secs.nsecs start_time: 1789026947.632863366 secs.nsecs elapsed_time: 3.671885169 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: 1789026982.537828336 secs.nsecs start_time: 1789026947.632724450 secs.nsecs elapsed_time: 34.905103886 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 5 10 4: 8 9 20 8: 6 7 27 16: 1 1 28 32: 60 71 100 snapshot_time: 1789026982.537898240 secs.nsecs start_time: 1789026947.632863366 secs.nsecs elapsed_time: 34.905034874 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.05 seconds: 198.02 ops/second llite.lustre-ffff9c1c8543b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c1c8543b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c1c8543b800.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: 1789026996.246826576 secs.nsecs start_time: 1789026992.556857759 secs.nsecs elapsed_time: 3.689968817 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 6 11 4: 2 2 13 8: 4 4 18 16: 6 7 25 32: 60 74 100 snapshot_time: 1789026996.246911296 secs.nsecs start_time: 1789026992.556990699 secs.nsecs elapsed_time: 3.689920597 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: 1789027027.472576095 secs.nsecs start_time: 1789026992.556857759 secs.nsecs elapsed_time: 34.915718336 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 5 6 12 4: 2 2 14 8: 4 4 19 16: 6 7 26 32: 60 73 100 snapshot_time: 1789027027.472663766 secs.nsecs start_time: 1789026992.556990699 secs.nsecs elapsed_time: 34.915673067 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789027036 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1789027046 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9c1c8543b800.enable_statahead_fname=1 llite.lustre-ffff9c1c8543b800.statahead_min=8 llite.lustre-ffff9c1c8543b800.statahead_batch_max=64 llite.lustre-ffff9c1c8543b800.statahead_max=128