== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:41:58 (1783568518) llite.lustre-ffff9ac2cf98f800.statahead_max=1024 llite.lustre-ffff9ac2cf98f800.statahead_batch_max=32 llite.lustre-ffff9ac2cf98f800.statahead_min=64 llite.lustre-ffff9ac2cf98f800.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 1.06 seconds: 946.35 ops/second llite.lustre-ffff9ac2cf98f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ac2cf98f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ac2cf98f800.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: 1783568522.944904030 secs.nsecs start_time: 1783568520.951687339 secs.nsecs elapsed_time: 1.993216691 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 5 4: 19 22 28 8: 1 1 29 16: 0 0 29 32: 60 70 100 snapshot_time: 1783568522.944953908 secs.nsecs start_time: 1783568520.951741036 secs.nsecs elapsed_time: 1.993212872 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: 1783568554.075648783 secs.nsecs start_time: 1783568520.951687339 secs.nsecs elapsed_time: 33.123961444 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 6 4: 19 22 29 8: 1 1 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1783568554.075689435 secs.nsecs start_time: 1783568520.951741036 secs.nsecs elapsed_time: 33.123948399 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 0.99 seconds: 1010.67 ops/second llite.lustre-ffff9ac2cf98f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ac2cf98f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ac2cf98f800.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: 1783568558.829575505 secs.nsecs start_time: 1783568556.622748523 secs.nsecs elapsed_time: 2.206826982 secs.nsecs subreqs per batch batches %% cum %% 1: 20 20 20 2: 0 0 20 4: 2 2 22 8: 7 7 30 16: 10 10 40 32: 57 59 100 snapshot_time: 1783568558.829614737 secs.nsecs start_time: 1783568556.622819013 secs.nsecs elapsed_time: 2.206795724 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: 1783568588.974306588 secs.nsecs start_time: 1783568556.622748523 secs.nsecs elapsed_time: 32.351558065 secs.nsecs subreqs per batch batches %% cum %% 1: 21 21 21 2: 0 0 21 4: 2 2 23 8: 7 7 30 16: 10 10 41 32: 57 58 100 snapshot_time: 1783568588.974352462 secs.nsecs start_time: 1783568556.622819013 secs.nsecs elapsed_time: 32.351533449 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1783568591 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1783568593 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9ac2cf98f800.enable_statahead_fname=1 llite.lustre-ffff9ac2cf98f800.statahead_min=8 llite.lustre-ffff9ac2cf98f800.statahead_batch_max=64 llite.lustre-ffff9ac2cf98f800.statahead_max=128