== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 03:08:19 (1788851299) llite.lustre-ffffa0d9186b3800.statahead_max=1024 llite.lustre-ffffa0d9186b3800.statahead_batch_max=32 llite.lustre-ffffa0d9186b3800.statahead_min=64 llite.lustre-ffffa0d9186b3800.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.15 seconds: 867.85 ops/second llite.lustre-ffffa0d9186b3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d9186b3800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d9186b3800.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: 1788851304.505636552 secs.nsecs start_time: 1788851302.109738387 secs.nsecs elapsed_time: 2.395898165 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 14 16 20 8: 7 8 28 16: 1 1 29 32: 60 70 100 snapshot_time: 1788851304.505699086 secs.nsecs start_time: 1788851302.109815194 secs.nsecs elapsed_time: 2.395883892 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: 1788851334.927831072 secs.nsecs start_time: 1788851302.109738387 secs.nsecs elapsed_time: 32.818092685 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 0 0 4 4: 14 16 20 8: 7 8 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1788851334.927896339 secs.nsecs start_time: 1788851302.109815194 secs.nsecs elapsed_time: 32.818081145 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.72 seconds: 582.67 ops/second llite.lustre-ffffa0d9186b3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d9186b3800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d9186b3800.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: 1788851340.993884870 secs.nsecs start_time: 1788851338.880027110 secs.nsecs elapsed_time: 2.113857760 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 0 0 4 4: 2 2 7 8: 11 13 20 16: 7 8 29 32: 58 70 100 snapshot_time: 1788851340.993926966 secs.nsecs start_time: 1788851338.880105988 secs.nsecs elapsed_time: 2.113820978 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: 1788851371.542032656 secs.nsecs start_time: 1788851338.880027110 secs.nsecs elapsed_time: 32.662005546 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 0 0 6 4: 2 2 8 8: 11 13 21 16: 7 8 30 32: 58 69 100 snapshot_time: 1788851371.542101462 secs.nsecs start_time: 1788851338.880105988 secs.nsecs elapsed_time: 32.661995474 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788851374 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1788851378 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second llite.lustre-ffffa0d9186b3800.enable_statahead_fname=1 llite.lustre-ffffa0d9186b3800.statahead_min=8 llite.lustre-ffffa0d9186b3800.statahead_batch_max=64 llite.lustre-ffffa0d9186b3800.statahead_max=128