== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:01:04 (1767326464) llite.lustre-ffff9c9902d40000.statahead_max=1024 llite.lustre-ffff9c9902d40000.statahead_batch_max=32 llite.lustre-ffff9c9902d40000.statahead_min=64 llite.lustre-ffff9c9902d40000.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.01 seconds: 993.76 ops/second llite.lustre-ffff9c9902d40000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c9902d40000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c9902d40000.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: 1767326470.267087771 secs.nsecs start_time: 1767326467.703762748 secs.nsecs elapsed_time: 2.563325023 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 3 3 7 4: 13 15 22 8: 6 7 29 16: 0 0 29 32: 60 70 100 snapshot_time: 1767326470.267128537 secs.nsecs start_time: 1767326467.703829536 secs.nsecs elapsed_time: 2.563299001 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 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: 1767326501.430104465 secs.nsecs start_time: 1767326467.703762748 secs.nsecs elapsed_time: 33.726341717 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 3 3 8 4: 13 15 23 8: 6 6 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1767326501.430145321 secs.nsecs start_time: 1767326467.703829536 secs.nsecs elapsed_time: 33.726315785 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.01 seconds: 993.19 ops/second llite.lustre-ffff9c9902d40000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c9902d40000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c9902d40000.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: 1767326506.290696454 secs.nsecs start_time: 1767326504.108545835 secs.nsecs elapsed_time: 2.182150619 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 1 1 6 4: 3 3 10 8: 13 15 25 16: 6 6 32 32: 58 67 100 snapshot_time: 1767326506.290747027 secs.nsecs start_time: 1767326504.108626019 secs.nsecs elapsed_time: 2.182121008 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1767326537.463555551 secs.nsecs start_time: 1767326504.108545835 secs.nsecs elapsed_time: 33.355009716 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 1 1 8 4: 3 3 11 8: 13 14 26 16: 6 6 33 32: 58 66 100 snapshot_time: 1767326537.463612722 secs.nsecs start_time: 1767326504.108626019 secs.nsecs elapsed_time: 33.354986703 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1767326540 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1767326542 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9c9902d40000.enable_statahead_fname=1 llite.lustre-ffff9c9902d40000.statahead_min=8 llite.lustre-ffff9c9902d40000.statahead_batch_max=64 llite.lustre-ffff9c9902d40000.statahead_max=128