== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 04:02:24 (1788854544) llite.lustre-ffff99a91819e800.statahead_max=1024 llite.lustre-ffff99a91819e800.statahead_batch_max=32 llite.lustre-ffff99a91819e800.statahead_min=64 llite.lustre-ffff99a91819e800.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.90 seconds: 126.65 ops/second llite.lustre-ffff99a91819e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99a91819e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99a91819e800.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: 1788854566.981521445 secs.nsecs start_time: 1788854561.061298513 secs.nsecs elapsed_time: 5.920222932 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 3 3 5 4: 6 7 12 8: 5 6 19 16: 4 5 24 32: 59 75 100 snapshot_time: 1788854566.981577012 secs.nsecs start_time: 1788854561.061369586 secs.nsecs elapsed_time: 5.920207426 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: 1788854597.406793814 secs.nsecs start_time: 1788854561.061298513 secs.nsecs elapsed_time: 36.345495301 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 6 7 13 8: 5 6 20 16: 4 5 25 32: 59 74 100 snapshot_time: 1788854597.406860287 secs.nsecs start_time: 1788854561.061369586 secs.nsecs elapsed_time: 36.345490701 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.67 seconds: 176.39 ops/second llite.lustre-ffff99a91819e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99a91819e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99a91819e800.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: 1788854611.434032616 secs.nsecs start_time: 1788854608.145537493 secs.nsecs elapsed_time: 3.288495123 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 3 3 11 4: 6 6 17 8: 9 10 27 16: 8 8 36 32: 57 63 100 snapshot_time: 1788854611.434095425 secs.nsecs start_time: 1788854608.145605141 secs.nsecs elapsed_time: 3.288490284 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1788854642.428985455 secs.nsecs start_time: 1788854608.145537493 secs.nsecs elapsed_time: 34.283447962 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 3 3 12 4: 6 6 18 8: 9 9 28 16: 8 8 37 32: 57 62 100 snapshot_time: 1788854642.429141592 secs.nsecs start_time: 1788854608.145605141 secs.nsecs elapsed_time: 34.283536451 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788854650 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1788854659 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff99a91819e800.enable_statahead_fname=1 llite.lustre-ffff99a91819e800.statahead_min=8 llite.lustre-ffff99a91819e800.statahead_batch_max=64 llite.lustre-ffff99a91819e800.statahead_max=128