== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:30:04 (1746073804) llite.lustre-ffff88009599d000.statahead_max=1024 llite.lustre-ffff88009599d000.statahead_batch_max=32 llite.lustre-ffff88009599d000.statahead_min=64 llite.lustre-ffff88009599d000.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 3.86 seconds: 259.22 ops/second llite.lustre-ffff88009599d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88009599d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88009599d000.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: 1746073814.793056165 secs.nsecs start_time: 1746073812.072412532 secs.nsecs elapsed_time: 2.720643633 secs.nsecs subreqs per batch batches % cum % 1: 7 7 7 2: 4 4 12 4: 9 10 22 8: 4 4 27 16: 5 5 32 32: 59 67 100 snapshot_time: 1746073814.793918097 secs.nsecs start_time: 1746073812.072477242 secs.nsecs elapsed_time: 2.721440855 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: 2 snapshot_time: 1746073845.515077367 secs.nsecs start_time: 1746073812.072412532 secs.nsecs elapsed_time: 33.442664835 secs.nsecs subreqs per batch batches % cum % 1: 8 8 8 2: 4 4 13 4: 9 10 23 8: 4 4 28 16: 5 5 33 32: 59 66 100 snapshot_time: 1746073845.518145862 secs.nsecs start_time: 1746073812.072477242 secs.nsecs elapsed_time: 33.445668620 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.12 seconds: 242.63 ops/second llite.lustre-ffff88009599d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88009599d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88009599d000.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: 1746073854.724372673 secs.nsecs start_time: 1746073853.045705467 secs.nsecs elapsed_time: 1.678667206 secs.nsecs subreqs per batch batches % cum % 1: 5 6 6 2: 2 2 8 4: 3 3 12 8: 7 8 20 16: 5 6 26 32: 60 73 100 snapshot_time: 1746073854.724687327 secs.nsecs start_time: 1746073853.054234799 secs.nsecs elapsed_time: 1.670452528 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: 995 miss_total: 0 snapshot_time: 1746073885.135011113 secs.nsecs start_time: 1746073853.045705467 secs.nsecs elapsed_time: 32.089305646 secs.nsecs subreqs per batch batches % cum % 1: 6 7 7 2: 2 2 9 4: 3 3 13 8: 7 8 21 16: 5 6 27 32: 60 72 100 snapshot_time: 1746073885.135266949 secs.nsecs start_time: 1746073853.054234799 secs.nsecs elapsed_time: 32.081032150 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1746073889 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1746073896 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff88009599d000.enable_statahead_fname=1 llite.lustre-ffff88009599d000.statahead_min=8 llite.lustre-ffff88009599d000.statahead_batch_max=64 llite.lustre-ffff88009599d000.statahead_max=128