== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 12:43:17 (1783356197) llite.lustre-ffff949cc4ccc800.statahead_max=1024 llite.lustre-ffff949cc4ccc800.statahead_batch_max=32 llite.lustre-ffff949cc4ccc800.statahead_min=64 llite.lustre-ffff949cc4ccc800.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 1.07 seconds: 935.62 ops/second llite.lustre-ffff949cc4ccc800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff949cc4ccc800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff949cc4ccc800.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: 1783356203.002761822 secs.nsecs start_time: 1783356200.269678441 secs.nsecs elapsed_time: 2.733083381 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 8 9 13 8: 12 14 27 16: 0 0 27 32: 60 72 100 snapshot_time: 1783356203.002801899 secs.nsecs start_time: 1783356200.269731618 secs.nsecs elapsed_time: 2.733070281 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: 1783356234.177839491 secs.nsecs start_time: 1783356200.269678441 secs.nsecs elapsed_time: 33.908161050 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 0 0 4 4: 8 9 14 8: 12 14 28 16: 0 0 28 32: 60 71 100 snapshot_time: 1783356234.177941509 secs.nsecs start_time: 1783356200.269731618 secs.nsecs elapsed_time: 33.908209891 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 1.07 seconds: 933.60 ops/second llite.lustre-ffff949cc4ccc800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff949cc4ccc800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff949cc4ccc800.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: 1783356239.822896040 secs.nsecs start_time: 1783356237.028228556 secs.nsecs elapsed_time: 2.794667484 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 1 1 12 4: 0 0 12 8: 17 18 30 16: 7 7 38 32: 56 61 100 snapshot_time: 1783356239.822938487 secs.nsecs start_time: 1783356237.028298395 secs.nsecs elapsed_time: 2.794640092 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: 1783356271.181337292 secs.nsecs start_time: 1783356237.028228556 secs.nsecs elapsed_time: 34.153108736 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 1 1 13 4: 0 0 13 8: 17 18 31 16: 7 7 39 32: 56 60 100 snapshot_time: 1783356271.181413181 secs.nsecs start_time: 1783356237.028298395 secs.nsecs elapsed_time: 34.153114786 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1783356273 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1783356276 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff949cc4ccc800.enable_statahead_fname=1 llite.lustre-ffff949cc4ccc800.statahead_min=8 llite.lustre-ffff949cc4ccc800.statahead_batch_max=64 llite.lustre-ffff949cc4ccc800.statahead_max=128