== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:00:25 (1787781625) llite.lustre-ffff946912672800.statahead_max=1024 llite.lustre-ffff946912672800.statahead_batch_max=32 llite.lustre-ffff946912672800.statahead_min=64 llite.lustre-ffff946912672800.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.76 seconds: 173.49 ops/second llite.lustre-ffff946912672800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff946912672800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff946912672800.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: 1787781642.076683983 secs.nsecs start_time: 1787781636.886225711 secs.nsecs elapsed_time: 5.190458272 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 8 8 16 4: 8 8 25 8: 6 6 31 16: 3 3 35 32: 59 64 100 snapshot_time: 1787781642.077163605 secs.nsecs start_time: 1787781636.886341152 secs.nsecs elapsed_time: 5.190822453 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787781673.217076047 secs.nsecs start_time: 1787781636.886225711 secs.nsecs elapsed_time: 36.330850336 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 8 8 17 4: 8 8 26 8: 6 6 32 16: 3 3 35 32: 59 64 100 snapshot_time: 1787781673.217144175 secs.nsecs start_time: 1787781636.886341152 secs.nsecs elapsed_time: 36.330803023 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.63 seconds: 216.01 ops/second llite.lustre-ffff946912672800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff946912672800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff946912672800.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: 1787781686.307830613 secs.nsecs start_time: 1787781682.989085903 secs.nsecs elapsed_time: 3.318744710 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 3 3 11 8: 8 9 21 16: 6 7 28 32: 60 71 100 snapshot_time: 1787781686.307895710 secs.nsecs start_time: 1787781682.989225899 secs.nsecs elapsed_time: 3.318669811 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: 995 miss_total: 0 snapshot_time: 1787781717.804022528 secs.nsecs start_time: 1787781682.989085903 secs.nsecs elapsed_time: 34.814936625 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 9 4: 3 3 12 8: 8 9 22 16: 6 7 29 32: 60 70 100 snapshot_time: 1787781717.804089796 secs.nsecs start_time: 1787781682.989225899 secs.nsecs elapsed_time: 34.814863897 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787781725 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787781734 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff946912672800.enable_statahead_fname=1 llite.lustre-ffff946912672800.statahead_min=8 llite.lustre-ffff946912672800.statahead_batch_max=64 llite.lustre-ffff946912672800.statahead_max=128