Skip to content

[C++] Ensure dataset writing applies back pressure #29235

Closed

Description

@asfimport

Dataset writing via exec plan (ARROW-13542) does not apply back pressure currently and will take up far more RAM than it should when writing a large dataset. The node should be applying back pressure. However, the preferred back pressure method (via scheduling) will need to wait for ARROW-13576.

Once those two are finished this can be studied in more detail. Also, the vm.dirty_ratio might be experimented with. In theory we should be applying our own back pressure and have no need of dirty pages. In practice, it may be more work than we want to tackle right now and we just let it do its thing.

Reporter: Weston Pace / @westonpace
Assignee: Weston Pace / @westonpace

Related issues:

Note: This issue was originally created as ARROW-13590. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Aug 12, 2021

    @asfimport
    Author

    Weston Pace / @westonpace:
    I discovered today that the FileSystemDataset::Write method has never applied back pressure correctly. In Arrow 3.0.0+ the entire dataset will be loaded into RAM.

  2. asfimport commented on Dec 20, 2021

    @asfimport
    Author

    David Li / @lidavidm:
    Did ARROW-13611 resolve this too?

  3. asfimport commented on Jan 17, 2022

    @asfimport
    Author

    Krisztian Szucs / @kszucs:
    @westonpace is this already resolved? If not can we move it to version 8.0?

  4. asfimport commented on Jan 18, 2022

    @asfimport
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions