Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7037

Optimize data transfer with zero-copy approach for containerlogs REST API in NMWebServices

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-beta1, 2.8.3
    • nodemanager
    • None
    • Reviewed

    Description

      Split this improvement from YARN-6259.
      It's useful to read container logs more efficiently. With zero-copy approach, data transfer pipeline (disk --> read buffer --> NM buffer --> socket buffer) can be optimized to pipeline(disk --> read buffer --> socket buffer) .
      In my local test, time cost of copying 256MB file with zero-copy can be reduced from 12 seconds to 2.5 seconds.

      Attachments

        1. YARN-7037.001.patch
          5 kB
          Tao Yang
        2. YARN-7037.branch-2.8.001.patch
          2 kB
          Tao Yang

        Activity

          People

            Tao Yang Tao Yang
            Tao Yang Tao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: