== sanity test 255a: check 'lfs ladvise -a willread' ===== 17:06:45 (1712264805) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 2.20879 s, 47.5 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-ffff8800b5890800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 1.96982 Iter 1/10: OSS cache speed: 3.0399 Iter 1/10: ladvise speed: 2.46615 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 1.77447 Iter 2/10: OSS cache speed: 2.21883 Iter 2/10: ladvise speed: 2.57467 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 2.0099 Iter 3/10: OSS cache speed: 2.62521 Iter 3/10: ladvise speed: 2.38072 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 2.44824 Iter 4/10: OSS cache speed: 2.90509 Iter 4/10: ladvise speed: 2.62326 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 2.61853 Iter 5/10: OSS cache speed: 2.70819 Iter 5/10: ladvise speed: 3.64931 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 3.18986 Iter 6/10: OSS cache speed: 3.28376 Iter 6/10: ladvise speed: 2.25783 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 2.00341 Iter 7/10: OSS cache speed: 1.93465 Iter 7/10: ladvise speed: 1.83434 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.80512 Iter 8/10: OSS cache speed: 3.39773 Iter 8/10: ladvise speed: 3.53433 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 2.32745 Iter 9/10: OSS cache speed: 2.34627 Iter 9/10: ladvise speed: 1.90745 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.94572 Iter 10/10: OSS cache speed: 2.49057 Iter 10/10: ladvise speed: 2.67105 Average uncached read: 2.20 Average speedup with OSS cached read: 2.69 = +22.27% Average speedup with ladvise willread: 2.58 = +17.27% fail_loc=0