== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:09:54 (1788358194) llite.lustre-ffff98db87c59800.statahead_max=1024 llite.lustre-ffff98db87c59800.statahead_batch_max=32 llite.lustre-ffff98db87c59800.statahead_min=64 llite.lustre-ffff98db87c59800.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.04 seconds: 964.32 ops/second llite.lustre-ffff98db87c59800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98db87c59800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98db87c59800.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: 1788358199.977295009 secs.nsecs start_time: 1788358197.688890787 secs.nsecs elapsed_time: 2.288404222 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 12 14 21 8: 7 8 29 16: 1 1 30 32: 59 69 100 snapshot_time: 1788358199.977337812 secs.nsecs start_time: 1788358197.688953029 secs.nsecs elapsed_time: 2.288384783 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: 1788358231.249842745 secs.nsecs start_time: 1788358197.688890787 secs.nsecs elapsed_time: 33.560951958 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 2 2 8 4: 12 13 22 8: 7 8 30 16: 1 1 31 32: 59 68 100 snapshot_time: 1788358231.249906208 secs.nsecs start_time: 1788358197.688953029 secs.nsecs elapsed_time: 33.560953179 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.01 seconds: 991.50 ops/second llite.lustre-ffff98db87c59800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98db87c59800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98db87c59800.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: 1788358235.700247602 secs.nsecs start_time: 1788358233.889603681 secs.nsecs elapsed_time: 1.810643921 secs.nsecs subreqs per batch batches %% cum %% 1: 28 25 25 2: 1 0 26 4: 4 3 30 8: 12 11 41 16: 5 4 46 32: 58 53 100 snapshot_time: 1788358235.700309517 secs.nsecs start_time: 1788358233.889677431 secs.nsecs elapsed_time: 1.810632086 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: 1788358266.873488630 secs.nsecs start_time: 1788358233.889603681 secs.nsecs elapsed_time: 32.983884949 secs.nsecs subreqs per batch batches %% cum %% 1: 29 26 26 2: 1 0 27 4: 4 3 31 8: 12 11 42 16: 5 4 46 32: 58 53 100 snapshot_time: 1788358266.873557720 secs.nsecs start_time: 1788358233.889677431 secs.nsecs elapsed_time: 32.983880289 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788358269 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1788358271 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff98db87c59800.enable_statahead_fname=1 llite.lustre-ffff98db87c59800.statahead_min=8 llite.lustre-ffff98db87c59800.statahead_batch_max=64 llite.lustre-ffff98db87c59800.statahead_max=128