== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:54:52 (1790956492) llite.lustre-ffff8d6134061000.statahead_max=1024 llite.lustre-ffff8d6134061000.statahead_batch_max=32 llite.lustre-ffff8d6134061000.statahead_min=64 llite.lustre-ffff8d6134061000.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.34 seconds: 157.82 ops/second llite.lustre-ffff8d6134061000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d6134061000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d6134061000.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: 1790956508.277920404 secs.nsecs start_time: 1790956504.297284186 secs.nsecs elapsed_time: 3.980636218 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 7 8 17 8: 5 6 23 16: 2 2 25 32: 60 74 100 snapshot_time: 1790956508.277978639 secs.nsecs start_time: 1790956504.298310781 secs.nsecs elapsed_time: 3.979667858 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: 1790956539.415537291 secs.nsecs start_time: 1790956504.297284186 secs.nsecs elapsed_time: 35.118253105 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 3 3 9 4: 7 8 18 8: 5 6 24 16: 2 2 26 32: 60 73 100 snapshot_time: 1790956539.416110170 secs.nsecs start_time: 1790956504.298310781 secs.nsecs elapsed_time: 35.117799389 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.36 seconds: 186.53 ops/second llite.lustre-ffff8d6134061000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d6134061000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d6134061000.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: 1790956552.584626517 secs.nsecs start_time: 1790956549.484384065 secs.nsecs elapsed_time: 3.100242452 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 3 3 13 4: 4 4 18 8: 5 5 24 16: 3 3 27 32: 62 72 100 snapshot_time: 1790956552.584688189 secs.nsecs start_time: 1790956549.484514882 secs.nsecs elapsed_time: 3.100173307 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1790956583.191615377 secs.nsecs start_time: 1790956549.484384065 secs.nsecs elapsed_time: 33.707231312 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 3 3 14 4: 4 4 19 8: 5 5 25 16: 3 3 28 32: 62 71 100 snapshot_time: 1790956583.191680224 secs.nsecs start_time: 1790956549.484514882 secs.nsecs elapsed_time: 33.707165342 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790956590 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1790956599 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8d6134061000.enable_statahead_fname=1 llite.lustre-ffff8d6134061000.statahead_min=8 llite.lustre-ffff8d6134061000.statahead_batch_max=64 llite.lustre-ffff8d6134061000.statahead_max=128