== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:31:56 (1789137116) llite.lustre-ffff996ea972e800.statahead_max=1024 llite.lustre-ffff996ea972e800.statahead_batch_max=32 llite.lustre-ffff996ea972e800.statahead_min=64 llite.lustre-ffff996ea972e800.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.22 seconds: 160.78 ops/second llite.lustre-ffff996ea972e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff996ea972e800.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: 1789137131.193938414 secs.nsecs start_time: 1789137127.576316203 secs.nsecs elapsed_time: 3.617622211 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 6 7 8 4: 8 9 18 8: 4 4 23 16: 3 3 26 32: 60 73 100 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: 993 miss_total: 2 snapshot_time: 1789137162.017653652 secs.nsecs start_time: 1789137127.576316203 secs.nsecs elapsed_time: 34.441337449 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 6 7 9 4: 8 9 19 8: 4 4 24 16: 3 3 27 32: 60 72 100 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.29 seconds: 158.94 ops/second llite.lustre-ffff996ea972e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff996ea972e800.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: 1789137176.841375606 secs.nsecs start_time: 1789137173.476551585 secs.nsecs elapsed_time: 3.364824021 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 6 6 17 4: 4 4 21 8: 8 8 30 16: 5 5 35 32: 59 64 100 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: 995 miss_total: 0 snapshot_time: 1789137207.755293998 secs.nsecs start_time: 1789137173.476551585 secs.nsecs elapsed_time: 34.278742413 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 6 6 18 4: 4 4 22 8: 8 8 31 16: 5 5 36 32: 59 63 100 - unlinked 0 (time 1789137214 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1789137223 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff996ea972e800.enable_statahead_fname=1 llite.lustre-ffff996ea972e800.statahead_min=8 llite.lustre-ffff996ea972e800.statahead_batch_max=64 llite.lustre-ffff996ea972e800.statahead_max=128