== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 09:56:05 (1787752565) llite.lustre-ffff9d0ba7cf0000.statahead_max=1024 llite.lustre-ffff9d0ba7cf0000.statahead_batch_max=32 llite.lustre-ffff9d0ba7cf0000.statahead_min=64 llite.lustre-ffff9d0ba7cf0000.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.86 seconds: 145.67 ops/second llite.lustre-ffff9d0ba7cf0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d0ba7cf0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d0ba7cf0000.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: 1787752581.552191604 secs.nsecs start_time: 1787752578.403099607 secs.nsecs elapsed_time: 3.149091997 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 8 4: 6 7 16 8: 2 2 18 16: 5 6 24 32: 61 75 100 snapshot_time: 1787752581.552260381 secs.nsecs start_time: 1787752578.403502669 secs.nsecs elapsed_time: 3.148757712 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787752612.846577505 secs.nsecs start_time: 1787752578.403099607 secs.nsecs elapsed_time: 34.443477898 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 6 7 17 8: 2 2 19 16: 5 6 25 32: 61 74 100 snapshot_time: 1787752612.846644825 secs.nsecs start_time: 1787752578.403502669 secs.nsecs elapsed_time: 34.443142156 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 4.75 seconds: 210.44 ops/second llite.lustre-ffff9d0ba7cf0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d0ba7cf0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d0ba7cf0000.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: 1787752627.456045019 secs.nsecs start_time: 1787752623.231167679 secs.nsecs elapsed_time: 4.224877340 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 5 4: 3 3 8 8: 5 6 15 16: 8 10 25 32: 59 74 100 snapshot_time: 1787752627.456109067 secs.nsecs start_time: 1787752623.231393992 secs.nsecs elapsed_time: 4.224715075 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: 1787752658.827262317 secs.nsecs start_time: 1787752623.231167679 secs.nsecs elapsed_time: 35.596094638 secs.nsecs subreqs per batch batches %% cum %% 1: 4 5 5 2: 1 1 6 4: 3 3 10 8: 5 6 16 16: 8 10 26 32: 59 73 100 snapshot_time: 1787752658.827324755 secs.nsecs start_time: 1787752623.231393992 secs.nsecs elapsed_time: 35.595930763 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787752670 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second - unlinked 0 (time 1787752684 ; total 0 ; last 0) total: 1000 unlinks in 15 seconds: 66.666664 unlinks/second llite.lustre-ffff9d0ba7cf0000.enable_statahead_fname=1 llite.lustre-ffff9d0ba7cf0000.statahead_min=8 llite.lustre-ffff9d0ba7cf0000.statahead_batch_max=64 llite.lustre-ffff9d0ba7cf0000.statahead_max=128