== sanity test 255a: check 'lfs ladvise -a willread' ===== 17:49:28 (1787867368) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 13.8242 s, 7.6 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-ffff91608773a800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.391513 Iter 1/10: OSS cache speed: 0.432388 Iter 1/10: ladvise speed: 0.560503 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.442974 Iter 2/10: OSS cache speed: 0.453432 Iter 2/10: ladvise speed: 0.439362 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.432247 Iter 3/10: OSS cache speed: 0.442901 Iter 3/10: ladvise speed: 0.562714 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.380757 Iter 4/10: OSS cache speed: 0.462368 Iter 4/10: ladvise speed: 0.505546 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.356446 Iter 5/10: OSS cache speed: 0.371254 Iter 5/10: ladvise speed: 0.483763 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.453213 Iter 6/10: OSS cache speed: 0.450108 Iter 6/10: ladvise speed: 0.423392 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.430754 Iter 7/10: OSS cache speed: 0.425166 Iter 7/10: ladvise speed: 0.475986 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.370094 Iter 8/10: OSS cache speed: 0.439384 Iter 8/10: ladvise speed: 0.457847 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.408173 Iter 9/10: OSS cache speed: 0.447357 Iter 9/10: ladvise speed: 0.463315 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.446223 Iter 10/10: OSS cache speed: 0.485535 Iter 10/10: ladvise speed: 0.479947 Average uncached read: .41 Average speedup with OSS cached read: .44 = +7% Average speedup with ladvise willread: .48 = +17% Speedup with OSS cached read less than 20%, got 7%. Skipping ladvise willread check. fail_loc=0