== sanity test 930: Check sparse read optimization (SRO) produces expected behavior ========================================================== 21:37:05 (1775871425) console_ratelimit=0 console_ratelimit=0 osc.lustre-OST0000-osc-ffff8b4444ed2000.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff8b4444ed2000.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.0708964 s, 751 kB/s real 0m0.114s user 0m0.002s sys 0m0.019s 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.10222 s, 521 kB/s real 0m0.139s user 0m0.000s sys 0m0.021s 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.139001 s, 1.4 MB/s real 0m0.167s user 0m0.002s sys 0m0.029s 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.102952 s, 1.9 MB/s real 0m0.126s user 0m0.001s sys 0m0.020s 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.0620874 s, 1.5 MB/s real 0m0.102s user 0m0.001s sys 0m0.019s 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.0841938 s, 1.1 MB/s real 0m0.114s user 0m0.001s sys 0m0.017s 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.0759075 s, 4.3 MB/s real 0m0.106s user 0m0.002s sys 0m0.027s 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.137612 s, 2.4 MB/s real 0m0.159s user 0m0.001s sys 0m0.024s osc.lustre-OST0000-osc-ffff8b4444ed2000.sparse_read_threshold_kb=0 osc.lustre-OST0001-osc-ffff8b4444ed2000.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.0696753 s, 1.3 MB/s real 0m0.109s user 0m0.001s sys 0m0.017s 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.0593224 s, 1.5 MB/s real 0m0.093s user 0m0.002s sys 0m0.021s osc.lustre-OST0000-osc-ffff8b4444ed2000.sparse_read_threshold_kb=12 osc.lustre-OST0001-osc-ffff8b4444ed2000.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.0674787 s, 850 kB/s real 0m0.099s user 0m0.001s sys 0m0.021s 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.0579949 s, 989 kB/s real 0m0.084s 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.069418 s, 885 kB/s real 0m0.110s user 0m0.001s sys 0m0.017s 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.0584034 s, 1.1 MB/s real 0m0.094s user 0m0.000s sys 0m0.016s 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.0993004 s, 660 kB/s real 0m0.156s user 0m0.001s sys 0m0.018s 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.097242 s, 674 kB/s real 0m0.139s user 0m0.002s sys 0m0.021s osc.lustre-OST0000-osc-ffff8b4444ed2000.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff8b4444ed2000.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.0668275 s, 613 kB/s real 0m0.091s user 0m0.000s sys 0m0.013s 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.0652639 s, 628 kB/s real 0m0.086s user 0m0.001s 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.0930788 s, 484 kB/s real 0m0.133s user 0m0.001s sys 0m0.020s 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.0507009 s, 889 kB/s real 0m0.078s user 0m0.001s sys 0m0.020s 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.084496 s, 533 kB/s real 0m0.113s user 0m0.002s sys 0m0.014s 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.0523401 s, 861 kB/s real 0m0.093s user 0m0.000s sys 0m0.017s 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.0485074 s, 253 kB/s real 0m0.080s user 0m0.002s 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.0266801 s, 461 kB/s real 0m0.043s user 0m0.000s sys 0m0.014s 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.0464303 s, 441 kB/s real 0m0.082s user 0m0.003s sys 0m0.015s 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.0770851 s, 266 kB/s real 0m0.118s user 0m0.001s sys 0m0.015s 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.0592241 s, 346 kB/s real 0m0.079s user 0m0.001s sys 0m0.016s 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.0727995 s, 281 kB/s real 0m0.092s user 0m0.001s sys 0m0.016s 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.889264 s, 5.9 MB/s real 0m0.924s user 0m0.002s sys 0m0.277s 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.842853 s, 6.2 MB/s real 0m0.865s user 0m0.000s sys 0m0.283s 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.964346 s, 5.4 MB/s real 0m0.985s user 0m0.000s sys 0m0.231s 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.838334 s, 6.3 MB/s real 0m0.876s user 0m0.001s sys 0m0.261s osc.lustre-OST0000-osc-ffff8b4444ed2000.sparse_read_threshold_kb=64 osc.lustre-OST0001-osc-ffff8b4444ed2000.sparse_read_threshold_kb=64