== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 01:46:52 (1789192012) llite.lustre-ffff90e89e8b8800.statahead_max=1024 llite.lustre-ffff90e89e8b8800.statahead_batch_max=32 llite.lustre-ffff90e89e8b8800.statahead_min=64 llite.lustre-ffff90e89e8b8800.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.03 seconds: 968.01 ops/second llite.lustre-ffff90e89e8b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff90e89e8b8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff90e89e8b8800.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: 1789192017.829632683 secs.nsecs start_time: 1789192015.494424301 secs.nsecs elapsed_time: 2.335208382 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 0 0 1 4: 20 23 25 8: 3 3 28 16: 0 0 28 32: 60 71 100 snapshot_time: 1789192017.829709221 secs.nsecs start_time: 1789192015.494522250 secs.nsecs elapsed_time: 2.335186971 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: 1789192049.057950713 secs.nsecs start_time: 1789192015.494424301 secs.nsecs elapsed_time: 33.563526412 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 20 23 25 8: 3 3 29 16: 0 0 29 32: 60 70 100 snapshot_time: 1789192049.058009573 secs.nsecs start_time: 1789192015.494522250 secs.nsecs elapsed_time: 33.563487323 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.15 seconds: 866.90 ops/second llite.lustre-ffff90e89e8b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff90e89e8b8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff90e89e8b8800.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: 1789192054.358999638 secs.nsecs start_time: 1789192052.009804340 secs.nsecs elapsed_time: 2.349195298 secs.nsecs subreqs per batch batches %% cum %% 1: 24 22 22 2: 4 3 25 4: 7 6 32 8: 13 11 44 16: 3 2 46 32: 58 53 100 snapshot_time: 1789192054.359060368 secs.nsecs start_time: 1789192052.009861038 secs.nsecs elapsed_time: 2.349199330 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: 1789192085.665376135 secs.nsecs start_time: 1789192052.009804340 secs.nsecs elapsed_time: 33.655571795 secs.nsecs subreqs per batch batches %% cum %% 1: 25 22 22 2: 4 3 26 4: 7 6 32 8: 13 11 44 16: 3 2 47 32: 58 52 100 snapshot_time: 1789192085.665433517 secs.nsecs start_time: 1789192052.009861038 secs.nsecs elapsed_time: 33.655572479 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789192088 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1789192090 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff90e89e8b8800.enable_statahead_fname=1 llite.lustre-ffff90e89e8b8800.statahead_min=8 llite.lustre-ffff90e89e8b8800.statahead_batch_max=64 llite.lustre-ffff90e89e8b8800.statahead_max=128