== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:20:28 (1787476828) llite.lustre-ffff9b5e07ebd800.statahead_max=1024 llite.lustre-ffff9b5e07ebd800.statahead_batch_max=32 llite.lustre-ffff9b5e07ebd800.statahead_min=64 llite.lustre-ffff9b5e07ebd800.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.05 seconds: 165.27 ops/second llite.lustre-ffff9b5e07ebd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b5e07ebd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b5e07ebd800.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: 1787476844.592495644 secs.nsecs start_time: 1787476840.536493352 secs.nsecs elapsed_time: 4.056002292 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 4 4 12 4: 12 13 25 8: 4 4 30 16: 3 3 33 32: 59 66 100 snapshot_time: 1787476844.592566377 secs.nsecs start_time: 1787476840.536725965 secs.nsecs elapsed_time: 4.055840412 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1787476875.208248292 secs.nsecs start_time: 1787476840.536493352 secs.nsecs elapsed_time: 34.671754940 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 4 4 13 4: 12 13 26 8: 4 4 31 16: 3 3 34 32: 59 65 100 snapshot_time: 1787476875.208347645 secs.nsecs start_time: 1787476840.536725965 secs.nsecs elapsed_time: 34.671621680 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.98 seconds: 167.17 ops/second llite.lustre-ffff9b5e07ebd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b5e07ebd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b5e07ebd800.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: 1787476890.611082930 secs.nsecs start_time: 1787476886.920338811 secs.nsecs elapsed_time: 3.690744119 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 2 2 13 4: 5 5 19 8: 3 3 22 16: 7 8 31 32: 60 68 100 snapshot_time: 1787476890.611156023 secs.nsecs start_time: 1787476886.920478514 secs.nsecs elapsed_time: 3.690677509 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1787476922.235963958 secs.nsecs start_time: 1787476886.920338811 secs.nsecs elapsed_time: 35.315625147 secs.nsecs subreqs per batch batches %% cum %% 1: 11 12 12 2: 2 2 14 4: 5 5 20 8: 3 3 23 16: 7 7 31 32: 60 68 100 snapshot_time: 1787476922.236034027 secs.nsecs start_time: 1787476886.920478514 secs.nsecs elapsed_time: 35.315555513 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787476931 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787476941 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff9b5e07ebd800.enable_statahead_fname=1 llite.lustre-ffff9b5e07ebd800.statahead_min=8 llite.lustre-ffff9b5e07ebd800.statahead_batch_max=64 llite.lustre-ffff9b5e07ebd800.statahead_max=128