== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:29:50 (1790782190) llite.lustre-ffff8a88465b0800.statahead_max=1024 llite.lustre-ffff8a88465b0800.statahead_batch_max=32 llite.lustre-ffff8a88465b0800.statahead_min=64 llite.lustre-ffff8a88465b0800.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 5.18 seconds: 193.05 ops/second llite.lustre-ffff8a88465b0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a88465b0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a88465b0800.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: 1790782203.389419191 secs.nsecs start_time: 1790782200.320552071 secs.nsecs elapsed_time: 3.068867120 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 8 9 10 4: 11 12 23 8: 5 5 29 16: 2 2 31 32: 59 68 100 snapshot_time: 1790782203.389489536 secs.nsecs start_time: 1790782200.320688008 secs.nsecs elapsed_time: 3.068801528 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: 1790782233.918409108 secs.nsecs start_time: 1790782200.320552071 secs.nsecs elapsed_time: 33.597857037 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 8 9 11 4: 11 12 24 8: 5 5 29 16: 2 2 32 32: 59 67 100 snapshot_time: 1790782233.918475455 secs.nsecs start_time: 1790782200.320688008 secs.nsecs elapsed_time: 33.597787447 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 5.32 seconds: 188.14 ops/second llite.lustre-ffff8a88465b0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a88465b0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a88465b0800.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: 1790782247.517011621 secs.nsecs start_time: 1790782244.069434770 secs.nsecs elapsed_time: 3.447576851 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 1 1 12 4: 9 9 21 8: 5 5 27 16: 6 6 34 32: 60 65 100 snapshot_time: 1790782247.517085904 secs.nsecs start_time: 1790782244.069513950 secs.nsecs elapsed_time: 3.447571954 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: 1790782278.311870615 secs.nsecs start_time: 1790782244.069434770 secs.nsecs elapsed_time: 34.242435845 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 1 1 13 4: 9 9 22 8: 5 5 28 16: 6 6 34 32: 60 65 100 snapshot_time: 1790782278.311949643 secs.nsecs start_time: 1790782244.069513950 secs.nsecs elapsed_time: 34.242435693 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790782285 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1790782293 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff8a88465b0800.enable_statahead_fname=1 llite.lustre-ffff8a88465b0800.statahead_min=8 llite.lustre-ffff8a88465b0800.statahead_batch_max=64 llite.lustre-ffff8a88465b0800.statahead_max=128