== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 17:47:55 (1784411275) llite.lustre-ffff9894c5401800.statahead_max=1024 llite.lustre-ffff9894c5401800.statahead_batch_max=32 llite.lustre-ffff9894c5401800.statahead_min=64 llite.lustre-ffff9894c5401800.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.15 seconds: 870.49 ops/second llite.lustre-ffff9894c5401800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9894c5401800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9894c5401800.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: 1784411280.092484058 secs.nsecs start_time: 1784411278.198095749 secs.nsecs elapsed_time: 1.894388309 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 22 25 28 8: 2 2 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1784411280.092541603 secs.nsecs start_time: 1784411278.198183904 secs.nsecs elapsed_time: 1.894357699 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: 1784411311.243627939 secs.nsecs start_time: 1784411278.198095749 secs.nsecs elapsed_time: 33.045532190 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 0 0 4 4: 22 25 29 8: 2 2 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1784411311.243681877 secs.nsecs start_time: 1784411278.198183904 secs.nsecs elapsed_time: 33.045497973 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.11 seconds: 898.70 ops/second llite.lustre-ffff9894c5401800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9894c5401800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9894c5401800.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: 1784411316.504836483 secs.nsecs start_time: 1784411314.185201433 secs.nsecs elapsed_time: 2.319635050 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 2 2 11 4: 0 0 11 8: 14 16 27 16: 6 6 34 32: 57 65 100 snapshot_time: 1784411316.504907434 secs.nsecs start_time: 1784411314.185277734 secs.nsecs elapsed_time: 2.319629700 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: 1784411347.721460723 secs.nsecs start_time: 1784411314.185201433 secs.nsecs elapsed_time: 33.536259290 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 2 2 12 4: 0 0 12 8: 14 15 28 16: 6 6 35 32: 57 64 100 snapshot_time: 1784411347.721510949 secs.nsecs start_time: 1784411314.185277734 secs.nsecs elapsed_time: 33.536233215 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1784411350 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1784411352 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff9894c5401800.enable_statahead_fname=1 llite.lustre-ffff9894c5401800.statahead_min=8 llite.lustre-ffff9894c5401800.statahead_batch_max=64 llite.lustre-ffff9894c5401800.statahead_max=128