== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 02:55:40 (1783148140) llite.lustre-ffff89074598a000.statahead_max=1024 llite.lustre-ffff89074598a000.statahead_batch_max=32 llite.lustre-ffff89074598a000.statahead_min=64 llite.lustre-ffff89074598a000.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.01 seconds: 993.83 ops/second llite.lustre-ffff89074598a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89074598a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89074598a000.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: 1783148145.492893994 secs.nsecs start_time: 1783148143.567888092 secs.nsecs elapsed_time: 1.925005902 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 0 0 8 4: 19 20 29 8: 5 5 34 16: 0 0 34 32: 60 65 100 snapshot_time: 1783148145.492932949 secs.nsecs start_time: 1783148143.567939040 secs.nsecs elapsed_time: 1.924993909 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 '' 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: 1783148176.149415560 secs.nsecs start_time: 1783148143.567888092 secs.nsecs elapsed_time: 32.581527468 secs.nsecs subreqs per batch batches %% cum %% 1: 9 9 9 2: 0 0 9 4: 19 20 30 8: 5 5 35 16: 0 0 35 32: 60 64 100 snapshot_time: 1783148176.149585627 secs.nsecs start_time: 1783148143.567939040 secs.nsecs elapsed_time: 32.581646587 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.92 seconds: 519.58 ops/second llite.lustre-ffff89074598a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89074598a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89074598a000.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: 1783148182.732920769 secs.nsecs start_time: 1783148180.318133485 secs.nsecs elapsed_time: 2.414787284 secs.nsecs subreqs per batch batches %% cum %% 1: 47 35 35 2: 5 3 39 4: 3 2 41 8: 15 11 53 16: 7 5 58 32: 55 41 100 snapshot_time: 1783148182.732963022 secs.nsecs start_time: 1783148180.318195770 secs.nsecs elapsed_time: 2.414767252 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: 1783148213.700244804 secs.nsecs start_time: 1783148180.318133485 secs.nsecs elapsed_time: 33.382111319 secs.nsecs subreqs per batch batches %% cum %% 1: 48 36 36 2: 5 3 39 4: 3 2 42 8: 15 11 53 16: 7 5 58 32: 55 41 100 snapshot_time: 1783148213.700307732 secs.nsecs start_time: 1783148180.318195770 secs.nsecs elapsed_time: 33.382111962 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1783148226 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1783148237 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff89074598a000.enable_statahead_fname=1 llite.lustre-ffff89074598a000.statahead_min=8 llite.lustre-ffff89074598a000.statahead_batch_max=64 llite.lustre-ffff89074598a000.statahead_max=128