matthewmturner commented on pull request #1928:
URL: 
https://github.com/apache/arrow-datafusion/pull/1928#issuecomment-1059894093


   I have this working now.
   
   Would at least one other person be able to give it a try.  I do the 
following from root directory of `arrow-datafusion`
   
   ```
   $ docker build -t db-benchmark -f 
benchmarks/db-benchmark/db-benchmark.dockerfile .
   # I used privileged as its supposed to improve with CPU intensive scripts
   $ docker run --privileged db-benchmark
   ```
   
   So far im not seeing as good of results in docker as i was natively but i 
think thats expected, even using `--privileged`.  I havent had to performance 
tune docker too much in the past though so if anyone else has other ideas im 
open to it.
   
   Right now, this only works with official datafusion release (version 7).  
However, I added option to pull in local datafusion so that its easier to 
benchmark local changes.  Even if the docker performance isnt optimal it should 
at least give a baseline for making local changes and seeing if there are 
improvements - which i think is the intent of this script.
   
   let me know if any questions or if you see any areas for improvement.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to