== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:46:49 (1789073209) llite.lustre-ffff948648072000.statahead_max=1024 llite.lustre-ffff948648072000.statahead_batch_max=32 llite.lustre-ffff948648072000.statahead_min=64 llite.lustre-ffff948648072000.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.41 seconds: 134.98 ops/second llite.lustre-ffff948648072000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948648072000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948648072000.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: 1789073229.033857360 secs.nsecs start_time: 1789073224.255538467 secs.nsecs elapsed_time: 4.778318893 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 2 2 10 4: 9 10 21 8: 5 5 27 16: 1 1 28 32: 60 71 100 snapshot_time: 1789073229.033919528 secs.nsecs start_time: 1789073224.255649671 secs.nsecs elapsed_time: 4.778269857 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: 1789073260.466281679 secs.nsecs start_time: 1789073224.255538467 secs.nsecs elapsed_time: 36.210743212 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 2 2 11 4: 9 10 22 8: 5 5 28 16: 1 1 29 32: 60 70 100 snapshot_time: 1789073260.466352803 secs.nsecs start_time: 1789073224.255649671 secs.nsecs elapsed_time: 36.210703132 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.61 seconds: 131.44 ops/second llite.lustre-ffff948648072000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948648072000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948648072000.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: 1789073278.437814310 secs.nsecs start_time: 1789073274.179423910 secs.nsecs elapsed_time: 4.258390400 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 4 4 14 4: 10 10 24 8: 11 11 35 16: 6 6 41 32: 57 58 100 snapshot_time: 1789073278.437880618 secs.nsecs start_time: 1789073274.179611195 secs.nsecs elapsed_time: 4.258269423 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: 1789073309.131358032 secs.nsecs start_time: 1789073274.179423910 secs.nsecs elapsed_time: 34.951934122 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 4 4 15 4: 10 10 25 8: 11 11 36 16: 6 6 42 32: 57 57 100 snapshot_time: 1789073309.131421853 secs.nsecs start_time: 1789073274.179611195 secs.nsecs elapsed_time: 34.951810658 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789073323 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1789073335 ; total 0 ; last 0) total: 1000 unlinks in 25 seconds: 40.000000 unlinks/second llite.lustre-ffff948648072000.enable_statahead_fname=1 llite.lustre-ffff948648072000.statahead_min=8 llite.lustre-ffff948648072000.statahead_batch_max=64 llite.lustre-ffff948648072000.statahead_max=128