pmcgleenon commented on issue #16643:
URL: https://github.com/apache/datafusion/issues/16643#issuecomment-3152194457

   
   > Specifically, I think `RUSTFLAGS` should be updated from
   > 
   > ```
   > RUSTFLAGS="-C codegen-units=1"
   > ```
   > 
   > to
   > 
   > ```
   > RUSTFLAGS="-C codegen-units=1 -C target-cpu=native"
   > ```
   > 
   > Is that something you can try [@pmcgleenon](https://github.com/pmcgleenon) 
?
   
   It's a great suggestion, I tried that out and the addition of 
`target-cpu=native` causes OOM for rustc on the `c6a.xlarge` instance type (8 
GB RAM) when building `datafusion-cli`.   Note that swap isn't enabled on the 
benchmark instance by default.  I was thinking to get around this we could 
enable swap just for the datafusion-cli build in benchmark.sh and disable it 
again before the benchmark test runs.   What do you think?
   
   


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to