== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:40:35 (1780000835) llite.lustre-ffff9551c7f27000.statahead_max=1024 llite.lustre-ffff9551c7f27000.statahead_batch_max=32 llite.lustre-ffff9551c7f27000.statahead_min=64 llite.lustre-ffff9551c7f27000.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 5.46 seconds: 183.08 ops/second llite.lustre-ffff9551c7f27000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9551c7f27000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9551c7f27000.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: 1780000850.932834237 secs.nsecs start_time: 1780000847.053289070 secs.nsecs elapsed_time: 3.879545167 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 1 1 5 4: 9 10 16 8: 9 10 27 16: 2 2 29 32: 60 70 100 snapshot_time: 1780000850.932908091 secs.nsecs start_time: 1780000847.053417326 secs.nsecs elapsed_time: 3.879490765 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: 1780000882.260368641 secs.nsecs start_time: 1780000847.053289070 secs.nsecs elapsed_time: 35.207079571 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 1 1 6 4: 9 10 17 8: 9 10 27 16: 2 2 30 32: 60 69 100 snapshot_time: 1780000882.261895319 secs.nsecs start_time: 1780000847.053417326 secs.nsecs elapsed_time: 35.208477993 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 7.40 seconds: 135.20 ops/second llite.lustre-ffff9551c7f27000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9551c7f27000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9551c7f27000.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: 1780000901.614484842 secs.nsecs start_time: 1780000896.728915969 secs.nsecs elapsed_time: 4.885568873 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 2 2 7 4: 7 8 15 8: 8 9 25 16: 2 2 28 32: 59 71 100 snapshot_time: 1780000901.614578350 secs.nsecs start_time: 1780000896.729080994 secs.nsecs elapsed_time: 4.885497356 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 '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1780000932.230042523 secs.nsecs start_time: 1780000896.728915969 secs.nsecs elapsed_time: 35.501126554 secs.nsecs subreqs per batch batches % cum % 1: 5 6 6 2: 2 2 8 4: 7 8 16 8: 8 9 26 16: 2 2 28 32: 59 71 100 snapshot_time: 1780000932.230106733 secs.nsecs start_time: 1780000896.729080994 secs.nsecs elapsed_time: 35.501025739 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1780000945 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1780000955 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff9551c7f27000.enable_statahead_fname=1 llite.lustre-ffff9551c7f27000.statahead_min=8 llite.lustre-ffff9551c7f27000.statahead_batch_max=64 llite.lustre-ffff9551c7f27000.statahead_max=128