-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GLUTEN-7746] Support static link libhdfs3 in velox #7697
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/apache/incubator-gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
e6ce6c5
to
80c2c78
Compare
Just talked with Ke. Here is a summary:
The PR is to confirm 4. Also we need to make clear the root cause of 3. Thank you! Ke. |
80c2c78
to
c55e3d5
Compare
@GlutenPerfBot benchmark |
===== Performance report for TPCH SF2000 with Velox backend, for reference only ====
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JkSelf, we need change to use ENABLE_HDFS3
for the below code, then static libhdfs3 from vcpkg's build can be available to use.
incubator-gluten/dev/vcpkg/init.sh
Line 78 in c55e3d5
if [ "$ENABLE_HDFS" = "ON" ]; then |
Also note CMAKE_FIND_LIBRARY_SUFFIXES is set to ".so" when finding libhdfs3
, but this patch's purpose is to use static linkage. Is it simply for some test?
@@ -104,6 +110,9 @@ function compile { | |||
if [ $ENABLE_HDFS == "ON" ]; then | |||
COMPILE_OPTION="$COMPILE_OPTION -DVELOX_ENABLE_HDFS=ON" | |||
fi | |||
if [ $ENABLE_HDFS3 == "ON" ]; then | |||
COMPILE_OPTION="$COMPILE_OPTION -DVELOX_ENABLE_HDFS3=ON" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the pr facebookincubator/velox@10cdf6f , velox have removed VELOX_ENABLE_HDFS3
c55e3d5
to
3f513a0
Compare
===== Performance report for TPCH SF2000 with Velox backend, for reference only ====
|
34c95e2
to
e4aaf14
Compare
@@ -26,6 +27,10 @@ for arg in "$@"; do | |||
ENABLE_HDFS=("${arg#*=}") | |||
shift # Remove argument name from processing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does allow people enable flag both ENABLE_HDFS
and ENABLE_HDFS3
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we can't see performance gain from compile time link, we will close the PR.
98f7efe
to
c6af67a
Compare
Run Gluten Clickhouse CI on x86 |
0046a75
to
def1dc4
Compare
Run Gluten Clickhouse CI on x86 |
def1dc4
to
6d41a2e
Compare
Run Gluten Clickhouse CI on x86 |
6d41a2e
to
a1bd229
Compare
Run Gluten Clickhouse CI on x86 |
a1bd229
to
d092c4f
Compare
Run Gluten Clickhouse CI on x86 |
d092c4f
to
4e88cee
Compare
Run Gluten Clickhouse CI on x86 |
4e88cee
to
da5e3eb
Compare
Run Gluten Clickhouse CI on x86 |
da5e3eb
to
bc9e259
Compare
Run Gluten Clickhouse CI on x86 |
1 similar comment
Run Gluten Clickhouse CI on x86 |
bc9e259
to
2d38de1
Compare
Run Gluten Clickhouse CI on x86 |
2d38de1
to
cd70549
Compare
Run Gluten Clickhouse CI on x86 |
cd70549
to
50abb09
Compare
Will only keep the dynamic load both libhdfs and libhdfs3. |
What changes were proposed in this pull request?
Support static link libhdfs3 to fix the performance gap issue.
How was this patch tested?
Jenkins tests