== sanity test 930: Check sparse read optimization (SRO) produces expected behavior ========================================================== 21:38:54 (1775871534) console_ratelimit=0 console_ratelimit=0 osc.lustre-OST0000-osc-ffff939d11250800.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff939d11250800.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.0829435 s, 642 kB/s real 0m0.118s user 0m0.001s sys 0m0.021s 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.0518496 s, 1.0 MB/s real 0m0.078s user 0m0.001s sys 0m0.020s 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.0908826 s, 2.2 MB/s real 0m0.110s user 0m0.000s sys 0m0.028s 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.105363 s, 1.9 MB/s real 0m0.137s user 0m0.001s sys 0m0.027s 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.0683007 s, 1.3 MB/s real 0m0.115s user 0m0.001s sys 0m0.020s 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.108514 s, 830 kB/s real 0m0.133s user 0m0.001s sys 0m0.016s 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.146835 s, 2.2 MB/s real 0m0.188s user 0m0.001s sys 0m0.038s 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.171933 s, 1.9 MB/s real 0m0.215s user 0m0.002s sys 0m0.034s osc.lustre-OST0000-osc-ffff939d11250800.sparse_read_threshold_kb=0 osc.lustre-OST0001-osc-ffff939d11250800.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.0627717 s, 1.4 MB/s real 0m0.088s 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.0714586 s, 1.3 MB/s real 0m0.093s user 0m0.001s sys 0m0.016s osc.lustre-OST0000-osc-ffff939d11250800.sparse_read_threshold_kb=12 osc.lustre-OST0001-osc-ffff939d11250800.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.0554027 s, 1.0 MB/s real 0m0.081s user 0m0.001s sys 0m0.018s 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.0435791 s, 1.3 MB/s real 0m0.066s user 0m0.000s 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.0652794 s, 941 kB/s real 0m0.095s user 0m0.000s sys 0m0.020s 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.0720911 s, 852 kB/s real 0m0.111s user 0m0.000s sys 0m0.019s 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.092472 s, 709 kB/s real 0m0.131s user 0m0.005s sys 0m0.015s 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.113956 s, 575 kB/s real 0m0.141s user 0m0.001s sys 0m0.018s osc.lustre-OST0000-osc-ffff939d11250800.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff939d11250800.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.0584022 s, 701 kB/s real 0m0.092s user 0m0.001s sys 0m0.016s 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.0467939 s, 875 kB/s real 0m0.079s user 0m0.003s sys 0m0.017s 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.0765096 s, 589 kB/s real 0m0.108s user 0m0.001s sys 0m0.017s 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.0687273 s, 656 kB/s real 0m0.101s user 0m0.002s sys 0m0.016s 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.0630602 s, 714 kB/s real 0m0.084s user 0m0.001s sys 0m0.020s 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.0616333 s, 731 kB/s real 0m0.089s user 0m0.001s sys 0m0.020s 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.0340491 s, 361 kB/s real 0m0.059s user 0m0.000s sys 0m0.015s 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.124731 s, 98.5 kB/s real 0m0.174s user 0m0.002s sys 0m0.010s 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.0480088 s, 427 kB/s real 0m0.102s user 0m0.001s sys 0m0.010s 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.0559422 s, 366 kB/s real 0m0.098s user 0m0.001s sys 0m0.023s 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.0527104 s, 389 kB/s real 0m0.097s user 0m0.001s sys 0m0.013s 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.035064 s, 584 kB/s real 0m0.062s user 0m0.001s sys 0m0.013s 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.64305 s, 8.2 MB/s real 0m0.666s user 0m0.003s sys 0m0.264s 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.838866 s, 6.2 MB/s real 0m0.880s user 0m0.001s sys 0m0.266s 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, 1.17815 s, 4.5 MB/s real 0m1.229s user 0m0.001s sys 0m0.295s 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.983127 s, 5.3 MB/s real 0m1.030s user 0m0.001s sys 0m0.275s osc.lustre-OST0000-osc-ffff939d11250800.sparse_read_threshold_kb=64 osc.lustre-OST0001-osc-ffff939d11250800.sparse_read_threshold_kb=64