== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 19:17:56 (1777504676) llite.lustre-ffff9a5ec3c17800.statahead_max=1024 llite.lustre-ffff9a5ec3c17800.statahead_batch_max=32 llite.lustre-ffff9a5ec3c17800.statahead_min=64 llite.lustre-ffff9a5ec3c17800.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.05 seconds: 951.51 ops/second llite.lustre-ffff9a5ec3c17800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a5ec3c17800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a5ec3c17800.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: 1777504681.158756934 secs.nsecs start_time: 1777504678.927883232 secs.nsecs elapsed_time: 2.230873702 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 3 3 3 4: 20 23 26 8: 3 3 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1777504681.158818405 secs.nsecs start_time: 1777504678.927939174 secs.nsecs elapsed_time: 2.230879231 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: 1777504712.293269298 secs.nsecs start_time: 1777504678.927883232 secs.nsecs elapsed_time: 33.365386066 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 3 3 4 4: 20 22 27 8: 3 3 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1777504712.293332108 secs.nsecs start_time: 1777504678.927939174 secs.nsecs elapsed_time: 33.365392934 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 0.92 seconds: 1092.03 ops/second llite.lustre-ffff9a5ec3c17800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a5ec3c17800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a5ec3c17800.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: 1777504716.511613752 secs.nsecs start_time: 1777504714.822290679 secs.nsecs elapsed_time: 1.689323073 secs.nsecs subreqs per batch batches % cum % 1: 55 37 37 2: 10 6 43 4: 6 4 47 8: 20 13 61 16: 2 1 62 32: 55 37 100 snapshot_time: 1777504716.511667197 secs.nsecs start_time: 1777504714.822346784 secs.nsecs elapsed_time: 1.689320413 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: 1777504747.615455691 secs.nsecs start_time: 1777504714.822290679 secs.nsecs elapsed_time: 32.793165012 secs.nsecs subreqs per batch batches % cum % 1: 56 37 37 2: 10 6 44 4: 6 4 48 8: 20 13 61 16: 2 1 63 32: 55 36 100 snapshot_time: 1777504747.615521237 secs.nsecs start_time: 1777504714.822346784 secs.nsecs elapsed_time: 32.793174453 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1777504749 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1777504751 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9a5ec3c17800.enable_statahead_fname=1 llite.lustre-ffff9a5ec3c17800.statahead_min=8 llite.lustre-ffff9a5ec3c17800.statahead_batch_max=64 llite.lustre-ffff9a5ec3c17800.statahead_max=128