== sanity test 930: Check sparse read optimization (SRO) produces expected behavior ========================================================== 21:35:00 (1775871300) console_ratelimit=0 console_ratelimit=0 osc.lustre-OST0000-osc-ffff8d7a1214f000.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff8d7a1214f000.sparse_read_threshold_kb=4 Testing "4096 d10 s1 d2" Read /mnt/lustre/d930.sanity/sparse_4096_d10_s1_d2 0+1 records in 0+1 records out 53248 bytes (53 kB, 52 KiB) copied, 0.0633027 s, 841 kB/s real 0m0.088s user 0m0.002s sys 0m0.017s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_d10_s1_d2 0+1 records in 0+1 records out 53248 bytes (53 kB, 52 KiB) copied, 0.0557537 s, 955 kB/s real 0m0.083s user 0m0.000s sys 0m0.018s Testing "65536 d1 s1 d1" Read /mnt/lustre/d930.sanity/sparse_65536_d1_s1_d1 0+1 records in 0+1 records out 196608 bytes (197 kB, 192 KiB) copied, 0.0643397 s, 3.1 MB/s real 0m0.086s user 0m0.001s sys 0m0.026s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_65536_d1_s1_d1 0+1 records in 0+1 records out 196608 bytes (197 kB, 192 KiB) copied, 0.0784116 s, 2.5 MB/s real 0m0.108s user 0m0.001s sys 0m0.023s Testing "4096 d10 s10 d2" Read /mnt/lustre/d930.sanity/sparse_4096_d10_s10_d2 0+1 records in 0+1 records out 90112 bytes (90 kB, 88 KiB) copied, 0.0841238 s, 1.1 MB/s real 0m0.111s user 0m0.001s sys 0m0.017s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_d10_s10_d2 0+1 records in 0+1 records out 90112 bytes (90 kB, 88 KiB) copied, 0.050323 s, 1.8 MB/s real 0m0.075s user 0m0.000s sys 0m0.018s Testing "65536 d1 s2 d2" Read /mnt/lustre/d930.sanity/sparse_65536_d1_s2_d2 0+1 records in 0+1 records out 327680 bytes (328 kB, 320 KiB) copied, 0.182342 s, 1.8 MB/s real 0m0.216s user 0m0.000s sys 0m0.037s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_65536_d1_s2_d2 0+1 records in 0+1 records out 327680 bytes (328 kB, 320 KiB) copied, 0.134654 s, 2.4 MB/s real 0m0.161s user 0m0.001s sys 0m0.032s osc.lustre-OST0000-osc-ffff8d7a1214f000.sparse_read_threshold_kb=0 osc.lustre-OST0001-osc-ffff8d7a1214f000.sparse_read_threshold_kb=0 Testing "4096 d10 s10 d2" Read /mnt/lustre/d930.sanity/sparse_4096_d10_s10_d2 0+1 records in 0+1 records out 90112 bytes (90 kB, 88 KiB) copied, 0.0672784 s, 1.3 MB/s real 0m0.098s user 0m0.001s sys 0m0.021s Should get 0 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_d10_s10_d2 0+1 records in 0+1 records out 90112 bytes (90 kB, 88 KiB) copied, 0.0419874 s, 2.1 MB/s real 0m0.065s user 0m0.001s sys 0m0.021s osc.lustre-OST0000-osc-ffff8d7a1214f000.sparse_read_threshold_kb=12 osc.lustre-OST0001-osc-ffff8d7a1214f000.sparse_read_threshold_kb=12 Testing "4096 d10 s2 d2" Read /mnt/lustre/d930.sanity/sparse_4096_d10_s2_d2 0+1 records in 0+1 records out 57344 bytes (57 kB, 56 KiB) copied, 0.0748886 s, 766 kB/s real 0m0.115s user 0m0.002s sys 0m0.019s Should get 0 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_d10_s2_d2 0+1 records in 0+1 records out 57344 bytes (57 kB, 56 KiB) copied, 0.040912 s, 1.4 MB/s real 0m0.065s user 0m0.001s sys 0m0.017s Testing "4096 d10 s3 d2" Read /mnt/lustre/d930.sanity/sparse_4096_d10_s3_d2 0+1 records in 0+1 records out 61440 bytes (61 kB, 60 KiB) copied, 0.0917109 s, 670 kB/s real 0m0.114s user 0m0.001s sys 0m0.016s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_d10_s3_d2 0+1 records in 0+1 records out 61440 bytes (61 kB, 60 KiB) copied, 0.0569237 s, 1.1 MB/s real 0m0.083s user 0m0.000s sys 0m0.022s Testing "4096 d10 s4 d2" Read /mnt/lustre/d930.sanity/sparse_4096_d10_s4_d2 0+1 records in 0+1 records out 65536 bytes (66 kB, 64 KiB) copied, 0.0464785 s, 1.4 MB/s real 0m0.067s user 0m0.001s sys 0m0.014s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_d10_s4_d2 0+1 records in 0+1 records out 65536 bytes (66 kB, 64 KiB) copied, 0.051208 s, 1.3 MB/s real 0m0.076s user 0m0.002s sys 0m0.016s osc.lustre-OST0000-osc-ffff8d7a1214f000.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff8d7a1214f000.sparse_read_threshold_kb=4 Testing "4096 s10" Read /mnt/lustre/d930.sanity/sparse_4096_s10 0+1 records in 0+1 records out 40960 bytes (41 kB, 40 KiB) copied, 0.0734269 s, 558 kB/s real 0m0.109s user 0m0.001s sys 0m0.015s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_s10 0+1 records in 0+1 records out 40960 bytes (41 kB, 40 KiB) copied, 0.0518514 s, 790 kB/s real 0m0.078s user 0m0.000s sys 0m0.015s Testing "4096 d10 s1" Read /mnt/lustre/d930.sanity/sparse_4096_d10_s1 0+1 records in 0+1 records out 45056 bytes (45 kB, 44 KiB) copied, 0.100517 s, 448 kB/s real 0m0.127s user 0m0.001s sys 0m0.019s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_d10_s1 0+1 records in 0+1 records out 45056 bytes (45 kB, 44 KiB) copied, 0.11625 s, 388 kB/s real 0m0.151s user 0m0.001s sys 0m0.015s Testing "4096 s1 d10" Read /mnt/lustre/d930.sanity/sparse_4096_s1_d10 0+1 records in 0+1 records out 45056 bytes (45 kB, 44 KiB) copied, 0.0829033 s, 543 kB/s real 0m0.129s user 0m0.001s sys 0m0.025s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_s1_d10 0+1 records in 0+1 records out 45056 bytes (45 kB, 44 KiB) copied, 0.0386117 s, 1.2 MB/s real 0m0.063s user 0m0.001s sys 0m0.019s Testing "1 d1 s4096 d8192" Read /mnt/lustre/d930.sanity/sparse_1_d1_s4096_d8192 0+1 records in 0+1 records out 12289 bytes (12 kB, 12 KiB) copied, 0.0320294 s, 384 kB/s real 0m0.061s user 0m0.001s sys 0m0.010s Should get 0 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_1_d1_s4096_d8192 0+1 records in 0+1 records out 12289 bytes (12 kB, 12 KiB) copied, 0.0414247 s, 297 kB/s real 0m0.060s user 0m0.001s sys 0m0.013s Testing "1 d1 s8190 d12288" Read /mnt/lustre/d930.sanity/sparse_1_d1_s8190_d12288 0+1 records in 0+1 records out 20479 bytes (20 kB, 20 KiB) copied, 0.0415188 s, 493 kB/s real 0m0.062s user 0m0.002s sys 0m0.011s Should get 0 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_1_d1_s8190_d12288 0+1 records in 0+1 records out 20479 bytes (20 kB, 20 KiB) copied, 0.0343201 s, 597 kB/s real 0m0.049s user 0m0.002s sys 0m0.011s Testing "1 d1 s8191 d12288" Read /mnt/lustre/d930.sanity/sparse_1_d1_s8191_d12288 0+1 records in 0+1 records out 20480 bytes (20 kB, 20 KiB) copied, 0.047754 s, 429 kB/s real 0m0.079s user 0m0.000s sys 0m0.014s Should get 1 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_1_d1_s8191_d12288 0+1 records in 0+1 records out 20480 bytes (20 kB, 20 KiB) copied, 0.0822406 s, 249 kB/s real 0m0.104s user 0m0.001s sys 0m0.015s Testing "4096 d200 s56 r5" Read /mnt/lustre/d930.sanity/sparse_4096_d200_s56_r5 1+1 records in 1+1 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 0.944308 s, 5.6 MB/s real 0m0.985s user 0m0.000s sys 0m0.234s Should get 5 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_d200_s56_r5 1+1 records in 1+1 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 0.941038 s, 5.6 MB/s real 0m0.973s user 0m0.000s sys 0m0.253s Testing "4096 s200 d56 r5" Read /mnt/lustre/d930.sanity/sparse_4096_s200_d56_r5 1+1 records in 1+1 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 0.980426 s, 5.3 MB/s real 0m1.027s user 0m0.001s sys 0m0.293s Should get 5 sparse put messages Read /mnt/lustre/d930.sanity/nosparse_4096_s200_d56_r5 1+1 records in 1+1 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 0.841722 s, 6.2 MB/s real 0m0.885s user 0m0.000s sys 0m0.251s osc.lustre-OST0000-osc-ffff8d7a1214f000.sparse_read_threshold_kb=64 osc.lustre-OST0001-osc-ffff8d7a1214f000.sparse_read_threshold_kb=64