== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:05:35 (1787396735) llite.lustre-ffff9437469f4800.statahead_max=1024 llite.lustre-ffff9437469f4800.statahead_batch_max=32 llite.lustre-ffff9437469f4800.statahead_min=64 llite.lustre-ffff9437469f4800.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.16 seconds: 162.22 ops/second llite.lustre-ffff9437469f4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9437469f4800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9437469f4800.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: 1787396752.230401609 secs.nsecs start_time: 1787396747.448094265 secs.nsecs elapsed_time: 4.782307344 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 6 6 12 4: 14 15 28 8: 3 3 31 16: 1 1 32 32: 60 67 100 snapshot_time: 1787396752.230463586 secs.nsecs start_time: 1787396747.448228945 secs.nsecs elapsed_time: 4.782234641 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 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: 1787396783.753340118 secs.nsecs start_time: 1787396747.448094265 secs.nsecs elapsed_time: 36.305245853 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 6 6 13 4: 14 15 28 8: 3 3 32 16: 1 1 33 32: 60 66 100 snapshot_time: 1787396783.753410791 secs.nsecs start_time: 1787396747.448228945 secs.nsecs elapsed_time: 36.305181846 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.83 seconds: 171.63 ops/second llite.lustre-ffff9437469f4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9437469f4800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9437469f4800.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: 1787396801.242225839 secs.nsecs start_time: 1787396795.988636554 secs.nsecs elapsed_time: 5.253589285 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 7 7 19 4: 3 3 22 8: 6 6 29 16: 7 7 36 32: 58 63 100 snapshot_time: 1787396801.242377684 secs.nsecs start_time: 1787396795.988789574 secs.nsecs elapsed_time: 5.253588110 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: 1787396831.871425116 secs.nsecs start_time: 1787396795.988636554 secs.nsecs elapsed_time: 35.882788562 secs.nsecs subreqs per batch batches %% cum %% 1: 12 12 12 2: 7 7 20 4: 3 3 23 8: 6 6 30 16: 7 7 37 32: 58 62 100 snapshot_time: 1787396831.871935949 secs.nsecs start_time: 1787396795.988789574 secs.nsecs elapsed_time: 35.883146375 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787396840 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1787396850 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff9437469f4800.enable_statahead_fname=1 llite.lustre-ffff9437469f4800.statahead_min=8 llite.lustre-ffff9437469f4800.statahead_batch_max=64 llite.lustre-ffff9437469f4800.statahead_max=128