== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:19:50 (1788571190) llite.lustre-ffff953031df5800.statahead_max=1024 llite.lustre-ffff953031df5800.statahead_batch_max=32 llite.lustre-ffff953031df5800.statahead_min=64 llite.lustre-ffff953031df5800.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 5.76 seconds: 173.66 ops/second llite.lustre-ffff953031df5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff953031df5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff953031df5800.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: 1788571206.434273479 secs.nsecs start_time: 1788571202.197021067 secs.nsecs elapsed_time: 4.237252412 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 7 7 17 4: 9 10 27 8: 1 1 28 16: 3 3 31 32: 60 68 100 snapshot_time: 1788571206.434329286 secs.nsecs start_time: 1788571202.197228689 secs.nsecs elapsed_time: 4.237100597 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1788571237.314257376 secs.nsecs start_time: 1788571202.197021067 secs.nsecs elapsed_time: 35.117236309 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 7 7 17 4: 9 10 28 8: 1 1 29 16: 3 3 32 32: 60 67 100 snapshot_time: 1788571237.314339890 secs.nsecs start_time: 1788571202.197228689 secs.nsecs elapsed_time: 35.117111201 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 5.39 seconds: 185.69 ops/second llite.lustre-ffff953031df5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff953031df5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff953031df5800.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: 1788571251.695392088 secs.nsecs start_time: 1788571247.951012803 secs.nsecs elapsed_time: 3.744379285 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 6 6 10 4: 7 8 18 8: 7 8 26 16: 4 4 31 32: 60 68 100 snapshot_time: 1788571251.695458657 secs.nsecs start_time: 1788571247.951109357 secs.nsecs elapsed_time: 3.744349300 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: 994 miss_total: 1 snapshot_time: 1788571282.709869379 secs.nsecs start_time: 1788571247.951012803 secs.nsecs elapsed_time: 34.758856576 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 6 6 11 4: 7 7 19 8: 7 7 27 16: 4 4 31 32: 60 68 100 snapshot_time: 1788571282.709955449 secs.nsecs start_time: 1788571247.951109357 secs.nsecs elapsed_time: 34.758846092 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788571296 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1788571305 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff953031df5800.enable_statahead_fname=1 llite.lustre-ffff953031df5800.statahead_min=8 llite.lustre-ffff953031df5800.statahead_batch_max=64 llite.lustre-ffff953031df5800.statahead_max=128