== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:03:03 (1787475783) llite.lustre-ffff9c78d1e39000.statahead_max=1024 llite.lustre-ffff9c78d1e39000.statahead_batch_max=32 llite.lustre-ffff9c78d1e39000.statahead_min=64 llite.lustre-ffff9c78d1e39000.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 8.49 seconds: 117.76 ops/second llite.lustre-ffff9c78d1e39000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c78d1e39000.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: 1787475802.327949694 secs.nsecs start_time: 1787475798.679917560 secs.nsecs elapsed_time: 3.648032134 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 3 3 13 4: 10 11 25 8: 5 5 30 16: 1 1 31 32: 60 68 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787475833.600711458 secs.nsecs start_time: 1787475798.679917560 secs.nsecs elapsed_time: 34.920793898 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 3 3 14 4: 10 11 25 8: 5 5 31 16: 1 1 32 32: 60 67 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 5.99 seconds: 166.94 ops/second llite.lustre-ffff9c78d1e39000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c78d1e39000.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: 1787475847.609827878 secs.nsecs start_time: 1787475844.210270817 secs.nsecs elapsed_time: 3.399557061 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 4 4 10 4: 9 10 20 8: 7 7 27 16: 7 7 35 32: 58 64 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787475877.988173848 secs.nsecs start_time: 1787475844.210270817 secs.nsecs elapsed_time: 33.777903031 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 10 4: 9 9 20 8: 7 7 28 16: 7 7 36 32: 58 63 100 - unlinked 0 (time 1787475884 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787475894 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff9c78d1e39000.enable_statahead_fname=1 llite.lustre-ffff9c78d1e39000.statahead_min=8 llite.lustre-ffff9c78d1e39000.statahead_batch_max=64 llite.lustre-ffff9c78d1e39000.statahead_max=128