== sanity test 255a: check 'lfs ladvise -a willread' ===== 12:27:43 (1709054863) 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 3.64851 s, 28.7 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.0462335 Iter 1/10: OSS cache speed: 0.0144217 Iter 1/10: ladvise speed: 0.0441834 Iter 2/10: reading without willread hint Iter 2/10: uncached speed: 0.0625505 Iter 2/10: OSS cache speed: 0.0484721 Iter 2/10: ladvise speed: 0.0443522 Iter 3/10: reading without willread hint Iter 3/10: uncached speed: 0.126301 Iter 3/10: OSS cache speed: 0.307205 Iter 3/10: ladvise speed: 0.501671 Iter 4/10: reading without willread hint Iter 4/10: uncached speed: 0.433182 Iter 4/10: OSS cache speed: 0.505476 Iter 4/10: ladvise speed: 0.174901 Iter 5/10: reading without willread hint Iter 5/10: uncached speed: 0.93172 Iter 5/10: OSS cache speed: 0.901124 Iter 5/10: ladvise speed: 0.683161 Iter 6/10: reading without willread hint Iter 6/10: uncached speed: 0.307167 Iter 6/10: OSS cache speed: 0.0690141 Iter 6/10: ladvise speed: 0.327306 Iter 7/10: reading without willread hint Iter 7/10: uncached speed: 0.0223262 Iter 7/10: OSS cache speed: 0.268068 Iter 7/10: ladvise speed: 0.223264 Iter 8/10: reading without willread hint Iter 8/10: uncached speed: 0.0891236 Iter 8/10: OSS cache speed: 0.231025 Iter 8/10: ladvise speed: 0.0570443 Iter 9/10: reading without willread hint Iter 9/10: uncached speed: 0.325567 Iter 9/10: OSS cache speed: 0.361461 Iter 9/10: ladvise speed: 0.129761 Iter 10/10: reading without willread hint Iter 10/10: uncached speed: 0.522786 Iter 10/10: OSS cache speed: 0.92896 Iter 10/10: ladvise speed: 0.563389 Average uncached read: .28 Average speedup with OSS cached read: .36 = +28.57% Average speedup with ladvise willread: .27 = +-3.57% 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