Details

    • 8137

    Description

      Perform short I/O (requests <= 4k) w/o bulk RPC.

      Attachments

        Issue Links

          Activity

            [LU-1757] Short I/O support

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33173/
            Subject: LU-1757 osc: clarify short_io_bytes is maximum value
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b90812a674f6ebaa9de592a4a4d97a35ed38a24e

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33173/ Subject: LU-1757 osc: clarify short_io_bytes is maximum value Project: fs/lustre-release Branch: master Current Patch Set: Commit: b90812a674f6ebaa9de592a4a4d97a35ed38a24e

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33173
            Subject: LU-1757 osc: clarify short_io_bytes is maximum value
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 8e3e67f0cfdec0bb0a96f9e4fc1793fef7558867

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33173 Subject: LU-1757 osc: clarify short_io_bytes is maximum value Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8e3e67f0cfdec0bb0a96f9e4fc1793fef7558867
            pjones Peter Jones added a comment -

            Second time lucky?

            pjones Peter Jones added a comment - Second time lucky?

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30435/
            Subject: LU-1757 brw: Fix short i/o and enable for mdc
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3483e195314bddb8d72594ebb10307c83a4bb860

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30435/ Subject: LU-1757 brw: Fix short i/o and enable for mdc Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3483e195314bddb8d72594ebb10307c83a4bb860

            Original patch did not actually enable this functionality.

            paf Patrick Farrell (Inactive) added a comment - Original patch did not actually enable this functionality.

            Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/30435
            Subject: LU-1757 brw: Fix short i/o and enable for mdc
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 8efc38861cb224d69c012862f6e8ae453b890d17

            gerrit Gerrit Updater added a comment - Patrick Farrell (paf@cray.com) uploaded a new patch: https://review.whamcloud.com/30435 Subject: LU-1757 brw: Fix short i/o and enable for mdc Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8efc38861cb224d69c012862f6e8ae453b890d17

            This was landed for 2.11, but Data-on-MDT landed at the same time. The MDS connection does not support SHORTIO yet, but it should.

            adilger Andreas Dilger added a comment - This was landed for 2.11, but Data-on-MDT landed at the same time. The MDS connection does not support SHORTIO yet, but it should.
            mdiep Minh Diep added a comment -

            Landed for 2.11

            mdiep Minh Diep added a comment - Landed for 2.11

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27767/
            Subject: LU-1757 brw: add short io osc/ost transfer.
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 70f092a0587866662735e1a6eaf27701a576370d

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27767/ Subject: LU-1757 brw: add short io osc/ost transfer. Project: fs/lustre-release Branch: master Current Patch Set: Commit: 70f092a0587866662735e1a6eaf27701a576370d

            Andreas,

            Aligned, mostly. Can't really test unaligned without getting aggregation or readahead, except for random reads. (Those do well.)

            Server side locking... How is that achieved, other than with the patch from LU-4198, and that only for direct i/o? (https://review.whamcloud.com/#/c/8201/20)
            And since it's direct i/o, it has to be aligned. (Trying to update LU-247 (unaligned dio) is my next project.)

            Also, other than with direct i/o, I'm not sure how to actually achieve small i/os (write aggregation or read ahead will prevent them), except for random reads. (Which do see a benefit - I didn't mention that, but they see the same sort of improvement.)

            So, I suppose I would say:
            I want to try all of that, I agree that it would likely benefit enormously (you pointed this out in your earlier comments to this LU) but I believe I need LU-247 to make it really possible, since direct i/o is the only way I know of to A) skip the page cache, B) force small i/o, and C) move the locking to the server (I can fake the effect of that by doing my i/o from one node.)

            Is there some easier route I've missed?

            paf Patrick Farrell (Inactive) added a comment - Andreas, Aligned, mostly. Can't really test unaligned without getting aggregation or readahead, except for random reads. (Those do well.) Server side locking... How is that achieved, other than with the patch from LU-4198 , and that only for direct i/o? ( https://review.whamcloud.com/#/c/8201/20 ) And since it's direct i/o, it has to be aligned. (Trying to update LU-247 (unaligned dio) is my next project.) Also, other than with direct i/o, I'm not sure how to actually achieve small i/os (write aggregation or read ahead will prevent them), except for random reads. (Which do see a benefit - I didn't mention that, but they see the same sort of improvement.) So, I suppose I would say: I want to try all of that, I agree that it would likely benefit enormously (you pointed this out in your earlier comments to this LU) but I believe I need LU-247 to make it really possible, since direct i/o is the only way I know of to A) skip the page cache, B) force small i/o, and C) move the locking to the server (I can fake the effect of that by doing my i/o from one node.) Is there some easier route I've missed?

            People

              paf Patrick Farrell (Inactive)
              aboyko Alexander Boyko
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: