== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:21:44 (1789136504) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats=0 llite.lustre-ffff948e82d93000.statahead_max=32 llite.lustre-ffff948e82d93000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.20 seconds: 45.40 ops/second llite.lustre-ffff948e82d93000.statahead_max=0 101 real 0m1.650s user 0m0.006s sys 0m0.291s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff948e82d93000.statahead_max=32 llite.lustre-ffff948e82d93000.statahead_max=32 101 real 0m0.729s user 0m0.006s sys 0m0.148s 'ls -l' 100 files with statahead: 0 sec statahead total: 133 statahead wrong: 2 agl total: 126 list_total: 33 fname_total: 75 hit_total: 4426 miss_total: 1299 swrong=2 ewrong=2 - open/close 839 (time 1789136533.45 total 10.00 last 83.87) total: 900 open/close in 10.85 seconds: 82.97 ops/second llite.lustre-ffff948e82d93000.statahead_max=0 1001 real 0m17.910s user 0m0.029s sys 0m2.642s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff948e82d93000.statahead_max=32 llite.lustre-ffff948e82d93000.statahead_max=32 1001 real 0m7.491s user 0m0.030s sys 0m1.202s 'ls -l' 1000 files with statahead: 8 sec statahead total: 134 statahead wrong: 2 agl total: 127 list_total: 34 fname_total: 75 hit_total: 5424 miss_total: 1301 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff948e82d93000.statahead_stats= statahead total: 134 statahead wrong: 2 agl total: 127 list_total: 34 fname_total: 75 hit_total: 5424 miss_total: 1301 mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats= snapshot_time: 1789136588.000347788 secs.nsecs start_time: 1789136511.747998651 secs.nsecs elapsed_time: 76.252349137 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 3 7 12 16: 19 48 61 32: 15 38 100 mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats= snapshot_time: 1789136588.000415259 secs.nsecs start_time: 1789136511.748585938 secs.nsecs elapsed_time: 76.251829321 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 1 2 7 4: 2 5 12 8: 3 7 20 16: 18 45 65 32: 14 35 100 - open/close 611 (time 1789136601.00 total 10.02 last 60.96) - open/close 1447 (time 1789136611.01 total 20.03 last 83.53) - open/close 2598 (time 1789136621.01 total 30.04 last 115.02) - open/close 3731 (time 1789136631.02 total 40.05 last 113.20) - open/close 4766 (time 1789136641.03 total 50.06 last 103.40) - open/close 5891 (time 1789136651.04 total 60.06 last 112.41) - open/close 6858 (time 1789136661.04 total 70.07 last 96.66) - open/close 7846 (time 1789136671.04 total 80.07 last 98.78) - open/close 8755 (time 1789136681.05 total 90.07 last 90.86) - open/close 9529 (time 1789136691.05 total 100.08 last 77.36) total: 10000 open/close in 105.28 seconds: 94.98 ops/second llite.lustre-ffff948e82d93000.statahead_batch_max=0 llite.lustre-ffff948e82d93000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948e82d93000.stats=clear mdc.lustre-MDT0001-mdc-ffff948e82d93000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.341s user 0m0.286s sys 0m13.396s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff948e82d93000.statahead_batch_max=32 llite.lustre-ffff948e82d93000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff948e82d93000.stats=clear mdc.lustre-MDT0001-mdc-ffff948e82d93000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m31.856s user 0m0.283s sys 0m12.713s batched statahead RPC= hit count=9968 mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats= snapshot_time: 1789136876.827387251 secs.nsecs start_time: 1789136773.373599057 secs.nsecs elapsed_time: 103.453788194 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats= snapshot_time: 1789136876.827454161 secs.nsecs start_time: 1789136773.373736972 secs.nsecs elapsed_time: 103.453717189 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats=0 llite.lustre-ffff948e82d93000.statahead_max=2048 llite.lustre-ffff948e82d93000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.53 seconds: 39.47 ops/second llite.lustre-ffff948e82d93000.statahead_max=0 101 real 0m1.507s user 0m0.003s sys 0m0.284s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff948e82d93000.statahead_max=2048 llite.lustre-ffff948e82d93000.statahead_max=2048 101 real 0m0.910s user 0m0.004s 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: 10067 miss_total: 33 swrong=0 ewrong=0 - open/close 812 (time 1789137147.20 total 10.00 last 81.16) total: 900 open/close in 11.41 seconds: 78.86 ops/second llite.lustre-ffff948e82d93000.statahead_max=0 1001 real 0m23.430s user 0m0.042s sys 0m2.851s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff948e82d93000.statahead_max=2048 llite.lustre-ffff948e82d93000.statahead_max=2048 1001 real 0m7.175s user 0m0.022s sys 0m1.279s '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: 11066 miss_total: 34 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff948e82d93000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11066 miss_total: 34 mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats= snapshot_time: 1789137210.681549514 secs.nsecs start_time: 1789136879.401398086 secs.nsecs elapsed_time: 331.280151428 secs.nsecs subreqs per batch batches %% cum %% 1: 1 12 12 2: 3 37 50 4: 1 12 62 8: 1 12 75 16: 0 0 75 32: 0 0 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats= snapshot_time: 1789137210.681613470 secs.nsecs start_time: 1789136879.401547760 secs.nsecs elapsed_time: 331.280065710 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 4 40 40 16: 1 10 50 32: 2 20 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 864 (time 1789137223.10 total 10.01 last 86.31) - open/close 1745 (time 1789137233.12 total 20.03 last 87.94) - open/close 2657 (time 1789137243.12 total 30.03 last 91.16) - open/close 3609 (time 1789137253.13 total 40.04 last 95.15) - open/close 4610 (time 1789137263.13 total 50.04 last 100.10) - open/close 5390 (time 1789137273.13 total 60.04 last 77.99) - open/close 6495 (time 1789137283.13 total 70.04 last 110.45) - open/close 7539 (time 1789137293.14 total 80.05 last 104.34) - open/close 8415 (time 1789137303.15 total 90.06 last 87.52) - open/close 9454 (time 1789137313.15 total 100.06 last 103.84) total: 10000 open/close in 104.84 seconds: 95.38 ops/second llite.lustre-ffff948e82d93000.statahead_batch_max=0 llite.lustre-ffff948e82d93000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948e82d93000.stats=clear mdc.lustre-MDT0001-mdc-ffff948e82d93000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.920s user 0m0.300s sys 0m14.220s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff948e82d93000.statahead_batch_max=256 llite.lustre-ffff948e82d93000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff948e82d93000.stats=clear mdc.lustre-MDT0001-mdc-ffff948e82d93000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.708s user 0m0.333s sys 0m14.213s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff948e82d93000.batch_stats= snapshot_time: 1789137470.407009833 secs.nsecs start_time: 1789137397.585939420 secs.nsecs elapsed_time: 72.821070413 secs.nsecs subreqs per batch batches %% cum %% 1: 53 29 29 2: 26 14 43 4: 19 10 54 8: 10 5 60 16: 14 7 67 32: 17 9 77 64: 6 3 80 128: 0 0 80 256: 35 19 100 mdc.lustre-MDT0001-mdc-ffff948e82d93000.batch_stats= snapshot_time: 1789137470.407082404 secs.nsecs start_time: 1789137397.586206950 secs.nsecs elapsed_time: 72.820875454 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-ffff948e82d93000.statahead_batch_max=64 llite.lustre-ffff948e82d93000.statahead_max=128