== sanity test 255a: check 'lfs ladvise -a willread' ===== 17:54:03 (1786830843) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 13.1328 s, 8.0 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-ffff8ab9202f5000.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.36113 Iter 1/10: OSS cache speed: 0.476519 Iter 1/10: ladvise speed: 0.389928 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.483705 Iter 2/10: OSS cache speed: 0.49953 Iter 2/10: ladvise speed: 0.507237 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.463042 Iter 3/10: OSS cache speed: 0.471523 Iter 3/10: ladvise speed: 0.511082 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.486214 Iter 4/10: OSS cache speed: 0.501953 Iter 4/10: ladvise speed: 0.499907 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.414418 Iter 5/10: OSS cache speed: 0.495214 Iter 5/10: ladvise speed: 0.456237 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.485989 Iter 6/10: OSS cache speed: 0.512794 Iter 6/10: ladvise speed: 0.466236 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.459371 Iter 7/10: OSS cache speed: 0.508622 Iter 7/10: ladvise speed: 0.504841 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.491492 Iter 8/10: OSS cache speed: 0.468866 Iter 8/10: ladvise speed: 0.486715 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.454711 Iter 9/10: OSS cache speed: 0.487708 Iter 9/10: ladvise speed: 0.461305 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.48949 Iter 10/10: OSS cache speed: 0.489969 Iter 10/10: ladvise speed: 0.420818 Average uncached read: .45 Average speedup with OSS cached read: .49 = +8% Average speedup with ladvise willread: .47 = +4% Speedup with OSS cached read less than 20%, got 8%. Skipping ladvise willread check. fail_loc=0