== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 06:27:54 (1781000874) llite.lustre-ffff8b191216d000.statahead_max=1024 llite.lustre-ffff8b191216d000.statahead_batch_max=32 llite.lustre-ffff8b191216d000.statahead_min=64 llite.lustre-ffff8b191216d000.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 7.99 seconds: 125.14 ops/second llite.lustre-ffff8b191216d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b191216d000.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: 1781000893.037674915 secs.nsecs start_time: 1781000888.815297976 secs.nsecs elapsed_time: 4.222376939 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 10 10 15 4: 12 12 28 8: 8 8 36 16: 1 1 37 32: 59 62 100 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: 1781000923.511328209 secs.nsecs start_time: 1781000888.815297976 secs.nsecs elapsed_time: 34.696030233 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 10 10 16 4: 12 12 29 8: 8 8 37 16: 1 1 38 32: 59 61 100 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.76 seconds: 147.88 ops/second llite.lustre-ffff8b191216d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b191216d000.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: 1781000937.994187951 secs.nsecs start_time: 1781000934.773927776 secs.nsecs elapsed_time: 3.220260175 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 3 3 10 4: 8 9 19 8: 4 4 24 16: 3 3 27 32: 62 72 100 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: 1781000969.439499311 secs.nsecs start_time: 1781000934.773927776 secs.nsecs elapsed_time: 34.665571535 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 3 3 11 4: 8 9 20 8: 4 4 25 16: 3 3 28 32: 62 71 100 - unlinked 0 (time 1781000978 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second - unlinked 0 (time 1781000991 ; total 0 ; last 0) total: 1000 unlinks in 17 seconds: 58.823528 unlinks/second llite.lustre-ffff8b191216d000.enable_statahead_fname=1 llite.lustre-ffff8b191216d000.statahead_min=8 llite.lustre-ffff8b191216d000.statahead_batch_max=64 llite.lustre-ffff8b191216d000.statahead_max=128