== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:05:06 (1784088306) llite.lustre-ffff9d173c357800.statahead_max=1024 llite.lustre-ffff9d173c357800.statahead_batch_max=32 llite.lustre-ffff9d173c357800.statahead_min=64 llite.lustre-ffff9d173c357800.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 1.06 seconds: 939.64 ops/second llite.lustre-ffff9d173c357800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d173c357800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d173c357800.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: 1784088312.218113345 secs.nsecs start_time: 1784088309.998521529 secs.nsecs elapsed_time: 2.219591816 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 4 4 5 4: 20 23 29 8: 1 1 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1784088312.218158521 secs.nsecs start_time: 1784088309.998592352 secs.nsecs elapsed_time: 2.219566169 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: 1784088343.465920389 secs.nsecs start_time: 1784088309.998521529 secs.nsecs elapsed_time: 33.467398860 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 4 4 6 4: 20 22 29 8: 1 1 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1784088343.465983764 secs.nsecs start_time: 1784088309.998592352 secs.nsecs elapsed_time: 33.467391412 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 1.05 seconds: 949.23 ops/second llite.lustre-ffff9d173c357800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d173c357800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d173c357800.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: 1784088347.881894504 secs.nsecs start_time: 1784088346.194629366 secs.nsecs elapsed_time: 1.687265138 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 5 5 12 4: 3 3 15 8: 16 16 32 16: 8 8 41 32: 56 58 100 snapshot_time: 1784088347.881929464 secs.nsecs start_time: 1784088346.194682056 secs.nsecs elapsed_time: 1.687247408 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1784088379.004871509 secs.nsecs start_time: 1784088346.194629366 secs.nsecs elapsed_time: 32.810242143 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 13 4: 3 3 16 8: 16 16 33 16: 8 8 41 32: 56 58 100 snapshot_time: 1784088379.004919821 secs.nsecs start_time: 1784088346.194682056 secs.nsecs elapsed_time: 32.810237765 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1784088381 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1784088383 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9d173c357800.enable_statahead_fname=1 llite.lustre-ffff9d173c357800.statahead_min=8 llite.lustre-ffff9d173c357800.statahead_batch_max=64 llite.lustre-ffff9d173c357800.statahead_max=128