== sanity test 255a: check 'lfs ladvise -a willread' ===== 03:35:35 (1780385735) 100+0 records in 100+0 records out 104857600 bytes (105 MB, 100 MiB) copied, 14.5302 s, 7.2 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-ffff962647dee800.hybrid_io=0 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.431461 Iter 1/10: OSS cache speed: 0.511129 Iter 1/10: ladvise speed: 0.531475 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.490766 Iter 2/10: OSS cache speed: 0.491636 Iter 2/10: ladvise speed: 0.533806 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.49045 Iter 3/10: OSS cache speed: 0.552396 Iter 3/10: ladvise speed: 0.579216 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.581013 Iter 4/10: OSS cache speed: 0.699813 Iter 4/10: ladvise speed: 0.69348 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.60276 Iter 5/10: OSS cache speed: 0.684104 Iter 5/10: ladvise speed: 0.685175 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.663152 Iter 6/10: OSS cache speed: 0.836257 Iter 6/10: ladvise speed: 1.01486 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.850304 Iter 7/10: OSS cache speed: 1.26252 Iter 7/10: ladvise speed: 1.17508 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 1.04868 Iter 8/10: OSS cache speed: 1.18602 Iter 8/10: ladvise speed: 0.974368 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 1.08989 Iter 9/10: OSS cache speed: 1.44565 Iter 9/10: ladvise speed: 1.74625 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 1.65799 Iter 10/10: OSS cache speed: 2.04687 Iter 10/10: ladvise speed: 1.92727 Average uncached read: .79 Average speedup with OSS cached read: .97 = +22% Average speedup with ladvise willread: .98 = +24% fail_loc=0