== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 03:59:29 (1789027169) llite.lustre-ffff9946120b2000.statahead_max=1024 llite.lustre-ffff9946120b2000.statahead_batch_max=32 llite.lustre-ffff9946120b2000.statahead_min=64 llite.lustre-ffff9946120b2000.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.74 seconds: 174.27 ops/second llite.lustre-ffff9946120b2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9946120b2000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9946120b2000.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: 1789027185.141170788 secs.nsecs start_time: 1789027181.053858050 secs.nsecs elapsed_time: 4.087312738 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 5 4: 14 16 22 8: 6 6 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1789027185.141240102 secs.nsecs start_time: 1789027181.054061433 secs.nsecs elapsed_time: 4.087178669 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: 1789027215.611781083 secs.nsecs start_time: 1789027181.053858050 secs.nsecs elapsed_time: 34.557923033 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 6 4: 14 16 22 8: 6 6 29 16: 1 1 31 32: 60 68 100 snapshot_time: 1789027215.611957264 secs.nsecs start_time: 1789027181.054061433 secs.nsecs elapsed_time: 34.557895831 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.68 seconds: 130.28 ops/second llite.lustre-ffff9946120b2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9946120b2000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9946120b2000.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: 1789027231.447313956 secs.nsecs start_time: 1789027228.134444518 secs.nsecs elapsed_time: 3.312869438 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 5 6 8 8: 6 7 16 16: 5 6 23 32: 60 76 100 snapshot_time: 1789027231.447379439 secs.nsecs start_time: 1789027228.134604818 secs.nsecs elapsed_time: 3.312774621 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 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: 1789027262.816181793 secs.nsecs start_time: 1789027228.134444518 secs.nsecs elapsed_time: 34.681737275 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 5 6 10 8: 6 7 17 16: 5 6 24 32: 60 75 100 snapshot_time: 1789027262.816265550 secs.nsecs start_time: 1789027228.134604818 secs.nsecs elapsed_time: 34.681660732 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789027270 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1789027280 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff9946120b2000.enable_statahead_fname=1 llite.lustre-ffff9946120b2000.statahead_min=8 llite.lustre-ffff9946120b2000.statahead_batch_max=64 llite.lustre-ffff9946120b2000.statahead_max=128