== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:16:43 (1781666203) llite.lustre-ffff9ba9042af800.statahead_max=1024 llite.lustre-ffff9ba9042af800.statahead_batch_max=32 llite.lustre-ffff9ba9042af800.statahead_min=64 llite.lustre-ffff9ba9042af800.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.40 seconds: 185.14 ops/second llite.lustre-ffff9ba9042af800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ba9042af800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ba9042af800.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: 1781666219.908705618 secs.nsecs start_time: 1781666215.310048240 secs.nsecs elapsed_time: 4.598657378 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 6 7 12 4: 9 10 23 8: 3 3 27 16: 3 3 30 32: 59 69 100 snapshot_time: 1781666219.908767053 secs.nsecs start_time: 1781666215.310155022 secs.nsecs elapsed_time: 4.598612031 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: 1781666251.167733897 secs.nsecs start_time: 1781666215.310048240 secs.nsecs elapsed_time: 35.857685657 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 6 6 13 4: 9 10 24 8: 3 3 27 16: 3 3 31 32: 59 68 100 snapshot_time: 1781666251.167796692 secs.nsecs start_time: 1781666215.310155022 secs.nsecs elapsed_time: 35.857641670 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 5.68 seconds: 176.08 ops/second llite.lustre-ffff9ba9042af800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ba9042af800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ba9042af800.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: 1781666265.949582789 secs.nsecs start_time: 1781666262.780855164 secs.nsecs elapsed_time: 3.168727625 secs.nsecs subreqs per batch batches %% cum %% 1: 4 5 5 2: 0 0 5 4: 4 5 10 8: 6 7 17 16: 4 5 23 32: 60 76 100 snapshot_time: 1781666265.949648879 secs.nsecs start_time: 1781666262.781073374 secs.nsecs elapsed_time: 3.168575505 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: 994 miss_total: 1 snapshot_time: 1781666297.624113325 secs.nsecs start_time: 1781666262.780855164 secs.nsecs elapsed_time: 34.843258161 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 0 0 6 4: 4 5 11 8: 6 7 18 16: 4 5 23 32: 61 76 100 snapshot_time: 1781666297.624180686 secs.nsecs start_time: 1781666262.781073374 secs.nsecs elapsed_time: 34.843107312 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1781666307 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1781666319 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff9ba9042af800.enable_statahead_fname=1 llite.lustre-ffff9ba9042af800.statahead_min=8 llite.lustre-ffff9ba9042af800.statahead_batch_max=64 llite.lustre-ffff9ba9042af800.statahead_max=128