== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:54:58 (1790794498) llite.lustre-ffff9f725049a800.statahead_max=1024 llite.lustre-ffff9f725049a800.statahead_batch_max=32 llite.lustre-ffff9f725049a800.statahead_min=64 llite.lustre-ffff9f725049a800.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.28 seconds: 159.33 ops/second llite.lustre-ffff9f725049a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f725049a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f725049a800.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: 1790794514.809101513 secs.nsecs start_time: 1790794510.148786723 secs.nsecs elapsed_time: 4.660314790 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 3 3 9 4: 6 7 17 8: 5 6 23 16: 4 4 28 32: 59 71 100 snapshot_time: 1790794514.809170340 secs.nsecs start_time: 1790794510.148917881 secs.nsecs elapsed_time: 4.660252459 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: 1790794545.615065152 secs.nsecs start_time: 1790794510.148786723 secs.nsecs elapsed_time: 35.466278429 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 3 3 10 4: 6 7 18 8: 5 6 24 16: 4 4 28 32: 59 71 100 snapshot_time: 1790794545.615317778 secs.nsecs start_time: 1790794510.148917881 secs.nsecs elapsed_time: 35.466399897 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 5.65 seconds: 177.01 ops/second llite.lustre-ffff9f725049a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f725049a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f725049a800.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: 1790794558.983393266 secs.nsecs start_time: 1790794555.168756813 secs.nsecs elapsed_time: 3.814636453 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 4 5 7 8: 4 5 13 16: 5 6 19 32: 61 80 100 snapshot_time: 1790794558.983500810 secs.nsecs start_time: 1790794555.168823657 secs.nsecs elapsed_time: 3.814677153 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: 1 snapshot_time: 1790794589.389343749 secs.nsecs start_time: 1790794555.168756813 secs.nsecs elapsed_time: 34.220586936 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 4 5 9 8: 4 5 14 16: 5 6 20 32: 61 79 100 snapshot_time: 1790794589.389404910 secs.nsecs start_time: 1790794555.168823657 secs.nsecs elapsed_time: 34.220581253 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790794598 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second - unlinked 0 (time 1790794611 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9f725049a800.enable_statahead_fname=1 llite.lustre-ffff9f725049a800.statahead_min=8 llite.lustre-ffff9f725049a800.statahead_batch_max=64 llite.lustre-ffff9f725049a800.statahead_max=128