== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:07:44 (1787706464) llite.lustre-ffffa041e1255800.statahead_max=1024 llite.lustre-ffffa041e1255800.statahead_batch_max=32 llite.lustre-ffffa041e1255800.statahead_min=64 llite.lustre-ffffa041e1255800.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 7.20 seconds: 138.95 ops/second llite.lustre-ffffa041e1255800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa041e1255800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa041e1255800.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: 1787706482.889344741 secs.nsecs start_time: 1787706479.237313311 secs.nsecs elapsed_time: 3.652031430 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 8 10 13 8: 4 5 18 16: 6 7 26 32: 59 73 100 snapshot_time: 1787706482.889406406 secs.nsecs start_time: 1787706479.237390482 secs.nsecs elapsed_time: 3.652015924 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: 1787706514.303233687 secs.nsecs start_time: 1787706479.237313311 secs.nsecs elapsed_time: 35.065920376 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 8 9 14 8: 4 4 19 16: 7 8 28 32: 59 71 100 snapshot_time: 1787706514.303312372 secs.nsecs start_time: 1787706479.237390482 secs.nsecs elapsed_time: 35.065921890 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.55 seconds: 152.62 ops/second llite.lustre-ffffa041e1255800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa041e1255800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa041e1255800.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: 1787706529.598766070 secs.nsecs start_time: 1787706526.209149388 secs.nsecs elapsed_time: 3.389616682 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 2 2 5 4: 1 1 6 8: 3 3 10 16: 8 10 21 32: 60 78 100 snapshot_time: 1787706529.598887839 secs.nsecs start_time: 1787706526.209521872 secs.nsecs elapsed_time: 3.389365967 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: 1787706560.789507515 secs.nsecs start_time: 1787706526.209149388 secs.nsecs elapsed_time: 34.580358127 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 6 4: 1 1 7 8: 3 3 11 16: 8 10 22 32: 60 77 100 snapshot_time: 1787706560.789575037 secs.nsecs start_time: 1787706526.209521872 secs.nsecs elapsed_time: 34.580053165 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787706570 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787706579 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffffa041e1255800.enable_statahead_fname=1 llite.lustre-ffffa041e1255800.statahead_min=8 llite.lustre-ffffa041e1255800.statahead_batch_max=64 llite.lustre-ffffa041e1255800.statahead_max=128