== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 09:37:41 (1787837861) llite.lustre-ffff9f4b7b462000.statahead_max=1024 llite.lustre-ffff9f4b7b462000.statahead_batch_max=32 llite.lustre-ffff9f4b7b462000.statahead_min=64 llite.lustre-ffff9f4b7b462000.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.88 seconds: 170.14 ops/second llite.lustre-ffff9f4b7b462000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f4b7b462000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f4b7b462000.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: 1787837877.063414844 secs.nsecs start_time: 1787837872.958030323 secs.nsecs elapsed_time: 4.105384521 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 5 10 4: 11 12 23 8: 4 4 28 16: 0 0 28 32: 61 71 100 snapshot_time: 1787837877.063485318 secs.nsecs start_time: 1787837872.958324766 secs.nsecs elapsed_time: 4.105160552 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787837908.323243695 secs.nsecs start_time: 1787837872.958030323 secs.nsecs elapsed_time: 35.365213372 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 11 12 24 8: 4 4 29 16: 0 0 29 32: 61 70 100 snapshot_time: 1787837908.323308038 secs.nsecs start_time: 1787837872.958324766 secs.nsecs elapsed_time: 35.364983272 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 6.05 seconds: 165.31 ops/second llite.lustre-ffff9f4b7b462000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f4b7b462000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f4b7b462000.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: 1787837923.382467190 secs.nsecs start_time: 1787837919.738834858 secs.nsecs elapsed_time: 3.643632332 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 4 5 6 4: 3 3 10 8: 3 3 14 16: 5 6 20 32: 61 79 100 snapshot_time: 1787837923.382535868 secs.nsecs start_time: 1787837919.739394373 secs.nsecs elapsed_time: 3.643141495 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: 1787837953.745004536 secs.nsecs start_time: 1787837919.738834858 secs.nsecs elapsed_time: 34.006169678 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 4 5 7 4: 3 3 11 8: 3 3 15 16: 5 6 21 32: 61 78 100 snapshot_time: 1787837953.745087483 secs.nsecs start_time: 1787837919.739394373 secs.nsecs elapsed_time: 34.005693110 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787837961 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787837971 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9f4b7b462000.enable_statahead_fname=1 llite.lustre-ffff9f4b7b462000.statahead_min=8 llite.lustre-ffff9f4b7b462000.statahead_batch_max=64 llite.lustre-ffff9f4b7b462000.statahead_max=128