== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:47:27 (1787323647) llite.lustre-ffff91bd0831f000.statahead_max=1024 llite.lustre-ffff91bd0831f000.statahead_batch_max=32 llite.lustre-ffff91bd0831f000.statahead_min=64 llite.lustre-ffff91bd0831f000.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 6.06 seconds: 165.12 ops/second llite.lustre-ffff91bd0831f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91bd0831f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff91bd0831f000.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: 1787323661.452894332 secs.nsecs start_time: 1787323658.361246640 secs.nsecs elapsed_time: 3.091647692 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 2 2 5 4: 4 5 10 8: 6 7 17 16: 6 7 25 32: 59 74 100 snapshot_time: 1787323661.452954221 secs.nsecs start_time: 1787323658.361459484 secs.nsecs elapsed_time: 3.091494737 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: 1787323692.222761654 secs.nsecs start_time: 1787323658.361246640 secs.nsecs elapsed_time: 33.861515014 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 6 4: 4 5 11 8: 6 7 18 16: 6 7 26 32: 59 73 100 snapshot_time: 1787323692.222852950 secs.nsecs start_time: 1787323658.361459484 secs.nsecs elapsed_time: 33.861393466 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.45 seconds: 183.60 ops/second llite.lustre-ffff91bd0831f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91bd0831f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff91bd0831f000.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: 1787323706.328087549 secs.nsecs start_time: 1787323703.277724332 secs.nsecs elapsed_time: 3.050363217 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 3 3 14 4: 7 7 21 8: 5 5 27 16: 6 6 34 32: 60 65 100 snapshot_time: 1787323706.328150829 secs.nsecs start_time: 1787323703.279613429 secs.nsecs elapsed_time: 3.048537400 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: 994 miss_total: 1 snapshot_time: 1787323736.915932439 secs.nsecs start_time: 1787323703.277724332 secs.nsecs elapsed_time: 33.638208107 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 3 3 15 4: 7 7 22 8: 5 5 28 16: 6 6 34 32: 60 65 100 snapshot_time: 1787323736.916036462 secs.nsecs start_time: 1787323703.279613429 secs.nsecs elapsed_time: 33.636423033 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787323745 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787323754 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff91bd0831f000.enable_statahead_fname=1 llite.lustre-ffff91bd0831f000.statahead_min=8 llite.lustre-ffff91bd0831f000.statahead_batch_max=64 llite.lustre-ffff91bd0831f000.statahead_max=128