Details

    • 9223372036854775807

    Description

      According to Sebastien's fscrypt presentation at LAD'20, the use of bounce buffers reduces fscrypt performance by up to 30%.

      This can be replaced by using preallocated pages in enc_pool from Kerberos, so that pages do not need to be allocated/freed for every RPC.

      Attachments

        Issue Links

          Activity

            [LU-15003] use client enc_pool for fscrypt
            pjones Peter Jones added a comment -

            Landed for 2.15.2 and 2.16

            pjones Peter Jones added a comment - Landed for 2.15.2 and 2.16

            "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48411
            Subject: LU-15003 sec: use enc pool for bounce pages
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 59f7bf31f8ff1811f216099cc2e3895eb6c7726e

            gerrit Gerrit Updater added a comment - "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48411 Subject: LU-15003 sec: use enc pool for bounce pages Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 59f7bf31f8ff1811f216099cc2e3895eb6c7726e

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47149/
            Subject: LU-15003 sec: use enc pool for bounce pages
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: f3fe144b8572e9e75bb55076e29057227476ebf5

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47149/ Subject: LU-15003 sec: use enc pool for bounce pages Project: fs/lustre-release Branch: master Current Patch Set: Commit: f3fe144b8572e9e75bb55076e29057227476ebf5

            This looks like an excellent optimization to send upstream.

            simmonsja James A Simmons added a comment - This looks like an excellent optimization to send upstream.

            "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47150
            Subject: LU-15003 sec: test native fscrypt
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 257afdd284be35660d4d1b1373db8de6811dae0d

            gerrit Gerrit Updater added a comment - "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47150 Subject: LU-15003 sec: test native fscrypt Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 257afdd284be35660d4d1b1373db8de6811dae0d

            "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47149
            Subject: LU-15003 sec: use enc pool for bounce pages
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: dd3d3cb03ff2eb0d46ed5aca6c9b819708312266

            gerrit Gerrit Updater added a comment - "Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47149 Subject: LU-15003 sec: use enc pool for bounce pages Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: dd3d3cb03ff2eb0d46ed5aca6c9b819708312266

            I think the first step would be to re-run benchmarks with recent Lustre/distro/kernel/cpu in order to confirm the performance drop incurred by client encryption.

            sebastien Sebastien Buisson added a comment - I think the first step would be to re-run benchmarks with recent Lustre/distro/kernel/cpu in order to confirm the performance drop incurred by client encryption.

            People

              sebastien Sebastien Buisson
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: