== sanity test 930: Check sparse read optimization (SRO) produces expected behavior ========================================================== 21:34:49 (1775871289) console_ratelimit=0 console_ratelimit=0 osc.lustre-OST0000-osc-ffff9443513e2800.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff9443513e2800.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.0391148 s, 1.4 MB/s real 0m0.056s user 0m0.000s 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.0783747 s, 679 kB/s real 0m0.111s user 0m0.001s sys 0m0.019s 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.0787301 s, 2.5 MB/s real 0m0.116s user 0m0.000s 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.0740093 s, 2.7 MB/s real 0m0.097s 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.0526131 s, 1.7 MB/s real 0m0.083s user 0m0.000s 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.0462949 s, 1.9 MB/s real 0m0.069s user 0m0.002s sys 0m0.019s 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.150447 s, 2.2 MB/s real 0m0.180s user 0m0.002s 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.118012 s, 2.8 MB/s real 0m0.145s user 0m0.002s sys 0m0.027s osc.lustre-OST0000-osc-ffff9443513e2800.sparse_read_threshold_kb=0 osc.lustre-OST0001-osc-ffff9443513e2800.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.0569911 s, 1.6 MB/s real 0m0.086s user 0m0.002s 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.0627423 s, 1.4 MB/s real 0m0.086s user 0m0.001s sys 0m0.021s osc.lustre-OST0000-osc-ffff9443513e2800.sparse_read_threshold_kb=12 osc.lustre-OST0001-osc-ffff9443513e2800.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.056727 s, 1.0 MB/s real 0m0.080s user 0m0.001s sys 0m0.014s 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.0535474 s, 1.1 MB/s real 0m0.091s user 0m0.002s sys 0m0.020s 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.0836452 s, 735 kB/s real 0m0.126s user 0m0.002s 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.0440412 s, 1.4 MB/s real 0m0.062s user 0m0.000s 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.0805733 s, 813 kB/s real 0m0.106s user 0m0.000s 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.0698922 s, 938 kB/s real 0m0.099s user 0m0.002s sys 0m0.017s osc.lustre-OST0000-osc-ffff9443513e2800.sparse_read_threshold_kb=4 osc.lustre-OST0001-osc-ffff9443513e2800.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.0853227 s, 480 kB/s real 0m0.121s user 0m0.002s sys 0m0.020s 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.0587312 s, 697 kB/s real 0m0.086s user 0m0.000s 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.0945446 s, 477 kB/s real 0m0.119s user 0m0.000s sys 0m0.014s 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.071084 s, 634 kB/s real 0m0.096s user 0m0.001s 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.081514 s, 553 kB/s real 0m0.108s user 0m0.002s sys 0m0.015s 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.0703919 s, 640 kB/s real 0m0.100s user 0m0.001s sys 0m0.013s 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.0271652 s, 452 kB/s real 0m0.070s user 0m0.001s sys 0m0.011s 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.0479249 s, 256 kB/s real 0m0.088s user 0m0.002s 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.0332016 s, 617 kB/s real 0m0.051s user 0m0.002s 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.0623004 s, 329 kB/s real 0m0.112s user 0m0.002s sys 0m0.019s 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.0411514 s, 498 kB/s real 0m0.060s 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.0344841 s, 594 kB/s real 0m0.055s user 0m0.001s sys 0m0.015s 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.966193 s, 5.4 MB/s real 0m1.001s user 0m0.000s sys 0m0.251s 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.05812 s, 5.0 MB/s real 0m1.092s user 0m0.001s sys 0m0.290s 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.878242 s, 6.0 MB/s real 0m0.922s user 0m0.001s sys 0m0.248s 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.932074 s, 5.6 MB/s real 0m0.970s user 0m0.001s sys 0m0.267s osc.lustre-OST0000-osc-ffff9443513e2800.sparse_read_threshold_kb=64 osc.lustre-OST0001-osc-ffff9443513e2800.sparse_read_threshold_kb=64