== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:16:43 (1787869003) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff93ce157b7000.batch_stats=0 llite.lustre-ffff93ce157b7000.statahead_max=32 llite.lustre-ffff93ce157b7000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff93ce157b7000.batch_stats=0 total: 100 open/close in 3.27 seconds: 30.58 ops/second llite.lustre-ffff93ce157b7000.statahead_max=0 101 real 0m3.003s user 0m0.006s sys 0m0.330s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff93ce157b7000.statahead_max=32 llite.lustre-ffff93ce157b7000.statahead_max=32 101 real 0m1.205s user 0m0.003s sys 0m0.165s 'ls -l' 100 files with statahead: 1 sec statahead total: 156 statahead wrong: 2 agl total: 150 list_total: 30 fname_total: 113 hit_total: 4001 miss_total: 1500 swrong=2 ewrong=2 - open/close 666 (time 1787869032.51 total 10.01 last 66.51) total: 900 open/close in 13.40 seconds: 67.16 ops/second llite.lustre-ffff93ce157b7000.statahead_max=0 1001 real 0m21.407s user 0m0.046s sys 0m3.121s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff93ce157b7000.statahead_max=32 llite.lustre-ffff93ce157b7000.statahead_max=32 1001 real 0m9.632s user 0m0.031s sys 0m1.438s 'ls -l' 1000 files with statahead: 10 sec statahead total: 157 statahead wrong: 2 agl total: 151 list_total: 31 fname_total: 113 hit_total: 4998 miss_total: 1503 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff93ce157b7000.statahead_stats= statahead total: 157 statahead wrong: 2 agl total: 151 list_total: 31 fname_total: 113 hit_total: 4998 miss_total: 1503 mdc.lustre-MDT0000-mdc-ffff93ce157b7000.batch_stats= snapshot_time: 1787869103.120669483 secs.nsecs start_time: 1787869008.327136941 secs.nsecs elapsed_time: 94.793532542 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 659 (time 1787869115.69 total 10.02 last 65.76) - open/close 1329 (time 1787869125.69 total 20.02 last 66.99) - open/close 2032 (time 1787869135.70 total 30.03 last 70.23) - open/close 2736 (time 1787869145.72 total 40.05 last 70.27) - open/close 3404 (time 1787869155.73 total 50.06 last 66.73) - open/close 4054 (time 1787869165.73 total 60.06 last 64.98) - open/close 4774 (time 1787869175.73 total 70.07 last 71.99) - open/close 5411 (time 1787869185.76 total 80.09 last 63.56) - open/close 6081 (time 1787869195.80 total 90.13 last 66.72) - open/close 6797 (time 1787869205.83 total 100.16 last 71.40) - open/close 7503 (time 1787869215.84 total 110.17 last 70.50) - open/close 8205 (time 1787869225.85 total 120.18 last 70.15) - open/close 8887 (time 1787869235.85 total 130.18 last 68.16) - open/close 9587 (time 1787869245.86 total 140.19 last 69.96) total: 10000 open/close in 145.99 seconds: 68.50 ops/second llite.lustre-ffff93ce157b7000.statahead_batch_max=0 llite.lustre-ffff93ce157b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93ce157b7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.041s user 0m0.305s sys 0m15.067s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93ce157b7000.statahead_batch_max=32 llite.lustre-ffff93ce157b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93ce157b7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93ce157b7000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m34.935s user 0m0.287s sys 0m13.390s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff93ce157b7000.batch_stats= snapshot_time: 1787869421.759896005 secs.nsecs start_time: 1787869317.433172416 secs.nsecs elapsed_time: 104.326723589 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff93ce157b7000.batch_stats=0 llite.lustre-ffff93ce157b7000.statahead_max=2048 llite.lustre-ffff93ce157b7000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff93ce157b7000.batch_stats=0 total: 100 open/close in 2.36 seconds: 42.38 ops/second llite.lustre-ffff93ce157b7000.statahead_max=0 101 real 0m2.309s user 0m0.006s sys 0m0.304s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff93ce157b7000.statahead_max=2048 llite.lustre-ffff93ce157b7000.statahead_max=2048 101 real 0m0.726s user 0m0.006s sys 0m0.186s '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 766 (time 1787869749.43 total 10.01 last 76.50) total: 900 open/close in 11.88 seconds: 75.75 ops/second llite.lustre-ffff93ce157b7000.statahead_max=0 1001 real 0m21.377s user 0m0.029s sys 0m2.890s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff93ce157b7000.statahead_max=2048 llite.lustre-ffff93ce157b7000.statahead_max=2048 1001 real 0m7.246s user 0m0.035s sys 0m1.585s 'ls -l' 1000 files with statahead: 7 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: 20 seconds llite.lustre-ffff93ce157b7000.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-ffff93ce157b7000.batch_stats= snapshot_time: 1787869810.455060336 secs.nsecs start_time: 1787869424.514988855 secs.nsecs elapsed_time: 385.940071481 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 1 9 45 64: 1 9 54 128: 1 9 63 256: 4 36 100 - open/close 735 (time 1787869822.93 total 10.01 last 73.45) - open/close 1335 (time 1787869832.94 total 20.02 last 59.94) - open/close 1998 (time 1787869842.94 total 30.02 last 66.29) - open/close 2733 (time 1787869852.95 total 40.03 last 73.43) - open/close 3430 (time 1787869862.96 total 50.03 last 69.69) - open/close 4130 (time 1787869872.97 total 60.05 last 69.88) - open/close 4860 (time 1787869882.98 total 70.06 last 72.93) - open/close 5487 (time 1787869893.00 total 80.07 last 62.62) - open/close 6194 (time 1787869903.00 total 90.07 last 70.68) - open/close 6910 (time 1787869913.00 total 100.07 last 71.59) - open/close 7590 (time 1787869923.01 total 110.09 last 67.91) - open/close 8278 (time 1787869933.08 total 120.15 last 68.35) - open/close 9037 (time 1787869943.08 total 130.15 last 75.87) - open/close 9737 (time 1787869953.09 total 140.17 last 69.90) total: 10000 open/close in 144.52 seconds: 69.19 ops/second llite.lustre-ffff93ce157b7000.statahead_batch_max=0 llite.lustre-ffff93ce157b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93ce157b7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.541s user 0m0.319s sys 0m15.921s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93ce157b7000.statahead_batch_max=256 llite.lustre-ffff93ce157b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93ce157b7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93ce157b7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.544s user 0m0.243s sys 0m15.561s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff93ce157b7000.batch_stats= snapshot_time: 1787870069.671760449 secs.nsecs start_time: 1787870020.528254150 secs.nsecs elapsed_time: 49.143506299 secs.nsecs subreqs per batch batches %% cum %% 1: 119 48 48 2: 29 11 60 4: 19 7 68 8: 10 4 72 16: 11 4 77 32: 10 4 81 64: 7 2 84 128: 4 1 86 256: 34 13 100 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-ffff93ce157b7000.statahead_batch_max=64 llite.lustre-ffff93ce157b7000.statahead_max=128