== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:31:35 (1788496295) llite.lustre-ffff905311166000.statahead_max=1024 llite.lustre-ffff905311166000.statahead_batch_max=32 llite.lustre-ffff905311166000.statahead_min=64 llite.lustre-ffff905311166000.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.16 seconds: 139.73 ops/second llite.lustre-ffff905311166000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff905311166000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff905311166000.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: 1788496314.632046130 secs.nsecs start_time: 1788496309.717494060 secs.nsecs elapsed_time: 4.914552070 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 7 7 12 4: 11 12 25 8: 6 6 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1788496314.632448907 secs.nsecs start_time: 1788496309.717587548 secs.nsecs elapsed_time: 4.914861359 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: 1788496345.827792435 secs.nsecs start_time: 1788496309.717494060 secs.nsecs elapsed_time: 36.110298375 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 7 7 13 4: 11 12 25 8: 6 6 32 16: 1 1 33 32: 59 66 100 snapshot_time: 1788496345.833549935 secs.nsecs start_time: 1788496309.717587548 secs.nsecs elapsed_time: 36.115962387 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.95 seconds: 143.88 ops/second llite.lustre-ffff905311166000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff905311166000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff905311166000.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: 1788496363.270001176 secs.nsecs start_time: 1788496358.836648220 secs.nsecs elapsed_time: 4.433352956 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 0 0 8 4: 7 8 16 8: 9 10 26 16: 7 8 34 32: 57 65 100 snapshot_time: 1788496363.270081048 secs.nsecs start_time: 1788496358.836745129 secs.nsecs elapsed_time: 4.433335919 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: 994 miss_total: 1 snapshot_time: 1788496394.137497843 secs.nsecs start_time: 1788496358.836648220 secs.nsecs elapsed_time: 35.300849623 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 0 0 9 4: 7 7 17 8: 9 10 27 16: 7 7 35 32: 57 64 100 snapshot_time: 1788496394.137566385 secs.nsecs start_time: 1788496358.836745129 secs.nsecs elapsed_time: 35.300821256 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788496405 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second - unlinked 0 (time 1788496419 ; total 0 ; last 0) total: 1000 unlinks in 15 seconds: 66.666664 unlinks/second llite.lustre-ffff905311166000.enable_statahead_fname=1 llite.lustre-ffff905311166000.statahead_min=8 llite.lustre-ffff905311166000.statahead_batch_max=64 llite.lustre-ffff905311166000.statahead_max=128