GitHub user kayousterhout opened a pull request:

    https://github.com/apache/spark/pull/4550

    [SPARK-3570] Include time to open files in shuffle write time.

    Opening shuffle files can be very significant when the disk is
    contended, especially when using ext3. While writing data to
    a file can avoid hitting disk (and instead hit the buffer
    cache), opening a file always involves writing some metadata
    about the file to disk, so the open time can be a very significant
    portion of the shuffle write time. In one job I ran recently, the time to
    write shuffle data to the file was only 4ms for each task, but
    the time to open the file was about 100x as long (~400ms).
    
    When we add metrics about spilled data (#2504), we should ensure
    that the file open time is also included there.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kayousterhout/spark-1 SPARK-3570

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/4550.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4550
    
----
commit 24235553adc748ccedf3998b0c174711b214e970
Author: Kay Ousterhout <[email protected]>
Date:   2014-09-17T22:07:11Z

    [SPARK-3570] Include time to open files in shuffle write time.
    
    Opening shuffle files can be very significant when the disk is
    contended, especially when using ext3. While writing data to
    a file can avoid hitting disk (and instead hit the buffer
    cache), opening a file always involves writing some metadata
    about the file to disk, so the open time can be a very significant
    portion of the shuffle write time. In one recent job, the time to
    write shuffle data to the file was only 4ms for each task, but
    the time to open the file was about 100x as long (~400ms).
    
    When we added metrics about spilled data (#2504), we should ensure
    that the file open time is also included there.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to