== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:05:50 (1781823950) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8efe479d6800.batch_stats=0 llite.lustre-ffff8efe479d6800.statahead_max=32 llite.lustre-ffff8efe479d6800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8efe479d6800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.10 seconds: 32.25 ops/second llite.lustre-ffff8efe479d6800.statahead_max=0 101 real 0m2.250s user 0m0.008s sys 0m0.334s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8efe479d6800.statahead_max=32 llite.lustre-ffff8efe479d6800.statahead_max=32 101 real 0m0.936s user 0m0.007s sys 0m0.194s 'ls -l' 100 files with statahead: 1 sec statahead total: 108 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 77 hit_total: 3663 miss_total: 1396 swrong=2 ewrong=2 - open/close 866 (time 1781823978.67 total 10.03 last 86.33) total: 900 open/close in 10.83 seconds: 83.09 ops/second llite.lustre-ffff8efe479d6800.statahead_max=0 1001 real 0m22.478s user 0m0.027s sys 0m3.167s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8efe479d6800.statahead_max=32 llite.lustre-ffff8efe479d6800.statahead_max=32 1001 real 0m9.184s user 0m0.032s sys 0m1.493s 'ls -l' 1000 files with statahead: 9 sec statahead total: 109 statahead wrong: 2 agl total: 104 list_total: 32 fname_total: 77 hit_total: 4661 miss_total: 1398 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8efe479d6800.statahead_stats= statahead total: 109 statahead wrong: 2 agl total: 104 list_total: 32 fname_total: 77 hit_total: 4661 miss_total: 1398 mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats= snapshot_time: 1781824044.401016948 secs.nsecs start_time: 1781823956.641290923 secs.nsecs elapsed_time: 87.759726025 secs.nsecs subreqs per batch batches %% cum %% 1: 3 8 8 2: 0 0 8 4: 2 5 13 8: 2 5 18 16: 27 72 91 32: 3 8 100 mdc.lustre-MDT0001-mdc-ffff8efe479d6800.batch_stats= snapshot_time: 1781824044.401078371 secs.nsecs start_time: 1781823956.643421161 secs.nsecs elapsed_time: 87.757657210 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 2 5 10 16: 8 20 30 32: 27 69 100 - open/close 831 (time 1781824056.92 total 10.01 last 82.98) - open/close 1490 (time 1781824066.92 total 20.02 last 65.89) - open/close 2123 (time 1781824076.93 total 30.02 last 63.26) - open/close 3068 (time 1781824086.93 total 40.02 last 94.48) - open/close 3993 (time 1781824096.94 total 50.03 last 92.43) - open/close 4710 (time 1781824106.96 total 60.05 last 71.57) - open/close 5465 (time 1781824116.96 total 70.06 last 75.46) - open/close 6216 (time 1781824126.98 total 80.08 last 74.94) - open/close 6996 (time 1781824136.99 total 90.08 last 77.94) - open/close 7780 (time 1781824147.00 total 100.10 last 78.32) - open/close 8575 (time 1781824157.01 total 110.10 last 79.47) - open/close 9400 (time 1781824167.01 total 120.10 last 82.46) total: 10000 open/close in 126.83 seconds: 78.84 ops/second llite.lustre-ffff8efe479d6800.statahead_batch_max=0 llite.lustre-ffff8efe479d6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8efe479d6800.stats=clear mdc.lustre-MDT0001-mdc-ffff8efe479d6800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.902s user 0m0.319s sys 0m16.651s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8efe479d6800.statahead_batch_max=32 llite.lustre-ffff8efe479d6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8efe479d6800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8efe479d6800.stats=clear mdc.lustre-MDT0001-mdc-ffff8efe479d6800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.790s user 0m0.324s sys 0m15.806s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats= snapshot_time: 1781824365.088139361 secs.nsecs start_time: 1781824246.596886313 secs.nsecs elapsed_time: 118.491253048 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-ffff8efe479d6800.batch_stats= snapshot_time: 1781824365.088207935 secs.nsecs start_time: 1781824246.597025615 secs.nsecs elapsed_time: 118.491182320 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8efe479d6800.batch_stats=0 llite.lustre-ffff8efe479d6800.statahead_max=2048 llite.lustre-ffff8efe479d6800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8efe479d6800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.79 seconds: 35.89 ops/second llite.lustre-ffff8efe479d6800.statahead_max=0 101 real 0m2.463s user 0m0.005s sys 0m0.311s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8efe479d6800.statahead_max=2048 llite.lustre-ffff8efe479d6800.statahead_max=2048 101 real 0m1.209s user 0m0.006s sys 0m0.173s '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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 733 (time 1781824693.16 total 10.02 last 73.19) total: 900 open/close in 12.71 seconds: 70.82 ops/second llite.lustre-ffff8efe479d6800.statahead_max=0 1001 real 0m21.323s user 0m0.041s sys 0m3.017s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8efe479d6800.statahead_max=2048 llite.lustre-ffff8efe479d6800.statahead_max=2048 1001 real 0m9.013s user 0m0.045s sys 0m1.877s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8efe479d6800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats= snapshot_time: 1781824762.172402611 secs.nsecs start_time: 1781824370.480917959 secs.nsecs elapsed_time: 391.691484652 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 16 16 8: 3 50 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff8efe479d6800.batch_stats= snapshot_time: 1781824762.172447397 secs.nsecs start_time: 1781824370.481143736 secs.nsecs elapsed_time: 391.691303661 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 20 20 8: 1 10 30 16: 2 20 50 32: 2 20 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 725 (time 1781824774.91 total 10.02 last 72.39) - open/close 1564 (time 1781824784.91 total 20.02 last 83.86) - open/close 2461 (time 1781824794.91 total 30.02 last 89.67) - open/close 3383 (time 1781824804.93 total 40.04 last 92.07) - open/close 4252 (time 1781824814.93 total 50.04 last 86.87) - open/close 5203 (time 1781824824.93 total 60.04 last 95.10) - open/close 6168 (time 1781824834.95 total 70.06 last 96.34) - open/close 6849 (time 1781824844.96 total 80.06 last 68.06) - open/close 7529 (time 1781824854.97 total 90.07 last 67.93) - open/close 8195 (time 1781824864.98 total 100.08 last 66.53) - open/close 8975 (time 1781824874.99 total 110.09 last 77.93) - open/close 9694 (time 1781824884.99 total 120.10 last 71.84) total: 10000 open/close in 124.85 seconds: 80.09 ops/second llite.lustre-ffff8efe479d6800.statahead_batch_max=0 llite.lustre-ffff8efe479d6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8efe479d6800.stats=clear mdc.lustre-MDT0001-mdc-ffff8efe479d6800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.441s user 0m0.324s sys 0m15.527s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8efe479d6800.statahead_batch_max=256 llite.lustre-ffff8efe479d6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8efe479d6800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8efe479d6800.stats=clear mdc.lustre-MDT0001-mdc-ffff8efe479d6800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.618s user 0m0.299s sys 0m16.012s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8efe479d6800.batch_stats= snapshot_time: 1781825038.804818100 secs.nsecs start_time: 1781824959.664358449 secs.nsecs elapsed_time: 79.140459651 secs.nsecs subreqs per batch batches %% cum %% 1: 201 49 49 2: 63 15 64 4: 52 12 77 8: 22 5 82 16: 12 2 85 32: 19 4 90 64: 6 1 91 128: 1 0 91 256: 33 8 100 mdc.lustre-MDT0001-mdc-ffff8efe479d6800.batch_stats= snapshot_time: 1781825038.804893348 secs.nsecs start_time: 1781824959.664442609 secs.nsecs elapsed_time: 79.140450739 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-ffff8efe479d6800.statahead_batch_max=64 llite.lustre-ffff8efe479d6800.statahead_max=128