== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:26:22 (1787700382) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats=0 llite.lustre-ffff9f9191797000.statahead_max=32 llite.lustre-ffff9f9191797000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.49 seconds: 40.09 ops/second llite.lustre-ffff9f9191797000.statahead_max=0 101 real 0m2.626s user 0m0.004s sys 0m0.325s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9f9191797000.statahead_max=32 llite.lustre-ffff9f9191797000.statahead_max=32 101 real 0m1.775s user 0m0.007s sys 0m0.179s 'ls -l' 100 files with statahead: 2 sec statahead total: 137 statahead wrong: 2 agl total: 132 list_total: 30 fname_total: 92 hit_total: 3695 miss_total: 1647 swrong=2 ewrong=2 - open/close 745 (time 1787700414.40 total 10.00 last 74.48) total: 900 open/close in 11.89 seconds: 75.71 ops/second llite.lustre-ffff9f9191797000.statahead_max=0 1001 real 0m23.804s user 0m0.026s sys 0m2.877s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff9f9191797000.statahead_max=32 llite.lustre-ffff9f9191797000.statahead_max=32 1001 real 0m10.836s user 0m0.030s sys 0m1.388s 'ls -l' 1000 files with statahead: 11 sec statahead total: 138 statahead wrong: 2 agl total: 133 list_total: 31 fname_total: 92 hit_total: 4691 miss_total: 1651 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9f9191797000.statahead_stats= statahead total: 138 statahead wrong: 2 agl total: 133 list_total: 31 fname_total: 92 hit_total: 4691 miss_total: 1651 mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats= snapshot_time: 1787700488.253016040 secs.nsecs start_time: 1787700388.549016165 secs.nsecs elapsed_time: 99.703999875 secs.nsecs subreqs per batch batches %% cum %% 1: 4 10 10 2: 1 2 13 4: 2 5 18 8: 1 2 21 16: 24 63 84 32: 6 15 100 mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats= snapshot_time: 1787700488.254681199 secs.nsecs start_time: 1787700388.549090734 secs.nsecs elapsed_time: 99.705590465 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 5 12 17 16: 13 32 50 32: 20 50 100 - open/close 822 (time 1787700501.12 total 10.01 last 82.15) - open/close 1545 (time 1787700511.13 total 20.02 last 72.19) - open/close 2496 (time 1787700521.14 total 30.03 last 95.03) - open/close 3317 (time 1787700531.14 total 40.03 last 82.09) - open/close 3981 (time 1787700541.18 total 50.06 last 66.17) - open/close 4701 (time 1787700551.18 total 60.07 last 71.95) - open/close 5531 (time 1787700561.20 total 70.09 last 82.83) - open/close 6460 (time 1787700571.21 total 80.10 last 92.84) - open/close 7208 (time 1787700581.21 total 90.10 last 74.79) - open/close 8007 (time 1787700591.21 total 100.10 last 79.89) - open/close 8859 (time 1787700601.22 total 110.11 last 85.14) - open/close 9732 (time 1787700611.23 total 120.11 last 87.25) total: 10000 open/close in 123.03 seconds: 81.28 ops/second llite.lustre-ffff9f9191797000.statahead_batch_max=0 llite.lustre-ffff9f9191797000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9191797000.stats=clear mdc.lustre-MDT0001-mdc-ffff9f9191797000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.144s user 0m0.296s sys 0m14.664s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f9191797000.statahead_batch_max=32 llite.lustre-ffff9f9191797000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9191797000.stats=clear mdc.lustre-MDT0001-mdc-ffff9f9191797000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m31.695s user 0m0.299s sys 0m13.523s batched statahead RPC= hit count=9990 mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats= snapshot_time: 1787700779.103199561 secs.nsecs start_time: 1787700677.762868391 secs.nsecs elapsed_time: 101.340331170 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats= snapshot_time: 1787700779.106488306 secs.nsecs start_time: 1787700677.763080226 secs.nsecs elapsed_time: 101.343408080 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats=0 llite.lustre-ffff9f9191797000.statahead_max=2048 llite.lustre-ffff9f9191797000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.41 seconds: 41.54 ops/second llite.lustre-ffff9f9191797000.statahead_max=0 101 real 0m2.377s user 0m0.002s sys 0m0.314s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9f9191797000.statahead_max=2048 llite.lustre-ffff9f9191797000.statahead_max=2048 101 real 0m0.687s user 0m0.003s sys 0m0.176s 'ls -l' 100 files with statahead: 1 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10089 miss_total: 11 swrong=0 ewrong=0 - open/close 826 (time 1787701048.20 total 10.01 last 82.48) total: 900 open/close in 10.92 seconds: 82.42 ops/second llite.lustre-ffff9f9191797000.statahead_max=0 1001 real 0m17.627s user 0m0.034s sys 0m2.656s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff9f9191797000.statahead_max=2048 llite.lustre-ffff9f9191797000.statahead_max=2048 1001 real 0m4.991s user 0m0.028s sys 0m1.326s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11088 miss_total: 12 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff9f9191797000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11088 miss_total: 12 mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats= snapshot_time: 1787701099.719482068 secs.nsecs start_time: 1787700781.646825537 secs.nsecs elapsed_time: 318.072656531 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 2 25 37 8: 1 12 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats= snapshot_time: 1787701099.719549995 secs.nsecs start_time: 1787700781.652760603 secs.nsecs elapsed_time: 318.066789392 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 0 0 12 8: 4 50 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 908 (time 1787701112.01 total 10.00 last 90.76) - open/close 1874 (time 1787701122.01 total 20.01 last 96.59) - open/close 2850 (time 1787701132.02 total 30.01 last 97.52) - open/close 3832 (time 1787701142.02 total 40.02 last 98.16) - open/close 4777 (time 1787701152.03 total 50.02 last 94.45) - open/close 5720 (time 1787701162.03 total 60.02 last 94.29) - open/close 6619 (time 1787701172.03 total 70.03 last 89.90) - open/close 7602 (time 1787701182.04 total 80.03 last 98.21) - open/close 8508 (time 1787701192.05 total 90.04 last 90.55) - open/close 9421 (time 1787701202.05 total 100.04 last 91.28) total: 10000 open/close in 105.78 seconds: 94.53 ops/second llite.lustre-ffff9f9191797000.statahead_batch_max=0 llite.lustre-ffff9f9191797000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9191797000.stats=clear mdc.lustre-MDT0001-mdc-ffff9f9191797000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.080s user 0m0.317s sys 0m15.798s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f9191797000.statahead_batch_max=256 llite.lustre-ffff9f9191797000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9191797000.stats=clear mdc.lustre-MDT0001-mdc-ffff9f9191797000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.644s user 0m0.304s sys 0m15.268s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9f9191797000.batch_stats= snapshot_time: 1787701321.272078291 secs.nsecs start_time: 1787701266.322945103 secs.nsecs elapsed_time: 54.949133188 secs.nsecs subreqs per batch batches %% cum %% 1: 214 56 56 2: 46 12 69 4: 31 8 77 8: 20 5 82 16: 6 1 84 32: 19 5 89 64: 6 1 90 128: 0 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff9f9191797000.batch_stats= snapshot_time: 1787701321.272137071 secs.nsecs start_time: 1787701266.323026691 secs.nsecs elapsed_time: 54.949110380 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9f9191797000.statahead_batch_max=64 llite.lustre-ffff9f9191797000.statahead_max=128