Details

    • Bug
    • Resolution: Done
    • Minor
    • Lustre 2.14.0
    • Lustre 2.12.2
    • None
    • 2.12.2_116+3 patches, CentOS 7.6
    • 3
    • 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
       
      Thanks!
      Stephane
       

      Attachments

        Issue Links

          Activity

            [LU-12768] readcache_max_filesize in 2.12?
            gerrit Gerrit Updater added a comment - - edited

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39124/
            Subject: LU-12768 o2iblnd: wait properly for fps>increasing.-
            Project: fs/lustre-release
            Branch: master
            -Current Patch Set: -
            Commit: 530eca31556f7708781bcd1b1809ae286aee4c57

            Should be LU-12678.

            gerrit Gerrit Updater added a comment - - edited Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39124/ Subject: LU-12768 o2iblnd: wait properly for fps >increasing.- Project: fs/lustre-release Branch: master -Current Patch Set: - Commit: 530eca31556f7708781bcd1b1809ae286aee4c57 Should be LU-12678 .
            gerrit Gerrit Updater added a comment - - edited

            Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39124
            Subject: LU-12768 o2iblnd: wait properly for fps>increasing.-
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d17be980c1f249e2c7c1787c79fbce1e64b44187

            Should be LU-12678.

            gerrit Gerrit Updater added a comment - - edited Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39124 Subject: LU-12768 o2iblnd: wait properly for fps >increasing.- Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d17be980c1f249e2c7c1787c79fbce1e64b44187 Should be LU-12678 .

            Opened LUDOC-457 to track updating the manual.

            pfarrell Patrick Farrell (Inactive) added a comment - Opened LUDOC-457 to track updating the manual.

            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.

            sthiell Stephane Thiell added a comment - 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.

            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.)

            pfarrell Patrick Farrell (Inactive) added a comment - 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.)

            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?

            sthiell Stephane Thiell added a comment - 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?

            Stephane,

            It's been moved:

            lctl list_param *.*OST0000*.*readcache*
            osd-ldiskfs.lustre-OST0000.readcache_max_filesize 

             

            pfarrell Patrick Farrell (Inactive) added a comment - Stephane, It's been moved: lctl list_param *.*OST0000*.*readcache* osd-ldiskfs.lustre-OST0000.readcache_max_filesize  

            People

              pfarrell Patrick Farrell (Inactive)
              sthiell Stephane Thiell
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: