== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:19:33 (1788754773) llite.lustre-ffff89290b416800.statahead_max=1024 llite.lustre-ffff89290b416800.statahead_batch_max=32 llite.lustre-ffff89290b416800.statahead_min=64 llite.lustre-ffff89290b416800.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.50 seconds: 153.87 ops/second llite.lustre-ffff89290b416800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89290b416800.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: 1788754791.596891050 secs.nsecs start_time: 1788754786.558756523 secs.nsecs elapsed_time: 5.038134527 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 9 10 15 4: 6 7 22 8: 3 3 26 16: 0 0 26 32: 61 73 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s 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: 1788754822.942369786 secs.nsecs start_time: 1788754786.558756523 secs.nsecs elapsed_time: 36.383613263 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 9 10 16 4: 6 7 23 8: 3 3 27 16: 0 0 27 32: 61 72 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 6.56 seconds: 152.43 ops/second llite.lustre-ffff89290b416800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89290b416800.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: 1788754839.608190639 secs.nsecs start_time: 1788754835.139615499 secs.nsecs elapsed_time: 4.468575140 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 3 3 7 8: 10 12 20 16: 6 7 27 32: 58 72 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1788754870.239329465 secs.nsecs start_time: 1788754835.139615499 secs.nsecs elapsed_time: 35.099713966 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 0 0 4 4: 3 3 8 8: 10 12 20 16: 6 7 28 32: 58 71 100 - unlinked 0 (time 1788754884 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second - unlinked 0 (time 1788754900 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff89290b416800.enable_statahead_fname=1 llite.lustre-ffff89290b416800.statahead_min=8 llite.lustre-ffff89290b416800.statahead_batch_max=64 llite.lustre-ffff89290b416800.statahead_max=128