== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 09:16:25 (1787750185) llite.lustre-ffff93f5a5e0f800.statahead_max=1024 llite.lustre-ffff93f5a5e0f800.statahead_batch_max=32 llite.lustre-ffff93f5a5e0f800.statahead_min=64 llite.lustre-ffff93f5a5e0f800.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 5.66 seconds: 176.56 ops/second llite.lustre-ffff93f5a5e0f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93f5a5e0f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93f5a5e0f800.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: 1787750201.557411660 secs.nsecs start_time: 1787750197.055431427 secs.nsecs elapsed_time: 4.501980233 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 8 9 15 8: 4 4 20 16: 6 7 28 32: 59 71 100 snapshot_time: 1787750201.557477624 secs.nsecs start_time: 1787750197.055507722 secs.nsecs elapsed_time: 4.501969902 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: 1787750231.958039328 secs.nsecs start_time: 1787750197.055431427 secs.nsecs elapsed_time: 34.902607901 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 8 9 16 8: 4 4 21 16: 6 7 28 32: 59 71 100 snapshot_time: 1787750231.958096748 secs.nsecs start_time: 1787750197.055507722 secs.nsecs elapsed_time: 34.902589026 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.43 seconds: 155.48 ops/second llite.lustre-ffff93f5a5e0f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93f5a5e0f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93f5a5e0f800.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: 1787750247.539653455 secs.nsecs start_time: 1787750243.825677952 secs.nsecs elapsed_time: 3.713975503 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 9 4: 5 5 15 8: 8 9 24 16: 4 4 29 32: 60 70 100 snapshot_time: 1787750247.539715223 secs.nsecs start_time: 1787750243.826016997 secs.nsecs elapsed_time: 3.713698226 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: 994 miss_total: 1 snapshot_time: 1787750278.396503389 secs.nsecs start_time: 1787750243.825677952 secs.nsecs elapsed_time: 34.570825437 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 3 3 10 4: 5 5 16 8: 8 9 25 16: 4 4 30 32: 60 69 100 snapshot_time: 1787750278.396570084 secs.nsecs start_time: 1787750243.826016997 secs.nsecs elapsed_time: 34.570553087 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787750289 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1787750302 ; total 1 ; last 1) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff93f5a5e0f800.enable_statahead_fname=1 llite.lustre-ffff93f5a5e0f800.statahead_min=8 llite.lustre-ffff93f5a5e0f800.statahead_batch_max=64 llite.lustre-ffff93f5a5e0f800.statahead_max=128