== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 04:56:04 (1711097764) llite.lustre-ffff8800b7b3e000.statahead_max=1024 llite.lustre-ffff8800b7b3e000.statahead_batch_max=32 llite.lustre-ffff8800b7b3e000.statahead_min=64 llite.lustre-ffff8800b7b3e000.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 2.58 seconds: 388.21 ops/second llite.lustre-ffff8800b7b3e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b7b3e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b7b3e000.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: 1711097771.100352925 secs.nsecs start_time: 1711097769.321042671 secs.nsecs elapsed_time: 1.779310254 secs.nsecs subreqs per batch batches % cum % 1: 6 7 7 2: 2 2 10 4: 2 2 12 8: 4 5 18 16: 2 2 20 32: 61 79 100 snapshot_time: 1711097771.100525251 secs.nsecs start_time: 1711097769.321812790 secs.nsecs elapsed_time: 1.778712461 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: 994 miss_total: 2 snapshot_time: 1711097801.261206395 secs.nsecs start_time: 1711097769.321042671 secs.nsecs elapsed_time: 31.940163724 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 2 2 11 4: 2 2 14 8: 4 5 19 16: 2 2 21 32: 61 78 100 snapshot_time: 1711097801.261367974 secs.nsecs start_time: 1711097769.321812790 secs.nsecs elapsed_time: 31.939555184 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 3.28 seconds: 304.89 ops/second llite.lustre-ffff8800b7b3e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b7b3e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b7b3e000.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: 1711097807.474083725 secs.nsecs start_time: 1711097806.360813383 secs.nsecs elapsed_time: 1.113270342 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 1 1 1 8: 1 1 3 16: 1 1 5 32: 54 94 100 snapshot_time: 1711097807.474661414 secs.nsecs start_time: 1711097806.360932161 secs.nsecs elapsed_time: 1.113729253 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: 995 miss_total: 0 snapshot_time: 1711097838.596427832 secs.nsecs start_time: 1711097806.360813383 secs.nsecs elapsed_time: 32.235614449 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 0 0 1 4: 1 1 2 8: 1 1 4 16: 1 1 5 32: 63 94 100 snapshot_time: 1711097838.596604506 secs.nsecs start_time: 1711097806.360932161 secs.nsecs elapsed_time: 32.235672345 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1711097841 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1711097845 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second llite.lustre-ffff8800b7b3e000.enable_statahead_fname=0 llite.lustre-ffff8800b7b3e000.statahead_min=8 llite.lustre-ffff8800b7b3e000.statahead_batch_max=64 llite.lustre-ffff8800b7b3e000.statahead_max=128