== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:34:30 (1787855670) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.batch_stats=0 llite.lustre-ffff9a18cb25b000.statahead_max=32 llite.lustre-ffff9a18cb25b000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.60 seconds: 38.44 ops/second llite.lustre-ffff9a18cb25b000.statahead_max=0 101 real 0m1.944s user 0m0.006s sys 0m0.312s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9a18cb25b000.statahead_max=32 llite.lustre-ffff9a18cb25b000.statahead_max=32 101 real 0m0.942s user 0m0.003s sys 0m0.148s 'ls -l' 100 files with statahead: 1 sec statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 39 fname_total: 90 hit_total: 3734 miss_total: 1629 swrong=2 ewrong=2 - open/close 808 (time 1787855697.25 total 10.01 last 80.76) total: 900 open/close in 11.30 seconds: 79.61 ops/second llite.lustre-ffff9a18cb25b000.statahead_max=0 1001 real 0m22.943s user 0m0.025s sys 0m3.188s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9a18cb25b000.statahead_max=32 llite.lustre-ffff9a18cb25b000.statahead_max=32 1001 real 0m9.631s user 0m0.030s sys 0m1.355s 'ls -l' 1000 files with statahead: 10 sec statahead total: 145 statahead wrong: 2 agl total: 139 list_total: 40 fname_total: 90 hit_total: 4733 miss_total: 1630 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9a18cb25b000.statahead_stats= statahead total: 145 statahead wrong: 2 agl total: 139 list_total: 40 fname_total: 90 hit_total: 4733 miss_total: 1630 mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats= snapshot_time: 1787855763.017694716 secs.nsecs start_time: 1787855675.026600819 secs.nsecs elapsed_time: 87.991093897 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 5 12 12 8: 0 0 12 16: 20 51 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.batch_stats= snapshot_time: 1787855763.017763133 secs.nsecs start_time: 1787855675.026936821 secs.nsecs elapsed_time: 87.990826312 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 5 12 20 16: 17 42 62 32: 15 37 100 - open/close 908 (time 1787855776.57 total 10.01 last 90.73) - open/close 1685 (time 1787855786.57 total 20.01 last 77.69) - open/close 2593 (time 1787855796.57 total 30.01 last 90.74) - open/close 3399 (time 1787855806.58 total 40.02 last 80.54) - open/close 4069 (time 1787855816.60 total 50.04 last 66.88) - open/close 4946 (time 1787855826.60 total 60.04 last 87.68) - open/close 5841 (time 1787855836.61 total 70.05 last 89.44) - open/close 6704 (time 1787855846.64 total 80.08 last 86.01) - open/close 7288 (time 1787855856.67 total 90.11 last 58.22) - open/close 7930 (time 1787855866.68 total 100.12 last 64.17) - open/close 8650 (time 1787855876.70 total 110.14 last 71.82) - open/close 9555 (time 1787855886.70 total 120.14 last 90.50) total: 10000 open/close in 126.97 seconds: 78.76 ops/second llite.lustre-ffff9a18cb25b000.statahead_batch_max=0 llite.lustre-ffff9a18cb25b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.584s user 0m0.371s sys 0m15.314s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a18cb25b000.statahead_batch_max=32 llite.lustre-ffff9a18cb25b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m38.220s user 0m0.326s sys 0m13.645s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats= snapshot_time: 1787856077.163261399 secs.nsecs start_time: 1787855967.138017962 secs.nsecs elapsed_time: 110.025243437 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.batch_stats= snapshot_time: 1787856077.163334301 secs.nsecs start_time: 1787855967.138159919 secs.nsecs elapsed_time: 110.025174382 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.batch_stats=0 llite.lustre-ffff9a18cb25b000.statahead_max=2048 llite.lustre-ffff9a18cb25b000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.30 seconds: 43.50 ops/second llite.lustre-ffff9a18cb25b000.statahead_max=0 101 real 0m1.536s user 0m0.006s sys 0m0.299s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9a18cb25b000.statahead_max=2048 llite.lustre-ffff9a18cb25b000.statahead_max=2048 101 real 0m0.654s user 0m0.006s 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: 10080 miss_total: 20 swrong=0 ewrong=0 total: 900 open/close in 9.58 seconds: 93.96 ops/second llite.lustre-ffff9a18cb25b000.statahead_max=0 1001 real 0m17.318s user 0m0.028s sys 0m2.903s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff9a18cb25b000.statahead_max=2048 llite.lustre-ffff9a18cb25b000.statahead_max=2048 1001 real 0m6.610s user 0m0.025s sys 0m1.375s '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: 11079 miss_total: 21 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff9a18cb25b000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11079 miss_total: 21 mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats= snapshot_time: 1787856379.268372817 secs.nsecs start_time: 1787856079.897501170 secs.nsecs elapsed_time: 299.370871647 secs.nsecs subreqs per batch batches %% cum %% 1: 2 25 25 2: 1 12 37 4: 2 25 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-ffff9a18cb25b000.batch_stats= snapshot_time: 1787856379.269699143 secs.nsecs start_time: 1787856079.897690463 secs.nsecs elapsed_time: 299.372008680 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 10 10 8: 2 20 30 16: 3 30 60 32: 1 10 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 964 (time 1787856391.87 total 10.00 last 96.38) - open/close 1872 (time 1787856401.88 total 20.01 last 90.70) - open/close 2811 (time 1787856411.90 total 30.03 last 93.75) - open/close 3889 (time 1787856421.91 total 40.04 last 107.72) - open/close 4940 (time 1787856431.91 total 50.04 last 105.06) - open/close 6010 (time 1787856441.92 total 60.05 last 106.96) - open/close 7014 (time 1787856451.92 total 70.05 last 100.39) - open/close 7973 (time 1787856461.92 total 80.05 last 95.84) - open/close 8937 (time 1787856471.93 total 90.06 last 96.33) - open/close 9953 (time 1787856481.93 total 100.06 last 101.57) total: 10000 open/close in 100.43 seconds: 99.57 ops/second llite.lustre-ffff9a18cb25b000.statahead_batch_max=0 llite.lustre-ffff9a18cb25b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.086s user 0m0.331s sys 0m14.341s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a18cb25b000.statahead_batch_max=256 llite.lustre-ffff9a18cb25b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.344s user 0m0.270s sys 0m13.376s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a18cb25b000.batch_stats= snapshot_time: 1787856622.381462050 secs.nsecs start_time: 1787856558.855506380 secs.nsecs elapsed_time: 63.525955670 secs.nsecs subreqs per batch batches %% cum %% 1: 86 37 37 2: 33 14 51 4: 20 8 59 8: 21 9 68 16: 12 5 74 32: 17 7 81 64: 9 3 85 128: 0 0 85 256: 34 14 100 mdc.lustre-MDT0001-mdc-ffff9a18cb25b000.batch_stats= snapshot_time: 1787856622.381579841 secs.nsecs start_time: 1787856558.855630822 secs.nsecs elapsed_time: 63.525949019 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-ffff9a18cb25b000.statahead_batch_max=64 llite.lustre-ffff9a18cb25b000.statahead_max=128