== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:25:49 (1783077949) llite.lustre-ffff9550f5d2e000.statahead_max=1024 llite.lustre-ffff9550f5d2e000.statahead_batch_max=32 llite.lustre-ffff9550f5d2e000.statahead_min=64 llite.lustre-ffff9550f5d2e000.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 0.99 seconds: 1009.29 ops/second llite.lustre-ffff9550f5d2e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9550f5d2e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9550f5d2e000.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: 1783077955.243916522 secs.nsecs start_time: 1783077952.557684091 secs.nsecs elapsed_time: 2.686232431 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 12 14 17 8: 9 10 28 16: 1 1 29 32: 60 70 100 snapshot_time: 1783077955.243962470 secs.nsecs start_time: 1783077952.558212528 secs.nsecs elapsed_time: 2.685749942 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: 1783077986.473990564 secs.nsecs start_time: 1783077952.557684091 secs.nsecs elapsed_time: 33.916306473 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 12 13 18 8: 9 10 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1783077986.474042839 secs.nsecs start_time: 1783077952.558212528 secs.nsecs elapsed_time: 33.915830311 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.20 seconds: 833.07 ops/second llite.lustre-ffff9550f5d2e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9550f5d2e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9550f5d2e000.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: 1783077991.477730329 secs.nsecs start_time: 1783077989.295603900 secs.nsecs elapsed_time: 2.182126429 secs.nsecs subreqs per batch batches %% cum %% 1: 34 27 27 2: 5 4 31 4: 7 5 37 8: 19 15 52 16: 3 2 54 32: 56 45 100 snapshot_time: 1783077991.477820568 secs.nsecs start_time: 1783077989.295665077 secs.nsecs elapsed_time: 2.182155491 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: 1783078022.084183918 secs.nsecs start_time: 1783077989.295603900 secs.nsecs elapsed_time: 32.788580018 secs.nsecs subreqs per batch batches %% cum %% 1: 35 28 28 2: 5 4 32 4: 7 5 37 8: 19 15 52 16: 3 2 55 32: 56 44 100 snapshot_time: 1783078022.084250273 secs.nsecs start_time: 1783077989.295665077 secs.nsecs elapsed_time: 32.788585196 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1783078024 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1783078027 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9550f5d2e000.enable_statahead_fname=1 llite.lustre-ffff9550f5d2e000.statahead_min=8 llite.lustre-ffff9550f5d2e000.statahead_batch_max=64 llite.lustre-ffff9550f5d2e000.statahead_max=128