[ 
https://issues.apache.org/jira/browse/ARROW-7910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055410#comment-17055410
 ] 

Antoine Pitrou commented on ARROW-7910:
---------------------------------------

Can probably add it to {{arrow/util/io_util.h}}.

Note that these days, you may want a multiple of page size - e.g. 16 kB or 
more. Copying memory is so cheap that other costs (such as system calls, 
bookkeeping...) might dominate.

> [C++] Provide function to query page size portably
> --------------------------------------------------
>
>                 Key: ARROW-7910
>                 URL: https://issues.apache.org/jira/browse/ARROW-7910
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 0.16.0
>            Reporter: Ben Kietzman
>            Priority: Major
>             Fix For: 0.17.0
>
>
> Page size is a useful default buffer size for buffered readers. Where should 
> this property be attached? MemoryManager/Device?
> When this is available, it should probably be used to update 
> {{parquet::DEFAULT_BUFFER_SIZE}} and {{arrow::datasets::ParquetFileFormat}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to