== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 17:22:20 (1788470540) llite.lustre-ffff89c1ebab8800.statahead_max=1024 llite.lustre-ffff89c1ebab8800.statahead_batch_max=32 llite.lustre-ffff89c1ebab8800.statahead_min=64 llite.lustre-ffff89c1ebab8800.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.69 seconds: 175.68 ops/second llite.lustre-ffff89c1ebab8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c1ebab8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89c1ebab8800.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: 1788470555.260218838 secs.nsecs start_time: 1788470551.637943636 secs.nsecs elapsed_time: 3.622275202 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 10 12 19 8: 4 4 24 16: 1 1 25 32: 61 74 100 snapshot_time: 1788470555.260280180 secs.nsecs start_time: 1788470551.638101507 secs.nsecs elapsed_time: 3.622178673 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1788470586.059134155 secs.nsecs start_time: 1788470551.637943636 secs.nsecs elapsed_time: 34.421190519 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 2 2 8 4: 10 12 20 8: 4 4 25 16: 1 1 26 32: 61 73 100 snapshot_time: 1788470586.059203624 secs.nsecs start_time: 1788470551.638101507 secs.nsecs elapsed_time: 34.421102117 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.61 seconds: 217.04 ops/second llite.lustre-ffff89c1ebab8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c1ebab8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89c1ebab8800.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: 1788470600.474579888 secs.nsecs start_time: 1788470596.522505403 secs.nsecs elapsed_time: 3.952074485 secs.nsecs subreqs per batch batches %% cum %% 1: 4 5 5 2: 1 1 6 4: 2 2 8 8: 4 5 14 16: 7 8 23 32: 60 76 100 snapshot_time: 1788470600.474646811 secs.nsecs start_time: 1788470596.522593923 secs.nsecs elapsed_time: 3.952052888 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: 1788470631.367124579 secs.nsecs start_time: 1788470596.522505403 secs.nsecs elapsed_time: 34.844619176 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 1 1 7 4: 2 2 10 8: 4 5 15 16: 7 8 24 32: 60 75 100 snapshot_time: 1788470631.367831880 secs.nsecs start_time: 1788470596.522593923 secs.nsecs elapsed_time: 34.845237957 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788470639 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1788470648 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff89c1ebab8800.enable_statahead_fname=1 llite.lustre-ffff89c1ebab8800.statahead_min=8 llite.lustre-ffff89c1ebab8800.statahead_batch_max=64 llite.lustre-ffff89c1ebab8800.statahead_max=128