== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:30:08 (1787585408) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats=0 llite.lustre-ffff966f1266d000.statahead_max=32 llite.lustre-ffff966f1266d000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats=0 total: 100 open/close in 2.55 seconds: 39.21 ops/second llite.lustre-ffff966f1266d000.statahead_max=0 101 real 0m2.053s user 0m0.004s sys 0m0.301s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff966f1266d000.statahead_max=32 llite.lustre-ffff966f1266d000.statahead_max=32 101 real 0m1.182s user 0m0.003s sys 0m0.164s 'ls -l' 100 files with statahead: 2 sec statahead total: 126 statahead wrong: 2 agl total: 120 list_total: 30 fname_total: 77 hit_total: 4064 miss_total: 1241 swrong=2 ewrong=2 - open/close 834 (time 1787585436.45 total 10.01 last 83.35) total: 900 open/close in 10.99 seconds: 81.88 ops/second llite.lustre-ffff966f1266d000.statahead_max=0 1001 real 0m21.471s user 0m0.036s sys 0m2.713s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff966f1266d000.statahead_max=32 llite.lustre-ffff966f1266d000.statahead_max=32 1001 real 0m9.331s user 0m0.024s sys 0m1.242s 'ls -l' 1000 files with statahead: 9 sec statahead total: 127 statahead wrong: 2 agl total: 121 list_total: 31 fname_total: 77 hit_total: 5061 miss_total: 1244 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff966f1266d000.statahead_stats= statahead total: 127 statahead wrong: 2 agl total: 121 list_total: 31 fname_total: 77 hit_total: 5061 miss_total: 1244 mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats= snapshot_time: 1787585498.173077810 secs.nsecs start_time: 1787585414.042359850 secs.nsecs elapsed_time: 84.130717960 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 807 (time 1787585510.46 total 10.01 last 80.62) - open/close 1601 (time 1787585520.47 total 20.02 last 79.34) - open/close 2410 (time 1787585530.47 total 30.02 last 80.89) - open/close 3084 (time 1787585540.48 total 40.03 last 67.31) - open/close 4028 (time 1787585550.49 total 50.04 last 94.34) - open/close 5016 (time 1787585560.50 total 60.04 last 98.75) - open/close 5855 (time 1787585570.50 total 70.05 last 83.85) - open/close 6661 (time 1787585580.50 total 80.05 last 80.59) - open/close 7490 (time 1787585590.50 total 90.05 last 82.89) - open/close 8403 (time 1787585600.51 total 100.06 last 91.22) - open/close 9192 (time 1787585610.52 total 110.07 last 78.87) - open/close 9749 (time 1787585620.52 total 120.07 last 55.66) total: 10000 open/close in 123.87 seconds: 80.73 ops/second llite.lustre-ffff966f1266d000.statahead_batch_max=0 llite.lustre-ffff966f1266d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff966f1266d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.521s user 0m0.288s sys 0m13.571s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff966f1266d000.statahead_batch_max=32 llite.lustre-ffff966f1266d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff966f1266d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m42.276s user 0m0.283s sys 0m12.699s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats= snapshot_time: 1787585807.069201048 secs.nsecs start_time: 1787585695.498157832 secs.nsecs elapsed_time: 111.571043216 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats=0 llite.lustre-ffff966f1266d000.statahead_max=2048 llite.lustre-ffff966f1266d000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats=0 total: 100 open/close in 2.79 seconds: 35.79 ops/second llite.lustre-ffff966f1266d000.statahead_max=0 101 real 0m1.837s user 0m0.007s sys 0m0.291s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff966f1266d000.statahead_max=2048 llite.lustre-ffff966f1266d000.statahead_max=2048 101 real 0m1.265s user 0m0.005s sys 0m0.157s 'ls -l' 100 files with statahead: 2 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10081 miss_total: 19 swrong=0 ewrong=0 - open/close 558 (time 1787586119.63 total 10.01 last 55.73) total: 900 open/close in 15.76 seconds: 57.11 ops/second llite.lustre-ffff966f1266d000.statahead_max=0 1001 real 0m20.424s user 0m0.026s sys 0m2.938s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff966f1266d000.statahead_max=2048 llite.lustre-ffff966f1266d000.statahead_max=2048 1001 real 0m7.022s user 0m0.028s sys 0m1.370s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff966f1266d000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11080 miss_total: 20 mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats= snapshot_time: 1787586186.871322021 secs.nsecs start_time: 1787585809.513778955 secs.nsecs elapsed_time: 377.357543066 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 788 (time 1787586199.76 total 10.02 last 78.67) - open/close 1524 (time 1787586209.76 total 20.02 last 73.60) - open/close 2266 (time 1787586219.76 total 30.02 last 74.18) - open/close 3117 (time 1787586229.76 total 40.02 last 85.10) - open/close 3930 (time 1787586239.83 total 50.08 last 80.77) - open/close 4612 (time 1787586249.83 total 60.08 last 68.19) - open/close 5373 (time 1787586259.84 total 70.10 last 75.99) - open/close 5999 (time 1787586269.84 total 80.10 last 62.60) - open/close 6661 (time 1787586279.87 total 90.12 last 66.03) - open/close 7246 (time 1787586289.87 total 100.13 last 58.48) - open/close 7929 (time 1787586299.88 total 110.14 last 68.22) - open/close 8685 (time 1787586309.90 total 120.15 last 75.49) - open/close 9291 (time 1787586319.91 total 130.16 last 60.55) total: 10000 open/close in 139.96 seconds: 71.45 ops/second llite.lustre-ffff966f1266d000.statahead_batch_max=0 llite.lustre-ffff966f1266d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff966f1266d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.641s user 0m0.351s sys 0m13.950s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff966f1266d000.statahead_batch_max=256 llite.lustre-ffff966f1266d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff966f1266d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.221s user 0m0.330s sys 0m13.719s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff966f1266d000.batch_stats= snapshot_time: 1787586473.734567546 secs.nsecs start_time: 1787586406.224932576 secs.nsecs elapsed_time: 67.509634970 secs.nsecs subreqs per batch batches %% cum %% 1: 97 41 41 2: 31 13 54 4: 25 10 64 8: 14 5 70 16: 13 5 76 32: 17 7 83 64: 4 1 85 128: 0 0 85 256: 35 14 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-ffff966f1266d000.statahead_batch_max=64 llite.lustre-ffff966f1266d000.statahead_max=128