== sanity test 255a: check 'lfs ladvise -a willread' ===== 04:56:56 (1715331416) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 3.77704 s, 27.8 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 Iter 1/10: reading without willread hint Iter 1/10: uncached speed: 0.0236574 Iter 1/10: OSS cache speed: 0.520419 Iter 1/10: ladvise speed: 0.175202 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.0161477 Iter 2/10: OSS cache speed: 0.229959 Iter 2/10: ladvise speed: 0.115137 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.161841 Iter 3/10: OSS cache speed: 0.901538 Iter 3/10: ladvise speed: 0.468196 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.47839 Iter 4/10: OSS cache speed: 0.455116 Iter 4/10: ladvise speed: 0.150126 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.482078 Iter 5/10: OSS cache speed: 0.157408 Iter 5/10: ladvise speed: 0.186382 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.282713 Iter 6/10: OSS cache speed: 0.0939521 Iter 6/10: ladvise speed: 0.0213539 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.241842 Iter 7/10: OSS cache speed: 0.232253 Iter 7/10: ladvise speed: 0.185526 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.205288 Iter 8/10: OSS cache speed: 0.310424 Iter 8/10: ladvise speed: 0.594285 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.30659 Iter 9/10: OSS cache speed: 1.85468 Iter 9/10: ladvise speed: 1.3569 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.894577 Iter 10/10: OSS cache speed: 1.59185 Iter 10/10: ladvise speed: 1.73102 Average uncached read: .30 Average speedup with OSS cached read: .63 = +110.00% Average speedup with ladvise willread: .49 = +63.33% lfs ladvise: cannot give advice: Unknown error 524 (524) ladvise: cannot give advice 'dontneed' to file '/mnt/lustre/f255a.sanity': Unknown error 524 osd-zfs does not support dontneed or drop_caches fail_loc=0