== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:59:37 (1777427977) llite.lustre-ffff99e4d8180800.statahead_max=1024 llite.lustre-ffff99e4d8180800.statahead_batch_max=32 llite.lustre-ffff99e4d8180800.statahead_min=64 llite.lustre-ffff99e4d8180800.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.05 seconds: 953.12 ops/second llite.lustre-ffff99e4d8180800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99e4d8180800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99e4d8180800.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: 1777427983.971217652 secs.nsecs start_time: 1777427981.688869059 secs.nsecs elapsed_time: 2.282348593 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 1 1 2 4: 18 21 23 8: 3 3 27 16: 1 1 28 32: 60 71 100 snapshot_time: 1777427983.971354881 secs.nsecs start_time: 1777427981.688959259 secs.nsecs elapsed_time: 2.282395622 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1777428014.310215111 secs.nsecs start_time: 1777427981.688869059 secs.nsecs elapsed_time: 32.621346052 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 1 1 3 4: 18 21 24 8: 3 3 28 16: 1 1 29 32: 60 70 100 snapshot_time: 1777428014.310257760 secs.nsecs start_time: 1777427981.688959259 secs.nsecs elapsed_time: 32.621298501 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 1.20 seconds: 832.42 ops/second llite.lustre-ffff99e4d8180800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99e4d8180800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99e4d8180800.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: 1777428019.284694359 secs.nsecs start_time: 1777428017.205179884 secs.nsecs elapsed_time: 2.079514475 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 2 2 7 4: 4 4 11 8: 13 15 27 16: 2 2 29 32: 59 70 100 snapshot_time: 1777428019.284759626 secs.nsecs start_time: 1777428017.205232416 secs.nsecs elapsed_time: 2.079527210 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: 1777428049.817800490 secs.nsecs start_time: 1777428017.205179884 secs.nsecs elapsed_time: 32.612620606 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 2 2 8 4: 4 4 12 8: 13 15 28 16: 2 2 30 32: 59 69 100 snapshot_time: 1777428049.817921310 secs.nsecs start_time: 1777428017.205232416 secs.nsecs elapsed_time: 32.612688894 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1777428053 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1777428056 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff99e4d8180800.enable_statahead_fname=1 llite.lustre-ffff99e4d8180800.statahead_min=8 llite.lustre-ffff99e4d8180800.statahead_batch_max=64 llite.lustre-ffff99e4d8180800.statahead_max=128