[ https://issues.apache.org/jira/browse/ARROW-4716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805139#comment-16805139 ]
Francois Saint-Jacques commented on ARROW-4716: ----------------------------------------------- Do we need this to be cross-platform, I think Linux should suffice first. It might be worth writing this in python for future compat with without. > [Benchmarking] Make maching detection script cross-platform > ----------------------------------------------------------- > > Key: ARROW-4716 > URL: https://issues.apache.org/jira/browse/ARROW-4716 > Project: Apache Arrow > Issue Type: Improvement > Components: Benchmarking > Reporter: Antoine Pitrou > Priority: Major > > The machine detection script ({{make_machine_json.sh}}) currently looks like > it will only work properly on macOS. Ideally it should work more or less > correctly on all of them macOS, Linux and Windows (some values may remain > undetected on some platforms). > This probably entails: > - switching to Python rather than bash > - using something like [psutil|https://psutil.readthedocs.io/en/latest/] to > grab useful machine information > - calling {{nvidia-smi}} to query GPU characteristics (for example > "nvidia-smi -q -i 0 -x") -- This message was sent by Atlassian JIRA (v7.6.3#76005)