== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:04:12 (1788519852) llite.lustre-ffff9d233c7ef800.statahead_max=1024 llite.lustre-ffff9d233c7ef800.statahead_batch_max=32 llite.lustre-ffff9d233c7ef800.statahead_min=64 llite.lustre-ffff9d233c7ef800.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 6.49 seconds: 154.17 ops/second llite.lustre-ffff9d233c7ef800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d233c7ef800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d233c7ef800.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: 1788519869.407320818 secs.nsecs start_time: 1788519865.020918417 secs.nsecs elapsed_time: 4.386402401 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 6 6 13 4: 11 12 25 8: 6 6 32 16: 1 1 33 32: 59 66 100 snapshot_time: 1788519869.407458790 secs.nsecs start_time: 1788519865.022028113 secs.nsecs elapsed_time: 4.385430677 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: 1788519900.084742501 secs.nsecs start_time: 1788519865.020918417 secs.nsecs elapsed_time: 35.063824084 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 6 6 14 4: 11 12 26 8: 6 6 33 16: 1 1 34 32: 59 65 100 snapshot_time: 1788519900.084807629 secs.nsecs start_time: 1788519865.022028113 secs.nsecs elapsed_time: 35.062779516 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 6.85 seconds: 146.06 ops/second llite.lustre-ffff9d233c7ef800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d233c7ef800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d233c7ef800.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: 1788519916.038043794 secs.nsecs start_time: 1788519912.302208229 secs.nsecs elapsed_time: 3.735835565 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 1 1 11 4: 3 3 15 8: 9 10 25 16: 5 5 31 32: 59 68 100 snapshot_time: 1788519916.038108074 secs.nsecs start_time: 1788519912.302411565 secs.nsecs elapsed_time: 3.735696509 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: 1788519946.329890517 secs.nsecs start_time: 1788519912.302208229 secs.nsecs elapsed_time: 34.027682288 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 1 1 12 4: 3 3 16 8: 9 10 26 16: 5 5 32 32: 59 67 100 snapshot_time: 1788519946.329957260 secs.nsecs start_time: 1788519912.302411565 secs.nsecs elapsed_time: 34.027545695 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788519956 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1788519966 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9d233c7ef800.enable_statahead_fname=1 llite.lustre-ffff9d233c7ef800.statahead_min=8 llite.lustre-ffff9d233c7ef800.statahead_batch_max=64 llite.lustre-ffff9d233c7ef800.statahead_max=128