You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kihwal Lee (JIRA)" <ji...@apache.org> on 2011/07/15 01:40:05 UTC

[jira] [Commented] (HADOOP-7446) Implement CRC32C native code using SSE4.2 instructions

    [ https://issues.apache.org/jira/browse/HADOOP-7446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065609#comment-13065609 ] 

Kihwal Lee commented on HADOOP-7446:
------------------------------------

It's probably better to use autoconf and automake to figure out the build target architecture.
We could add AC_CANONICAL_HOST to the autoconf.in and have the cpu arch info passed when compiling.
One way is to add -DCPU_ARCH=$(host_cpu) to AM_CFLAGS or AM_CPPFLAGS in Makefile.am.

Or will it make more sense to use $OS_ARCH provided by build.xml? 

> Implement CRC32C native code using SSE4.2 instructions
> ------------------------------------------------------
>
>                 Key: HADOOP-7446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7446
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: native
>            Reporter: Todd Lipcon
>         Attachments: hadoop-7446.txt
>
>
> Once HADOOP-7445 is implemented, we can get further performance improvements by implementing CRC32C using the hardware support available in SSE4.2. This support should be dynamically enabled based on CPU feature flags, and of course should be ifdeffed properly so that it doesn't break the build on architectures/platforms where it's not available.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira