== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:21:51 (1787854911) llite.lustre-ffff8f9cf8f5f000.statahead_max=1024 llite.lustre-ffff8f9cf8f5f000.statahead_batch_max=32 llite.lustre-ffff8f9cf8f5f000.statahead_min=64 llite.lustre-ffff8f9cf8f5f000.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.30 seconds: 188.52 ops/second llite.lustre-ffff8f9cf8f5f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f9cf8f5f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f9cf8f5f000.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: 1787854925.398417418 secs.nsecs start_time: 1787854921.631400217 secs.nsecs elapsed_time: 3.767017201 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 5 4: 14 16 22 8: 4 4 27 16: 2 2 29 32: 60 70 100 snapshot_time: 1787854925.398481883 secs.nsecs start_time: 1787854921.632014230 secs.nsecs elapsed_time: 3.766467653 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: 1787854956.140485564 secs.nsecs start_time: 1787854921.631400217 secs.nsecs elapsed_time: 34.509085347 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 6 4: 14 16 23 8: 4 4 27 16: 2 2 30 32: 60 69 100 snapshot_time: 1787854956.140567592 secs.nsecs start_time: 1787854921.632014230 secs.nsecs elapsed_time: 34.508553362 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.71 seconds: 175.11 ops/second llite.lustre-ffff8f9cf8f5f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f9cf8f5f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f9cf8f5f000.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: 1787854970.157570377 secs.nsecs start_time: 1787854966.923352793 secs.nsecs elapsed_time: 3.234217584 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 5 6 11 8: 5 6 17 16: 7 8 25 32: 60 74 100 snapshot_time: 1787854970.157627308 secs.nsecs start_time: 1787854966.923444681 secs.nsecs elapsed_time: 3.234182627 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: 1787855000.933136016 secs.nsecs start_time: 1787854966.923352793 secs.nsecs elapsed_time: 34.009783223 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 6 4: 5 6 12 8: 5 6 18 16: 7 8 26 32: 60 73 100 snapshot_time: 1787855000.933282915 secs.nsecs start_time: 1787854966.923444681 secs.nsecs elapsed_time: 34.009838234 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787855009 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787855019 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8f9cf8f5f000.enable_statahead_fname=1 llite.lustre-ffff8f9cf8f5f000.statahead_min=8 llite.lustre-ffff8f9cf8f5f000.statahead_batch_max=64 llite.lustre-ffff8f9cf8f5f000.statahead_max=128