== sanity test 930: Check sparse read optimization (SRO) produces expected behavior ========================================================== 21:24:30 (1775870670) console_ratelimit=0 console_ratelimit=0 osc.lustre-OST0000-osc-ffff9cb082f1f000.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff9cb082f1f000.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.0641037 s, 831 kB/s real 0m0.092s user 0m0.000s sys 0m0.016s 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.0611438 s, 871 kB/s real 0m0.094s user 0m0.000s sys 0m0.017s 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.0985879 s, 2.0 MB/s real 0m0.133s user 0m0.000s sys 0m0.021s 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.0835197 s, 2.4 MB/s real 0m0.105s 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.0943988 s, 955 kB/s real 0m0.117s user 0m0.000s sys 0m0.015s 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.034 s, 2.7 MB/s real 0m0.049s 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.112542 s, 2.9 MB/s real 0m0.156s user 0m0.002s sys 0m0.033s 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.128373 s, 2.6 MB/s real 0m0.178s user 0m0.000s sys 0m0.026s osc.lustre-OST0000-osc-ffff9cb082f1f000.sparse_read_threshold_kb=0 osc.lustre-OST0001-osc-ffff9cb082f1f000.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.122891 s, 733 kB/s real 0m0.153s user 0m0.001s sys 0m0.016s 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.0907791 s, 993 kB/s real 0m0.135s user 0m0.001s sys 0m0.015s osc.lustre-OST0000-osc-ffff9cb082f1f000.sparse_read_threshold_kb=12 osc.lustre-OST0001-osc-ffff9cb082f1f000.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.0969609 s, 591 kB/s real 0m0.129s user 0m0.001s sys 0m0.015s 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.0463723 s, 1.2 MB/s real 0m0.077s user 0m0.001s sys 0m0.011s 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.0393997 s, 1.6 MB/s real 0m0.056s user 0m0.001s sys 0m0.015s 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.0578008 s, 1.1 MB/s real 0m0.077s user 0m0.001s sys 0m0.017s 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.0561455 s, 1.2 MB/s real 0m0.078s user 0m0.001s 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.0459433 s, 1.4 MB/s real 0m0.060s user 0m0.001s sys 0m0.017s osc.lustre-OST0000-osc-ffff9cb082f1f000.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff9cb082f1f000.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.087021 s, 471 kB/s real 0m0.131s user 0m0.001s sys 0m0.024s 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.0465492 s, 880 kB/s real 0m0.069s user 0m0.001s sys 0m0.020s 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.0394755 s, 1.1 MB/s real 0m0.062s user 0m0.000s sys 0m0.016s 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.0380753 s, 1.2 MB/s real 0m0.062s user 0m0.000s 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.0411215 s, 1.1 MB/s real 0m0.063s user 0m0.000s 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.0527638 s, 854 kB/s real 0m0.070s user 0m0.001s sys 0m0.015s 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.0332172 s, 370 kB/s real 0m0.064s user 0m0.001s sys 0m0.013s 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.0437434 s, 281 kB/s real 0m0.078s 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.055859 s, 367 kB/s real 0m0.084s user 0m0.001s sys 0m0.013s 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.0645889 s, 317 kB/s real 0m0.084s user 0m0.001s sys 0m0.012s 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.0579732 s, 353 kB/s real 0m0.074s user 0m0.001s 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.030208 s, 678 kB/s real 0m0.053s user 0m0.000s sys 0m0.012s 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, 1.21035 s, 4.3 MB/s real 0m1.274s user 0m0.000s sys 0m0.243s 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, 1.04872 s, 5.0 MB/s real 0m1.081s user 0m0.000s sys 0m0.268s 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.08194 s, 4.8 MB/s real 0m1.134s user 0m0.002s sys 0m0.236s 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.9391 s, 5.6 MB/s real 0m0.975s user 0m0.001s sys 0m0.255s osc.lustre-OST0000-osc-ffff9cb082f1f000.sparse_read_threshold_kb=64 osc.lustre-OST0001-osc-ffff9cb082f1f000.sparse_read_threshold_kb=64