== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 12:23:29 (1788366209) llite.lustre-ffff93b07b810000.statahead_max=1024 llite.lustre-ffff93b07b810000.statahead_batch_max=32 llite.lustre-ffff93b07b810000.statahead_min=64 llite.lustre-ffff93b07b810000.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 3.82 seconds: 261.46 ops/second llite.lustre-ffff93b07b810000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93b07b810000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93b07b810000.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: 1788366220.315941257 secs.nsecs start_time: 1788366217.514596472 secs.nsecs elapsed_time: 2.801344785 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 3 3 4 4: 12 14 19 8: 6 7 26 16: 0 0 26 32: 61 73 100 snapshot_time: 1788366220.316007687 secs.nsecs start_time: 1788366217.514688145 secs.nsecs elapsed_time: 2.801319542 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: 1788366251.641065238 secs.nsecs start_time: 1788366217.514596472 secs.nsecs elapsed_time: 34.126468766 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 5 4: 12 14 20 8: 6 7 27 16: 0 0 27 32: 61 72 100 snapshot_time: 1788366251.641236090 secs.nsecs start_time: 1788366217.514688145 secs.nsecs elapsed_time: 34.126547945 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 4.25 seconds: 235.47 ops/second llite.lustre-ffff93b07b810000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93b07b810000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93b07b810000.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: 1788366261.555588643 secs.nsecs start_time: 1788366258.925557507 secs.nsecs elapsed_time: 2.630031136 secs.nsecs subreqs per batch batches %% cum %% 1: 13 14 14 2: 2 2 16 4: 1 1 17 8: 9 9 27 16: 8 8 36 32: 58 63 100 snapshot_time: 1788366261.555654043 secs.nsecs start_time: 1788366258.925651449 secs.nsecs elapsed_time: 2.630002594 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: 1788366292.860819976 secs.nsecs start_time: 1788366258.925557507 secs.nsecs elapsed_time: 33.935262469 secs.nsecs subreqs per batch batches %% cum %% 1: 14 15 15 2: 2 2 17 4: 1 1 18 8: 9 9 28 16: 8 8 36 32: 58 63 100 snapshot_time: 1788366292.860870008 secs.nsecs start_time: 1788366258.925651449 secs.nsecs elapsed_time: 33.935218559 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788366297 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1788366302 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second llite.lustre-ffff93b07b810000.enable_statahead_fname=1 llite.lustre-ffff93b07b810000.statahead_min=8 llite.lustre-ffff93b07b810000.statahead_batch_max=64 llite.lustre-ffff93b07b810000.statahead_max=128