== sanity test 930: Check sparse read optimization (SRO) produces expected behavior ========================================================== 00:02:13 (1775880133) console_ratelimit=0 console_ratelimit=0 osc.lustre-OST0000-osc-ffff906ec7c7c800.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff906ec7c7c800.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.0166602 s, 3.2 MB/s real 0m0.027s 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.0167527 s, 3.2 MB/s real 0m0.025s user 0m0.001s sys 0m0.013s 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.0489767 s, 4.0 MB/s real 0m0.066s user 0m0.001s sys 0m0.041s 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.0334968 s, 5.9 MB/s real 0m0.046s user 0m0.000s sys 0m0.028s 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.0216479 s, 4.2 MB/s real 0m0.030s user 0m0.002s sys 0m0.014s 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.0179302 s, 5.0 MB/s real 0m0.026s user 0m0.000s sys 0m0.014s 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.0498971 s, 6.6 MB/s real 0m0.063s user 0m0.001s sys 0m0.041s 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.0548831 s, 6.0 MB/s real 0m0.069s user 0m0.003s sys 0m0.044s osc.lustre-OST0000-osc-ffff906ec7c7c800.sparse_read_threshold_kb=0 osc.lustre-OST0001-osc-ffff906ec7c7c800.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.0305036 s, 3.0 MB/s real 0m0.045s user 0m0.001s sys 0m0.024s 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.0313939 s, 2.9 MB/s real 0m0.046s user 0m0.001s sys 0m0.024s osc.lustre-OST0000-osc-ffff906ec7c7c800.sparse_read_threshold_kb=12 osc.lustre-OST0001-osc-ffff906ec7c7c800.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.022499 s, 2.5 MB/s real 0m0.033s user 0m0.000s 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.0186056 s, 3.1 MB/s real 0m0.027s user 0m0.000s sys 0m0.013s 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.0151239 s, 4.1 MB/s real 0m0.025s user 0m0.000s sys 0m0.012s 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.0175906 s, 3.5 MB/s real 0m0.027s user 0m0.001s sys 0m0.014s 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.0237823 s, 2.8 MB/s real 0m0.035s 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.0178561 s, 3.7 MB/s real 0m0.026s user 0m0.001s sys 0m0.013s osc.lustre-OST0000-osc-ffff906ec7c7c800.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff906ec7c7c800.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.0137302 s, 3.0 MB/s real 0m0.023s user 0m0.001s sys 0m0.011s 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.0164126 s, 2.5 MB/s real 0m0.026s user 0m0.000s sys 0m0.014s 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.0166146 s, 2.7 MB/s real 0m0.025s user 0m0.002s sys 0m0.012s 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.015608 s, 2.9 MB/s real 0m0.026s user 0m0.001s sys 0m0.013s 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.0158615 s, 2.8 MB/s real 0m0.024s user 0m0.001s sys 0m0.011s 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.0199168 s, 2.3 MB/s real 0m0.029s user 0m0.000s sys 0m0.014s 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.0121672 s, 1.0 MB/s real 0m0.022s user 0m0.000s sys 0m0.012s 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.0149719 s, 821 kB/s real 0m0.027s user 0m0.002s 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.012838 s, 1.6 MB/s real 0m0.024s user 0m0.000s 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.0129541 s, 1.6 MB/s real 0m0.022s user 0m0.001s 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.0135697 s, 1.5 MB/s real 0m0.021s user 0m0.001s sys 0m0.010s 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.0158595 s, 1.3 MB/s real 0m0.025s user 0m0.000s 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.270073 s, 19.4 MB/s real 0m0.278s user 0m0.000s sys 0m0.236s 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.269445 s, 19.5 MB/s real 0m0.279s user 0m0.000s sys 0m0.237s 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.304969 s, 17.2 MB/s real 0m0.315s user 0m0.002s sys 0m0.266s 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.268364 s, 19.5 MB/s real 0m0.278s user 0m0.000s sys 0m0.232s osc.lustre-OST0000-osc-ffff906ec7c7c800.sparse_read_threshold_kb=64 osc.lustre-OST0001-osc-ffff906ec7c7c800.sparse_read_threshold_kb=64