== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:55:28 (1789271728) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.batch_stats=0 llite.lustre-ffff98cc6a5c7800.statahead_max=32 llite.lustre-ffff98cc6a5c7800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.39 seconds: 29.54 ops/second llite.lustre-ffff98cc6a5c7800.statahead_max=0 101 real 0m2.796s user 0m0.007s sys 0m0.352s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff98cc6a5c7800.statahead_max=32 llite.lustre-ffff98cc6a5c7800.statahead_max=32 101 real 0m1.200s user 0m0.005s sys 0m0.162s 'ls -l' 100 files with statahead: 1 sec statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 31 fname_total: 102 hit_total: 3756 miss_total: 1543 swrong=2 ewrong=2 - open/close 771 (time 1789271757.78 total 10.00 last 77.08) total: 900 open/close in 12.05 seconds: 74.67 ops/second llite.lustre-ffff98cc6a5c7800.statahead_max=0 1001 real 0m23.318s user 0m0.032s sys 0m2.987s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff98cc6a5c7800.statahead_max=32 llite.lustre-ffff98cc6a5c7800.statahead_max=32 1001 real 0m9.519s user 0m0.032s sys 0m1.470s 'ls -l' 1000 files with statahead: 9 sec statahead total: 134 statahead wrong: 2 agl total: 128 list_total: 32 fname_total: 102 hit_total: 4755 miss_total: 1544 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff98cc6a5c7800.statahead_stats= statahead total: 134 statahead wrong: 2 agl total: 128 list_total: 32 fname_total: 102 hit_total: 4755 miss_total: 1544 mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats= snapshot_time: 1789271833.336242192 secs.nsecs start_time: 1789271733.338274585 secs.nsecs elapsed_time: 99.997967607 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 8 4: 3 8 16 8: 0 0 16 16: 25 67 83 32: 6 16 100 mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.batch_stats= snapshot_time: 1789271833.337348606 secs.nsecs start_time: 1789271733.338364648 secs.nsecs elapsed_time: 99.998983958 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 0 0 5 8: 4 10 15 16: 13 32 47 32: 21 52 100 - open/close 548 (time 1789271846.50 total 10.01 last 54.72) - open/close 1198 (time 1789271856.52 total 20.04 last 64.87) - open/close 1875 (time 1789271866.53 total 30.04 last 67.69) - open/close 2530 (time 1789271876.53 total 40.04 last 65.48) - open/close 3277 (time 1789271886.54 total 50.05 last 74.60) - open/close 4021 (time 1789271896.54 total 60.05 last 74.39) - open/close 4774 (time 1789271906.57 total 70.08 last 75.13) - open/close 5429 (time 1789271916.58 total 80.09 last 65.43) - open/close 6172 (time 1789271926.58 total 90.09 last 74.27) - open/close 6827 (time 1789271936.58 total 100.09 last 65.48) - open/close 7542 (time 1789271946.60 total 110.11 last 71.38) - open/close 8238 (time 1789271956.60 total 120.12 last 69.57) - open/close 8968 (time 1789271966.61 total 130.12 last 72.97) - open/close 9650 (time 1789271976.62 total 140.13 last 68.15) total: 10000 open/close in 145.64 seconds: 68.66 ops/second llite.lustre-ffff98cc6a5c7800.statahead_batch_max=0 llite.lustre-ffff98cc6a5c7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.stats=clear mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.027s user 0m0.371s sys 0m16.186s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98cc6a5c7800.statahead_batch_max=32 llite.lustre-ffff98cc6a5c7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.stats=clear mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m48.575s user 0m0.331s sys 0m14.557s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats= snapshot_time: 1789272188.604910920 secs.nsecs start_time: 1789272064.573757590 secs.nsecs elapsed_time: 124.031153330 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-ffff98cc6a5c7800.batch_stats= snapshot_time: 1789272188.604972015 secs.nsecs start_time: 1789272064.573830071 secs.nsecs elapsed_time: 124.031141944 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.batch_stats=0 llite.lustre-ffff98cc6a5c7800.statahead_max=2048 llite.lustre-ffff98cc6a5c7800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.38 seconds: 29.58 ops/second llite.lustre-ffff98cc6a5c7800.statahead_max=0 101 real 0m2.427s user 0m0.004s sys 0m0.373s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff98cc6a5c7800.statahead_max=2048 llite.lustre-ffff98cc6a5c7800.statahead_max=2048 101 real 0m1.216s user 0m0.004s sys 0m0.163s '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: 10078 miss_total: 22 swrong=0 ewrong=0 - open/close 613 (time 1789272524.11 total 10.00 last 61.29) total: 900 open/close in 16.12 seconds: 55.83 ops/second llite.lustre-ffff98cc6a5c7800.statahead_max=0 1001 real 0m24.159s user 0m0.032s sys 0m3.092s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff98cc6a5c7800.statahead_max=2048 llite.lustre-ffff98cc6a5c7800.statahead_max=2048 1001 real 0m6.152s user 0m0.029s sys 0m1.553s 'ls -l' 1000 files with statahead: 6 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 27 seconds llite.lustre-ffff98cc6a5c7800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats= snapshot_time: 1789272600.300793326 secs.nsecs start_time: 1789272191.745375498 secs.nsecs elapsed_time: 408.555417828 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 16 16 4: 3 50 66 8: 0 0 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-ffff98cc6a5c7800.batch_stats= snapshot_time: 1789272600.300878767 secs.nsecs start_time: 1789272191.745548513 secs.nsecs elapsed_time: 408.555330254 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 37 37 16: 1 12 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 611 (time 1789272613.36 total 10.01 last 61.04) - open/close 1220 (time 1789272623.38 total 20.03 last 60.80) - open/close 1840 (time 1789272633.39 total 30.03 last 61.95) - open/close 2533 (time 1789272643.40 total 40.05 last 69.20) - open/close 3230 (time 1789272653.42 total 50.06 last 69.60) - open/close 3965 (time 1789272663.42 total 60.07 last 73.47) - open/close 4694 (time 1789272673.43 total 70.07 last 72.86) - open/close 5400 (time 1789272683.44 total 80.09 last 70.51) - open/close 6074 (time 1789272693.45 total 90.09 last 67.35) - open/close 6799 (time 1789272703.45 total 100.10 last 72.46) - open/close 7475 (time 1789272713.46 total 110.11 last 67.53) - open/close 8120 (time 1789272723.48 total 120.12 last 64.42) - open/close 8654 (time 1789272733.49 total 130.13 last 53.34) - open/close 9270 (time 1789272743.49 total 140.13 last 61.59) total: 10000 open/close in 149.81 seconds: 66.75 ops/second llite.lustre-ffff98cc6a5c7800.statahead_batch_max=0 llite.lustre-ffff98cc6a5c7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.stats=clear mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m13.026s user 0m0.374s sys 0m16.409s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98cc6a5c7800.statahead_batch_max=256 llite.lustre-ffff98cc6a5c7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.stats=clear mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.204s user 0m0.273s sys 0m15.625s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff98cc6a5c7800.batch_stats= snapshot_time: 1789272899.590595554 secs.nsecs start_time: 1789272833.504424545 secs.nsecs elapsed_time: 66.086171009 secs.nsecs subreqs per batch batches %% cum %% 1: 81 39 39 2: 26 12 52 4: 19 9 61 8: 11 5 67 16: 10 4 72 32: 11 5 77 64: 7 3 80 128: 6 2 83 256: 33 16 100 mdc.lustre-MDT0001-mdc-ffff98cc6a5c7800.batch_stats= snapshot_time: 1789272899.590780904 secs.nsecs start_time: 1789272833.504547380 secs.nsecs elapsed_time: 66.086233524 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-ffff98cc6a5c7800.statahead_batch_max=64 llite.lustre-ffff98cc6a5c7800.statahead_max=128