== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 08:01:49 (1787572909) llite.lustre-ffff8eaf582a4800.statahead_max=1024 llite.lustre-ffff8eaf582a4800.statahead_batch_max=32 llite.lustre-ffff8eaf582a4800.statahead_min=64 llite.lustre-ffff8eaf582a4800.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.62 seconds: 177.78 ops/second llite.lustre-ffff8eaf582a4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eaf582a4800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eaf582a4800.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: 1787572924.341172809 secs.nsecs start_time: 1787572920.978498876 secs.nsecs elapsed_time: 3.362673933 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 6 4: 9 10 17 8: 4 4 21 16: 4 4 26 32: 60 73 100 snapshot_time: 1787572924.341235839 secs.nsecs start_time: 1787572920.978648571 secs.nsecs elapsed_time: 3.362587268 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: 1787572955.798300787 secs.nsecs start_time: 1787572920.978498876 secs.nsecs elapsed_time: 34.819801911 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 1 1 7 4: 9 10 18 8: 4 4 22 16: 4 4 27 32: 60 72 100 snapshot_time: 1787572955.798391910 secs.nsecs start_time: 1787572920.978648571 secs.nsecs elapsed_time: 34.819743339 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.63 seconds: 177.57 ops/second llite.lustre-ffff8eaf582a4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eaf582a4800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eaf582a4800.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: 1787572970.283562531 secs.nsecs start_time: 1787572966.293136066 secs.nsecs elapsed_time: 3.990426465 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 2 2 4 4: 7 8 12 8: 12 13 26 16: 5 5 32 32: 58 67 100 snapshot_time: 1787572970.284753868 secs.nsecs start_time: 1787572966.293219349 secs.nsecs elapsed_time: 3.991534519 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: 1787573000.912345452 secs.nsecs start_time: 1787572966.293136066 secs.nsecs elapsed_time: 34.619209386 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 5 4: 7 8 13 8: 12 13 27 16: 5 5 33 32: 58 66 100 snapshot_time: 1787573000.912414825 secs.nsecs start_time: 1787572966.293219349 secs.nsecs elapsed_time: 34.619195476 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787573008 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787573017 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8eaf582a4800.enable_statahead_fname=1 llite.lustre-ffff8eaf582a4800.statahead_min=8 llite.lustre-ffff8eaf582a4800.statahead_batch_max=64 llite.lustre-ffff8eaf582a4800.statahead_max=128