== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:01:21 (1787875281) llite.lustre-ffff93b1515f7800.statahead_max=1024 llite.lustre-ffff93b1515f7800.statahead_batch_max=32 llite.lustre-ffff93b1515f7800.statahead_min=64 llite.lustre-ffff93b1515f7800.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 5.12 seconds: 195.13 ops/second llite.lustre-ffff93b1515f7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93b1515f7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93b1515f7800.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: 1787875305.846398752 secs.nsecs start_time: 1787875299.299466723 secs.nsecs elapsed_time: 6.546932029 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 0 0 6 4: 8 10 16 8: 3 3 20 16: 1 1 21 32: 62 78 100 snapshot_time: 1787875305.846478128 secs.nsecs start_time: 1787875299.299546260 secs.nsecs elapsed_time: 6.546931868 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: 1787875336.627196502 secs.nsecs start_time: 1787875299.299466723 secs.nsecs elapsed_time: 37.327729779 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 0 0 7 4: 8 10 17 8: 3 3 21 16: 1 1 22 32: 62 77 100 snapshot_time: 1787875336.634651940 secs.nsecs start_time: 1787875299.299546260 secs.nsecs elapsed_time: 37.335105680 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 6.51 seconds: 153.60 ops/second llite.lustre-ffff93b1515f7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93b1515f7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93b1515f7800.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: 1787875353.139840680 secs.nsecs start_time: 1787875349.445836515 secs.nsecs elapsed_time: 3.694004165 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 0 0 7 4: 3 3 11 8: 8 10 21 16: 4 5 26 32: 59 73 100 snapshot_time: 1787875353.139941899 secs.nsecs start_time: 1787875349.445926878 secs.nsecs elapsed_time: 3.694015021 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1787875384.317611315 secs.nsecs start_time: 1787875349.445836515 secs.nsecs elapsed_time: 34.871774800 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 0 0 8 4: 3 3 12 8: 8 9 22 16: 4 4 27 32: 59 72 100 snapshot_time: 1787875384.317669124 secs.nsecs start_time: 1787875349.445926878 secs.nsecs elapsed_time: 34.871742246 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787875392 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787875401 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff93b1515f7800.enable_statahead_fname=1 llite.lustre-ffff93b1515f7800.statahead_min=8 llite.lustre-ffff93b1515f7800.statahead_batch_max=64 llite.lustre-ffff93b1515f7800.statahead_max=128