Antoine Pitrou created ARROW-4716:
-------------------------------------

             Summary: [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


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)

Reply via email to