== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:23:02 (1787718182) llite.lustre-ffff9a47dbe12800.statahead_max=1024 llite.lustre-ffff9a47dbe12800.statahead_batch_max=32 llite.lustre-ffff9a47dbe12800.statahead_min=64 llite.lustre-ffff9a47dbe12800.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 7.72 seconds: 129.60 ops/second llite.lustre-ffff9a47dbe12800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a47dbe12800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a47dbe12800.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: 1787718202.052059546 secs.nsecs start_time: 1787718196.688955806 secs.nsecs elapsed_time: 5.363103740 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 3 3 5 4: 5 6 11 8: 4 5 17 16: 2 2 19 32: 61 80 100 snapshot_time: 1787718202.052121071 secs.nsecs start_time: 1787718196.689090153 secs.nsecs elapsed_time: 5.363030918 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: 993 miss_total: 2 snapshot_time: 1787718233.595024709 secs.nsecs start_time: 1787718196.688955806 secs.nsecs elapsed_time: 36.906068903 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 5 6 12 8: 4 5 18 16: 2 2 20 32: 61 79 100 snapshot_time: 1787718233.595143031 secs.nsecs start_time: 1787718196.689090153 secs.nsecs elapsed_time: 36.906052878 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 6.62 seconds: 151.01 ops/second llite.lustre-ffff9a47dbe12800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a47dbe12800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a47dbe12800.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: 1787718249.914984110 secs.nsecs start_time: 1787718245.862019357 secs.nsecs elapsed_time: 4.052964753 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 5 6 10 8: 6 7 18 16: 9 10 29 32: 58 70 100 snapshot_time: 1787718249.915067593 secs.nsecs start_time: 1787718245.862185361 secs.nsecs elapsed_time: 4.052882232 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: 994 miss_total: 1 snapshot_time: 1787718281.655448890 secs.nsecs start_time: 1787718245.862019357 secs.nsecs elapsed_time: 35.793429533 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 6 4: 5 6 12 8: 6 7 19 16: 9 10 30 32: 58 69 100 snapshot_time: 1787718281.655989855 secs.nsecs start_time: 1787718245.862185361 secs.nsecs elapsed_time: 35.793804494 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787718289 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1787718300 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff9a47dbe12800.enable_statahead_fname=1 llite.lustre-ffff9a47dbe12800.statahead_min=8 llite.lustre-ffff9a47dbe12800.statahead_batch_max=64 llite.lustre-ffff9a47dbe12800.statahead_max=128