== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 15:46:28 (1787859988) llite.lustre-ffff9979129e6000.statahead_max=1024 llite.lustre-ffff9979129e6000.statahead_batch_max=32 llite.lustre-ffff9979129e6000.statahead_min=64 llite.lustre-ffff9979129e6000.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.08 seconds: 164.35 ops/second llite.lustre-ffff9979129e6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9979129e6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9979129e6000.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: 1787860009.107981424 secs.nsecs start_time: 1787860003.000661241 secs.nsecs elapsed_time: 6.107320183 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 14 4: 11 12 26 8: 3 3 30 16: 2 2 32 32: 60 67 100 snapshot_time: 1787860009.108051747 secs.nsecs start_time: 1787860003.000767508 secs.nsecs elapsed_time: 6.107284239 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: 1787860040.463874459 secs.nsecs start_time: 1787860003.000661241 secs.nsecs elapsed_time: 37.463213218 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 5 5 15 4: 11 12 27 8: 3 3 31 16: 2 2 33 32: 60 66 100 snapshot_time: 1787860040.463944273 secs.nsecs start_time: 1787860003.000767508 secs.nsecs elapsed_time: 37.463176765 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 7.63 seconds: 131.07 ops/second llite.lustre-ffff9979129e6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9979129e6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9979129e6000.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: 1787860060.091591011 secs.nsecs start_time: 1787860055.235688620 secs.nsecs elapsed_time: 4.855902391 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 7 8 15 8: 6 7 22 16: 6 7 29 32: 59 70 100 snapshot_time: 1787860060.091717444 secs.nsecs start_time: 1787860055.235857390 secs.nsecs elapsed_time: 4.855860054 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: 993 miss_total: 2 snapshot_time: 1787860091.263080419 secs.nsecs start_time: 1787860055.235688620 secs.nsecs elapsed_time: 36.027391799 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 2 2 8 4: 7 8 16 8: 6 7 23 16: 6 7 30 32: 59 69 100 snapshot_time: 1787860091.263173675 secs.nsecs start_time: 1787860055.235857390 secs.nsecs elapsed_time: 36.027316285 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787860100 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1787860111 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9979129e6000.enable_statahead_fname=1 llite.lustre-ffff9979129e6000.statahead_min=8 llite.lustre-ffff9979129e6000.statahead_batch_max=64 llite.lustre-ffff9979129e6000.statahead_max=128