== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:11:02 (1784416262) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats=0 llite.lustre-ffff947410528000.statahead_max=32 llite.lustre-ffff947410528000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats=0 total: 100 open/close in 0.71 seconds: 140.61 ops/second llite.lustre-ffff947410528000.statahead_max=0 101 real 0m0.647s user 0m0.004s sys 0m0.251s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff947410528000.statahead_max=32 llite.lustre-ffff947410528000.statahead_max=32 101 real 0m0.401s user 0m0.003s sys 0m0.278s 'ls -l' 100 files with statahead: 0 sec statahead total: 58 statahead wrong: 2 agl total: 54 list_total: 25 fname_total: 33 hit_total: 13843 miss_total: 1249 swrong=2 ewrong=2 total: 900 open/close in 2.87 seconds: 313.45 ops/second llite.lustre-ffff947410528000.statahead_max=0 1001 real 0m8.684s user 0m0.018s sys 0m3.158s 'ls -l' 1000 files without statahead: 8 sec llite.lustre-ffff947410528000.statahead_max=32 llite.lustre-ffff947410528000.statahead_max=32 1001 real 0m5.511s user 0m0.021s sys 0m3.412s 'ls -l' 1000 files with statahead: 6 sec statahead total: 59 statahead wrong: 2 agl total: 55 list_total: 26 fname_total: 33 hit_total: 14842 miss_total: 1250 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 7 seconds llite.lustre-ffff947410528000.statahead_stats= statahead total: 59 statahead wrong: 2 agl total: 55 list_total: 26 fname_total: 33 hit_total: 14842 miss_total: 1250 mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats= snapshot_time: 1784416296.333474569 secs.nsecs start_time: 1784416264.269368646 secs.nsecs elapsed_time: 32.064105923 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 3504 (time 1784416307.04 total 10.00 last 350.36) - open/close 6617 (time 1784416317.05 total 20.00 last 311.27) total: 10000 open/close in 29.61 seconds: 337.67 ops/second llite.lustre-ffff947410528000.statahead_batch_max=0 llite.lustre-ffff947410528000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff947410528000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.551s user 0m0.157s sys 0m49.894s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff947410528000.statahead_batch_max=32 llite.lustre-ffff947410528000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff947410528000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m42.915s user 0m0.162s sys 0m24.048s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats= snapshot_time: 1784416434.938621005 secs.nsecs start_time: 1784416383.267352553 secs.nsecs elapsed_time: 51.671268452 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: 312 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats=0 llite.lustre-ffff947410528000.statahead_max=2048 llite.lustre-ffff947410528000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats=0 total: 100 open/close in 0.82 seconds: 121.47 ops/second llite.lustre-ffff947410528000.statahead_max=0 101 real 0m0.722s user 0m0.004s sys 0m0.272s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff947410528000.statahead_max=2048 llite.lustre-ffff947410528000.statahead_max=2048 101 real 0m0.725s user 0m0.003s sys 0m0.351s '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: 10098 miss_total: 2 swrong=0 ewrong=0 total: 900 open/close in 3.20 seconds: 281.44 ops/second llite.lustre-ffff947410528000.statahead_max=0 1001 real 0m7.778s user 0m0.021s sys 0m2.832s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff947410528000.statahead_max=2048 llite.lustre-ffff947410528000.statahead_max=2048 1001 real 0m4.575s user 0m0.025s sys 0m2.594s 'ls -l' 1000 files with statahead: 4 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 8 seconds llite.lustre-ffff947410528000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats= snapshot_time: 1784416580.764004853 secs.nsecs start_time: 1784416436.001143976 secs.nsecs elapsed_time: 144.762860877 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 2 22 44 32: 0 0 44 64: 0 0 44 128: 1 11 55 256: 4 44 100 - open/close 2678 (time 1784416592.23 total 10.00 last 267.77) - open/close 5932 (time 1784416602.23 total 20.00 last 325.39) - open/close 8712 (time 1784416612.23 total 30.00 last 277.98) total: 10000 open/close in 34.48 seconds: 290.00 ops/second llite.lustre-ffff947410528000.statahead_batch_max=0 llite.lustre-ffff947410528000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff947410528000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m41.887s user 0m0.151s sys 0m33.530s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff947410528000.statahead_batch_max=256 llite.lustre-ffff947410528000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff947410528000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.590s user 0m0.139s sys 0m20.674s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff947410528000.batch_stats= snapshot_time: 1784416697.089235373 secs.nsecs start_time: 1784416662.207284314 secs.nsecs elapsed_time: 34.881951059 secs.nsecs subreqs per batch batches %% cum %% 1: 307 57 57 2: 87 16 73 4: 63 11 85 8: 16 2 88 16: 5 0 89 32: 25 4 93 64: 0 0 93 128: 0 0 93 256: 34 6 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-ffff947410528000.statahead_batch_max=64 llite.lustre-ffff947410528000.statahead_max=128