== sanity test 255a: check 'lfs ladvise -a willread' ===== 09:15:09 (1789305309) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 8.54328 s, 12.3 MB/s ladvise: range [2, 1] is invalid Provide servers with advice about access patterns for a file. usage: ladvise [--advice|-a ADVICE] [--start|-s START[kMGT]] [--background|-b] [--unset|-u] {--end|-e END[kMGT]|--length|-l LENGTH[kMGT]} {[--mode|-m [READ,WRITE]} ... ladvise: range [2, 2] is invalid Provide servers with advice about access patterns for a file. usage: ladvise [--advice|-a ADVICE] [--start|-s START[kMGT]] [--background|-b] [--unset|-u] {--end|-e END[kMGT]|--length|-l LENGTH[kMGT]} {[--mode|-m [READ,WRITE]} ... ladvise: conflicting arguments of -l and -e Provide servers with advice about access patterns for a file. usage: ladvise [--advice|-a ADVICE] [--start|-s START[kMGT]] [--background|-b] [--unset|-u] {--end|-e END[kMGT]|--length|-l LENGTH[kMGT]} {[--mode|-m [READ,WRITE]} ... Synchronous ladvise should wait fail_val=8 fail_loc=0x237 Asynchronous ladvise shouldn't wait llite.lustre-ffff9dbfc50a4800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.520248 Iter 1/10: OSS cache speed: 0.471417 Iter 1/10: ladvise speed: 0.55649 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.607455 Iter 2/10: OSS cache speed: 0.622619 Iter 2/10: ladvise speed: 0.628136 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.621315 Iter 3/10: OSS cache speed: 0.644364 Iter 3/10: ladvise speed: 0.586275 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.678778 Iter 4/10: OSS cache speed: 0.633451 Iter 4/10: ladvise speed: 0.602558 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.6414 Iter 5/10: OSS cache speed: 0.735703 Iter 5/10: ladvise speed: 0.753079 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.931714 Iter 6/10: OSS cache speed: 0.969709 Iter 6/10: ladvise speed: 0.930908 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 1.02537 Iter 7/10: OSS cache speed: 0.920628 Iter 7/10: ladvise speed: 1.34222 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.69121 Iter 8/10: OSS cache speed: 1.21699 Iter 8/10: ladvise speed: 1.10244 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 1.51552 Iter 9/10: OSS cache speed: 2.02825 Iter 9/10: ladvise speed: 1.94422 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.57914 Iter 10/10: OSS cache speed: 1.7827 Iter 10/10: ladvise speed: 2.14095 Average uncached read: .98 Average speedup with OSS cached read: 1.00 = +2% Average speedup with ladvise willread: 1.05 = +7% Speedup with OSS cached read less than 20%, got 2%. Skipping ladvise willread check. fail_loc=0