== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 04:47:15 (1790930835) llite.lustre-ffff9a8d53541800.statahead_max=1024 llite.lustre-ffff9a8d53541800.statahead_batch_max=32 llite.lustre-ffff9a8d53541800.statahead_min=64 llite.lustre-ffff9a8d53541800.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.25 seconds: 137.97 ops/second llite.lustre-ffff9a8d53541800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8d53541800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a8d53541800.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: 1790930853.339341847 secs.nsecs start_time: 1790930848.945398304 secs.nsecs elapsed_time: 4.393943543 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 5 5 9 4: 11 12 22 8: 5 5 27 16: 2 2 30 32: 60 69 100 snapshot_time: 1790930853.339404577 secs.nsecs start_time: 1790930848.951511579 secs.nsecs elapsed_time: 4.387892998 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1790930883.838095364 secs.nsecs start_time: 1790930848.945398304 secs.nsecs elapsed_time: 34.892697060 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 5 10 4: 11 12 22 8: 5 5 28 16: 2 2 31 32: 60 68 100 snapshot_time: 1790930883.838173079 secs.nsecs start_time: 1790930848.951511579 secs.nsecs elapsed_time: 34.886661500 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 8.42 seconds: 118.71 ops/second llite.lustre-ffff9a8d53541800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8d53541800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a8d53541800.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: 1790930900.829851918 secs.nsecs start_time: 1790930897.460303369 secs.nsecs elapsed_time: 3.369548549 secs.nsecs subreqs per batch batches %% cum %% 1: 10 12 12 2: 1 1 13 4: 2 2 15 8: 3 3 19 16: 6 7 26 32: 60 73 100 snapshot_time: 1790930900.829910020 secs.nsecs start_time: 1790930897.460381990 secs.nsecs elapsed_time: 3.369528030 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: 1790930931.981593195 secs.nsecs start_time: 1790930897.460303369 secs.nsecs elapsed_time: 34.521289826 secs.nsecs subreqs per batch batches %% cum %% 1: 11 13 13 2: 1 1 14 4: 2 2 16 8: 3 3 20 16: 6 7 27 32: 60 72 100 snapshot_time: 1790930931.981662262 secs.nsecs start_time: 1790930897.460381990 secs.nsecs elapsed_time: 34.521280272 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790930940 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second - unlinked 0 (time 1790930953 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff9a8d53541800.enable_statahead_fname=1 llite.lustre-ffff9a8d53541800.statahead_min=8 llite.lustre-ffff9a8d53541800.statahead_batch_max=64 llite.lustre-ffff9a8d53541800.statahead_max=128