== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:47:52 (1787572072) llite.lustre-ffff9efe0a19f800.statahead_max=1024 llite.lustre-ffff9efe0a19f800.statahead_batch_max=32 llite.lustre-ffff9efe0a19f800.statahead_min=64 llite.lustre-ffff9efe0a19f800.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.32 seconds: 158.24 ops/second llite.lustre-ffff9efe0a19f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9efe0a19f800.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: 1787572090.124184128 secs.nsecs start_time: 1787572084.603367680 secs.nsecs elapsed_time: 5.520816448 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 11 12 24 8: 4 4 28 16: 3 3 32 32: 59 67 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787572120.669992877 secs.nsecs start_time: 1787572084.603367680 secs.nsecs elapsed_time: 36.066625197 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 5 5 12 4: 11 12 25 8: 4 4 29 16: 3 3 32 32: 59 67 100 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 8.34 seconds: 119.85 ops/second llite.lustre-ffff9efe0a19f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9efe0a19f800.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: 1787572139.466332261 secs.nsecs start_time: 1787572135.353174499 secs.nsecs elapsed_time: 4.113157762 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 5 6 10 8: 7 8 19 16: 8 9 29 32: 58 70 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s 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: 1787572170.789372509 secs.nsecs start_time: 1787572135.353174499 secs.nsecs elapsed_time: 35.436198010 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 6 4: 5 6 12 8: 7 8 20 16: 8 9 30 32: 58 69 100 - unlinked 0 (time 1787572180 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1787572193 ; total 1 ; last 1) total: 1000 unlinks in 14 seconds: 71.428574 unlinks/second llite.lustre-ffff9efe0a19f800.enable_statahead_fname=1 llite.lustre-ffff9efe0a19f800.statahead_min=8 llite.lustre-ffff9efe0a19f800.statahead_batch_max=64 llite.lustre-ffff9efe0a19f800.statahead_max=128