== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:06:59 (1787152019) llite.lustre-ffff928cdcc71800.statahead_max=1024 llite.lustre-ffff928cdcc71800.statahead_batch_max=32 llite.lustre-ffff928cdcc71800.statahead_min=64 llite.lustre-ffff928cdcc71800.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.60 seconds: 178.62 ops/second llite.lustre-ffff928cdcc71800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff928cdcc71800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff928cdcc71800.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: 1787152037.404955783 secs.nsecs start_time: 1787152031.355606979 secs.nsecs elapsed_time: 6.049348804 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 12 14 21 8: 5 5 27 16: 2 2 29 32: 59 70 100 snapshot_time: 1787152037.405288568 secs.nsecs start_time: 1787152031.355735404 secs.nsecs elapsed_time: 6.049553164 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: 1787152068.191325910 secs.nsecs start_time: 1787152031.355606979 secs.nsecs elapsed_time: 36.835718931 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 12 14 22 8: 5 5 28 16: 2 2 30 32: 59 69 100 snapshot_time: 1787152068.191404330 secs.nsecs start_time: 1787152031.355735404 secs.nsecs elapsed_time: 36.835668926 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 3.03 seconds: 330.21 ops/second llite.lustre-ffff928cdcc71800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff928cdcc71800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff928cdcc71800.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: 1787152079.394665521 secs.nsecs start_time: 1787152076.404654068 secs.nsecs elapsed_time: 2.990011453 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 1 1 8 4: 4 4 12 8: 11 12 25 16: 7 8 33 32: 58 66 100 snapshot_time: 1787152079.394729671 secs.nsecs start_time: 1787152076.404785478 secs.nsecs elapsed_time: 2.989944193 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 '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1787152109.973628012 secs.nsecs start_time: 1787152076.404654068 secs.nsecs elapsed_time: 33.568973944 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 1 1 9 4: 4 4 13 8: 11 12 26 16: 7 7 34 32: 58 65 100 snapshot_time: 1787152109.973703816 secs.nsecs start_time: 1787152076.404785478 secs.nsecs elapsed_time: 33.568918338 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787152118 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787152127 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff928cdcc71800.enable_statahead_fname=1 llite.lustre-ffff928cdcc71800.statahead_min=8 llite.lustre-ffff928cdcc71800.statahead_batch_max=64 llite.lustre-ffff928cdcc71800.statahead_max=128