[LU-12768] readcache_max_filesize in 2.12? Created: 16/Sep/19 Updated: 17/Feb/21 Resolved: 18/Sep/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.2 |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Stephane Thiell | Assignee: | Patrick Farrell (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Environment: |
2.12.2_116+3 patches, CentOS 7.6 |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Hello, We're playing with readcache_max_filesize to adjust OSS caching per object size, but while it seems to work on Oak (2.10.8), we can't find the tunable with 2.12. Did we miss something obvious? Thanks! [root@fir-io1-s1 ~]# lctl get_param obdfilter.*.readcache_max_filesize error: get_param: param_path 'obdfilter/*/readcache_max_filesize': No such file or directory [root@fir-io1-s1 ~]# ls /sys/fs/lustre/obdfilter/fir-OST0000/ blocksize client_cache_count degraded filestotal grant_precreate kbytesfree lfsck_speed_limit seqs_allocated sync_journal tgt_fmd_count uuid checksum_t10pi_enforce client_cache_seconds filesfree fstype kbytesavail kbytestotal precreate_batch soft_sync_limit sync_lock_cancel tgt_fmd_seconds [root@fir-io1-s1 ~]# cat /sys/fs/lustre/version 2.12.2_119_g2d4809a https://build.whamcloud.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#idm140482875762544 |
| Comments |
| Comment by Patrick Farrell (Inactive) [ 16/Sep/19 ] |
|
Stephane, It's been moved: lctl list_param *.*OST0000*.*readcache* osd-ldiskfs.lustre-OST0000.readcache_max_filesize
|
| Comment by Stephane Thiell [ 16/Sep/19 ] |
|
Thanks Patrick! It works!
[root@fir-io1-s1 ~]# lctl get_param osd-ldiskfs.fir-OST0000.readcache_max_filesize osd-ldiskfs.fir-OST0000.readcache_max_filesize=18446744073709551615 [root@fir-io1-s1 ~]# lctl set_param osd-ldiskfs.fir-OST0000.readcache_max_filesize=32M osd-ldiskfs.fir-OST0000.readcache_max_filesize=32M [root@fir-io1-s1 ~]# lctl get_param osd-ldiskfs.fir-OST0000.readcache_max_filesize osd-ldiskfs.fir-OST0000.readcache_max_filesize=33554432 So it is ldiskfs-specific? just curious, is this option available with ZFS backend? |
| Comment by Patrick Farrell (Inactive) [ 16/Sep/19 ] |
|
It's available on ZFS as well, yeah. (In general, ZFS caching isn't quite as controllable as the ldiskfs sort, so not all the options are there... But this is.) |
| Comment by Stephane Thiell [ 16/Sep/19 ] |
|
Thanks again Patrick, that sounds good! I would recommend to update the Lustre manual or at least add a note that it has moved to the osd backend in 2.12 to avoid any confusion. |
| Comment by Patrick Farrell (Inactive) [ 18/Sep/19 ] |
|
Opened |
| Comment by Gerrit Updater [ 22/Jun/20 ] |
|
Should be LU-12678. |
| Comment by Gerrit Updater [ 04/Jul/20 ] |
|
Should be LU-12678. |