== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:54:11 (1767329651) llite.lustre-ffffa00288aaa000.statahead_max=1024 llite.lustre-ffffa00288aaa000.statahead_batch_max=32 llite.lustre-ffffa00288aaa000.statahead_min=64 llite.lustre-ffffa00288aaa000.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 1.48 seconds: 677.92 ops/second llite.lustre-ffffa00288aaa000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa00288aaa000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa00288aaa000.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: 1767329657.847155874 secs.nsecs start_time: 1767329655.155178591 secs.nsecs elapsed_time: 2.691977283 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 0 0 4 4: 20 22 27 8: 3 3 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1767329657.847229826 secs.nsecs start_time: 1767329655.155230836 secs.nsecs elapsed_time: 2.691998990 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: 1767329688.385662413 secs.nsecs start_time: 1767329655.155178591 secs.nsecs elapsed_time: 33.230483822 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 0 0 5 4: 20 22 28 8: 3 3 31 16: 1 1 32 32: 60 67 100 snapshot_time: 1767329688.385701213 secs.nsecs start_time: 1767329655.155230836 secs.nsecs elapsed_time: 33.230470377 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 1.67 seconds: 598.61 ops/second llite.lustre-ffffa00288aaa000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa00288aaa000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa00288aaa000.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: 1767329694.395228731 secs.nsecs start_time: 1767329691.939060436 secs.nsecs elapsed_time: 2.456168295 secs.nsecs subreqs per batch batches % cum % 1: 6 7 7 2: 2 2 9 4: 3 3 12 8: 13 15 28 16: 2 2 30 32: 59 69 100 snapshot_time: 1767329694.395268011 secs.nsecs start_time: 1767329691.939166980 secs.nsecs elapsed_time: 2.456101031 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: 1767329724.859119194 secs.nsecs start_time: 1767329691.939060436 secs.nsecs elapsed_time: 32.920058758 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 2 2 10 4: 3 3 13 8: 13 15 29 16: 2 2 31 32: 59 68 100 snapshot_time: 1767329724.859194650 secs.nsecs start_time: 1767329691.939166980 secs.nsecs elapsed_time: 32.920027670 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1767329728 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1767329730 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffffa00288aaa000.enable_statahead_fname=1 llite.lustre-ffffa00288aaa000.statahead_min=8 llite.lustre-ffffa00288aaa000.statahead_batch_max=64 llite.lustre-ffffa00288aaa000.statahead_max=128