== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:00:23 (1783972823) llite.lustre-ffff9404d957b800.statahead_max=1024 llite.lustre-ffff9404d957b800.statahead_batch_max=32 llite.lustre-ffff9404d957b800.statahead_min=64 llite.lustre-ffff9404d957b800.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.01 seconds: 166.44 ops/second llite.lustre-ffff9404d957b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9404d957b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9404d957b800.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: 1783972838.982301493 secs.nsecs start_time: 1783972835.058609159 secs.nsecs elapsed_time: 3.923692334 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 11 4: 12 13 24 8: 7 7 32 16: 1 1 33 32: 59 66 100 snapshot_time: 1783972838.982381253 secs.nsecs start_time: 1783972835.058838159 secs.nsecs elapsed_time: 3.923543094 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: 1783972870.087610507 secs.nsecs start_time: 1783972835.058609159 secs.nsecs elapsed_time: 35.029001348 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 4 4 12 4: 12 13 25 8: 7 7 33 16: 1 1 34 32: 59 65 100 snapshot_time: 1783972870.087713093 secs.nsecs start_time: 1783972835.058838159 secs.nsecs elapsed_time: 35.028874934 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.51 seconds: 221.86 ops/second llite.lustre-ffff9404d957b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9404d957b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9404d957b800.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: 1783972882.843602783 secs.nsecs start_time: 1783972879.544331614 secs.nsecs elapsed_time: 3.299271169 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 4 4 14 4: 5 5 20 8: 9 10 30 16: 2 2 32 32: 60 67 100 snapshot_time: 1783972882.843709650 secs.nsecs start_time: 1783972879.545143916 secs.nsecs elapsed_time: 3.298565734 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: 994 miss_total: 1 snapshot_time: 1783972913.219992076 secs.nsecs start_time: 1783972879.544331614 secs.nsecs elapsed_time: 33.675660462 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 4 4 15 4: 5 5 21 8: 9 10 31 16: 2 2 33 32: 60 66 100 snapshot_time: 1783972913.220056863 secs.nsecs start_time: 1783972879.545143916 secs.nsecs elapsed_time: 33.674912947 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1783972921 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1783972932 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff9404d957b800.enable_statahead_fname=1 llite.lustre-ffff9404d957b800.statahead_min=8 llite.lustre-ffff9404d957b800.statahead_batch_max=64 llite.lustre-ffff9404d957b800.statahead_max=128