You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/07/28 13:32:00 UTC
[jira] [Updated] (ARROW-9584) [Rust] Provide guidance on number of
file descriptors needed to read Parquet file
[ https://issues.apache.org/jira/browse/ARROW-9584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney updated ARROW-9584:
--------------------------------
Summary: [Rust] Provide guidance on number of file descriptors needed to read Parquet file (was: Provide guidance on number of file descriptors needed to read Parquet file)
> [Rust] Provide guidance on number of file descriptors needed to read Parquet file
> ---------------------------------------------------------------------------------
>
> Key: ARROW-9584
> URL: https://issues.apache.org/jira/browse/ARROW-9584
> Project: Apache Arrow
> Issue Type: Task
> Environment: {code:bash}
> $ rustc --version
> rustc 1.47.0-nightly (6c8927b0c 2020-07-26)
> {code}
> Cargo.toml:
> {code:yaml}
> [dependencies]
> parquet = "0.17"
> rayon = "1.1"
> ...
> {code}
> Reporter: Adam Shirey
> Priority: Trivial
>
> I have a series of Parquet files that are 181 columns wide, and I'm processing them in parallel (using [rayon|https://github.com/rayon-rs/rayon/]). I ran into the OS limit (default 1024 according to {{ulimit -n}}) of open file descriptors when doing this, but each file was consuming 208 descriptors.
> Is there a deterministic calculation for how many file descriptors will be used to process files so that one can determine appropriate multithreading in a situation like this?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)