You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/08/14 14:22:13 UTC

[GitHub] [arrow-datafusion] andygrove opened a new issue #882: Cannot bulid with simd feature

andygrove opened a new issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882


   **Describe the bug**
   ```
   ~/release/apache-arrow-datafusion-5.0.0 via 🦀 v1.54.0 
   ✦ ❯ cargo build --release --features "simd"
      Compiling packed_simd_2 v0.3.5
   error[E0554]: `#![feature]` may not be used on the stable release channel
      --> /home/andy/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.5/src/lib.rs:214:1
       |
   214 | / #![feature(
   215 | |     const_generics,
   216 | |     repr_simd,
   217 | |     rustc_attrs,
   ...   |
   227 | |     llvm_asm
   228 | | )]
       | |__^
   
   ```
   
   **To Reproduce**
   Run command above.
   
   


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] Dandandan commented on issue #882: Documenting building with simd feature

Posted by GitBox <gi...@apache.org>.
Dandandan commented on issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882#issuecomment-899055593


   I changed the issue to add some docs around this.
   
   Btw, @andygrove AFAIK the SIMD option doesn't help a lot with the TPC-H queries. Building with snmalloc or mimalloc and fat LTO (longer build time) does improve execution times.


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] alamb commented on issue #882: Cannot build with simd feature

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882#issuecomment-899037029


   `cargo +nightly build --release --features "simd"`


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] houqp closed issue #882: Documenting building with simd feature

Posted by GitBox <gi...@apache.org>.
houqp closed issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882


   


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] houqp commented on issue #882: Documenting building with simd feature

Posted by GitBox <gi...@apache.org>.
houqp commented on issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882#issuecomment-913965794


   I would love to have docs for the most optimized build, but we can start with SIMD if that's too much :)


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] andygrove commented on issue #882: Cannot build with simd feature

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882#issuecomment-898900822


   I am probably doing something wrong and/or we need better docs around this


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] alamb commented on issue #882: Documenting building with simd feature

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882#issuecomment-899814361


   I also think we should suggest building with `native` and/or at least `avx2` instructions (by default my `rustc` only used sse/sse2, presumably for compatibility)


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] matthewmturner commented on issue #882: Documenting building with simd feature

Posted by GitBox <gi...@apache.org>.
matthewmturner commented on issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882#issuecomment-913959875


   Hello.  I could try this.  To confirm - is the idea to add docs just for SIMD? Or for the most optimized build?


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] Dandandan commented on issue #882: Documenting building with simd feature

Posted by GitBox <gi...@apache.org>.
Dandandan commented on issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882#issuecomment-900004478


   Here is an example of using all the options:
   
   https://github.com/h2oai/db-benchmark/pull/182/files


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] houqp commented on issue #882: Documenting building with simd feature

Posted by GitBox <gi...@apache.org>.
houqp commented on issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882#issuecomment-899096504


   It would be good if we can provide doc on how to produce the most optimized build: simd + snmalloc + LTO. 


-- 
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-unsubscribe@arrow.apache.org

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



[GitHub] [arrow-datafusion] jorgecarleitao commented on issue #882: Cannot build with simd feature

Posted by GitBox <gi...@apache.org>.
jorgecarleitao commented on issue #882:
URL: https://github.com/apache/arrow-datafusion/issues/882#issuecomment-898901719


   I think you need the nightly channel to use simd, as packed_simd requires
   nightly.
   
   On Sat, Aug 14, 2021, 15:23 Andy Grove ***@***.***> wrote:
   
   > I am probably doing something wrong and/or we need better docs around this
   >
   > —
   > You are receiving this because you are subscribed to this thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/arrow-datafusion/issues/882#issuecomment-898900822>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AAVE476BBDW7CIC4CIG3E73T4Z37PANCNFSM5CFEPPIQ>
   > .
   > Triage notifications on the go with GitHub Mobile for iOS
   > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
   > or Android
   > <https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
   > .
   >
   


-- 
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-unsubscribe@arrow.apache.org

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