== sanity test 930: Check sparse read optimization (SRO) produces expected behavior ========================================================== 21:35:10 (1775871310) console_ratelimit=0 console_ratelimit=0 osc.lustre-OST0000-osc-ffff9d2b02afa800.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff9d2b02afa800.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.0569212 s, 935 kB/s real 0m0.087s user 0m0.000s 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.0545306 s, 976 kB/s real 0m0.086s user 0m0.000s sys 0m0.022s 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.0886045 s, 2.2 MB/s real 0m0.116s user 0m0.001s sys 0m0.031s 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.0793059 s, 2.5 MB/s real 0m0.108s user 0m0.002s sys 0m0.025s 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.0684553 s, 1.3 MB/s real 0m0.109s user 0m0.000s sys 0m0.022s 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.0620604 s, 1.5 MB/s real 0m0.090s user 0m0.001s 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.099577 s, 3.3 MB/s real 0m0.129s 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.117086 s, 2.8 MB/s real 0m0.172s user 0m0.001s sys 0m0.029s osc.lustre-OST0000-osc-ffff9d2b02afa800.sparse_read_threshold_kb=0 osc.lustre-OST0001-osc-ffff9d2b02afa800.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.0792971 s, 1.1 MB/s real 0m0.120s user 0m0.000s sys 0m0.020s 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.0503264 s, 1.8 MB/s real 0m0.070s user 0m0.001s sys 0m0.020s osc.lustre-OST0000-osc-ffff9d2b02afa800.sparse_read_threshold_kb=12 osc.lustre-OST0001-osc-ffff9d2b02afa800.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.0611002 s, 939 kB/s real 0m0.089s user 0m0.001s sys 0m0.017s 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.073239 s, 783 kB/s real 0m0.103s user 0m0.001s sys 0m0.018s 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.0425654 s, 1.4 MB/s real 0m0.069s user 0m0.001s 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.053913 s, 1.1 MB/s real 0m0.079s user 0m0.001s 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.0754349 s, 869 kB/s real 0m0.113s user 0m0.001s sys 0m0.016s 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.0503931 s, 1.3 MB/s real 0m0.089s user 0m0.000s sys 0m0.015s osc.lustre-OST0000-osc-ffff9d2b02afa800.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff9d2b02afa800.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.0423092 s, 968 kB/s real 0m0.072s user 0m0.001s sys 0m0.014s 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.0718098 s, 570 kB/s real 0m0.121s user 0m0.003s sys 0m0.023s 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.0567809 s, 794 kB/s real 0m0.091s 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.0963811 s, 467 kB/s real 0m0.138s user 0m0.001s sys 0m0.012s 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.068759 s, 655 kB/s real 0m0.105s user 0m0.003s sys 0m0.012s 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.0726742 s, 620 kB/s real 0m0.101s user 0m0.000s 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.0372931 s, 330 kB/s real 0m0.079s 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.0498451 s, 247 kB/s real 0m0.072s 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.0726774 s, 282 kB/s real 0m0.120s user 0m0.001s sys 0m0.008s 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.074932 s, 273 kB/s real 0m0.459s user 0m0.001s sys 0m0.017s 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.0504227 s, 406 kB/s real 0m0.073s 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.0416349 s, 492 kB/s real 0m0.057s 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, 0.8365 s, 6.3 MB/s real 0m0.872s user 0m0.002s sys 0m0.223s 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.957971 s, 5.5 MB/s real 0m0.980s user 0m0.003s sys 0m0.245s 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.771017 s, 6.8 MB/s real 0m0.799s user 0m0.002s sys 0m0.264s 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.838267 s, 6.3 MB/s real 0m0.858s user 0m0.002s sys 0m0.261s osc.lustre-OST0000-osc-ffff9d2b02afa800.sparse_read_threshold_kb=64 osc.lustre-OST0001-osc-ffff9d2b02afa800.sparse_read_threshold_kb=64