Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12297

Add an option to disable mount.lustre automatical tune

Details

    • Improvement
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • 9223372036854775807

    Description

      Mount.lustre will try to tune max_sectors_kb, scheduler automatically for OSTs in default.
      This could cause some unexpected behavior if there are external tools which try to do same
      things using udev rules etc, as lustre could use raw block device or be on the top of logical (N logical) devices and as a result this tunings on fly will be a result of excellent butthearts
      especially when tuning comes from storage.

      In order to solve this problem, it makes sense to add a mount option like no_auto_tune
      etc to disable automatically tune by mount.lustre util.

      Attachments

        Issue Links

          Activity

            [LU-12297] Add an option to disable mount.lustre automatical tune

            Fix this via LU-12029.

            adilger Andreas Dilger added a comment - Fix this via LU-12029 .

            Hi Sheng,

            Yup, that ticket solved some of problem that we hit currently, but isn't enough.
            Further what want is to add a mount option disable any Lustre auto tune for ZFS/ldiskfs.

            For now, we want to disable max_sector_kb and scheduler tune for ldiskfs, but newly
            tuned approach might be added in the future.

            wshilong Wang Shilong (Inactive) added a comment - Hi Sheng, Yup, that ticket solved some of problem that we hit currently, but isn't enough. Further what want is to add a mount option disable any Lustre auto tune for ZFS/ldiskfs. For now, we want to disable max_sector_kb and scheduler tune for ldiskfs, but newly tuned approach might be added in the future.
            ys Yang Sheng added a comment - - edited

            Hi, Shilong,

            I think we have a similar way to do that. Please see LU-9132. Also you can refer to LU-9551 for further detail.

            Thanks,
            Yangsheng

            ys Yang Sheng added a comment - - edited Hi, Shilong, I think we have a similar way to do that. Please see LU-9132 . Also you can refer to LU-9551 for further detail. Thanks, Yangsheng

            I think we'd better to control the tune from mount_lustre rather than only ldsikfs side.
            The major goal of this option is let lustre free from backend storage tuning, and give a chance to manage-utils or admin (out of native lustre, e.g Exascalser from DDN) who are more professional and proficient in tuning field to take over the job.
            Actually tune to zfs is more complex than ldiskfs, and this option is also very useful to osd-zfs sites.

            guzheng Gu Zheng (Inactive) added a comment - I think we'd better to control the tune from mount_lustre rather than only ldsikfs side. The major goal of this option is let lustre free from backend storage tuning, and give a chance to manage-utils or admin (out of native lustre, e.g Exascalser from DDN) who are more professional and proficient in tuning field to take over the job. Actually tune to zfs is more complex than ldiskfs, and this option is also very useful to osd-zfs sites.
            gerrit Gerrit Updater added a comment - - edited

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34859
            Subject: LU-12297 utils: add an option to disable mount.lustre auto tune
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 73767e5dfa772f0a3d99f3b0aa35df37b5664c8d

            gerrit Gerrit Updater added a comment - - edited Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34859 Subject: LU-12297 utils: add an option to disable mount.lustre auto tune Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 73767e5dfa772f0a3d99f3b0aa35df37b5664c8d

            People

              wshilong Wang Shilong (Inactive)
              wshilong Wang Shilong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: