== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 03:27:51 (1788938871) llite.lustre-ffffa0e4c8734800.statahead_max=1024 llite.lustre-ffffa0e4c8734800.statahead_batch_max=32 llite.lustre-ffffa0e4c8734800.statahead_min=64 llite.lustre-ffffa0e4c8734800.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 8.53 seconds: 117.25 ops/second llite.lustre-ffffa0e4c8734800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0e4c8734800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0e4c8734800.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: 1788938893.002462929 secs.nsecs start_time: 1788938887.916220576 secs.nsecs elapsed_time: 5.086242353 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 6 7 8 4: 7 8 17 8: 4 5 22 16: 1 1 23 32: 61 76 100 snapshot_time: 1788938893.002546129 secs.nsecs start_time: 1788938887.916528901 secs.nsecs elapsed_time: 5.086017228 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: 993 miss_total: 2 snapshot_time: 1788938924.176148658 secs.nsecs start_time: 1788938887.916220576 secs.nsecs elapsed_time: 36.259928082 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 6 7 9 4: 7 8 18 8: 4 4 23 16: 1 1 24 32: 61 75 100 snapshot_time: 1788938924.176364684 secs.nsecs start_time: 1788938887.916528901 secs.nsecs elapsed_time: 36.259835783 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 8.56 seconds: 116.85 ops/second llite.lustre-ffffa0e4c8734800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0e4c8734800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0e4c8734800.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: 1788938943.875025243 secs.nsecs start_time: 1788938939.798021950 secs.nsecs elapsed_time: 4.077003293 secs.nsecs subreqs per batch batches %% cum %% 1: 3 4 4 2: 0 0 4 4: 0 0 4 8: 2 2 7 16: 4 5 12 32: 62 87 100 snapshot_time: 1788938943.875093992 secs.nsecs start_time: 1788938939.798110457 secs.nsecs elapsed_time: 4.076983535 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 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: 1788938975.392203989 secs.nsecs start_time: 1788938939.798021950 secs.nsecs elapsed_time: 35.594182039 secs.nsecs subreqs per batch batches %% cum %% 1: 4 5 5 2: 0 0 5 4: 0 0 5 8: 2 2 8 16: 4 5 13 32: 62 86 100 snapshot_time: 1788938975.392545007 secs.nsecs start_time: 1788938939.798110457 secs.nsecs elapsed_time: 35.594434550 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788938984 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1788938995 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffffa0e4c8734800.enable_statahead_fname=1 llite.lustre-ffffa0e4c8734800.statahead_min=8 llite.lustre-ffffa0e4c8734800.statahead_batch_max=64 llite.lustre-ffffa0e4c8734800.statahead_max=128