Skip to content
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

Installing on NVIDIA Drive PX2 on Ubuntu 16.04 patched with Linux RT #117

Open
danielsuo opened this issue Aug 14, 2017 · 1 comment
Open

Comments

@danielsuo
Copy link

Happy to submit PR (e.g., install_dependencies_arm.sh), but wasn't sure if you wanted to mix into this library.

  • Need to specify libssl-dev version explicitly as libssl-dev/xenial
  • Either use postgresql 9.5 or build 9.6 for ARM (I used 9.5 because life is easier; sudo apt install postgresql-9.5 postgresql-server-dev-9.5)
  • Replace ./build/Debug/src/libpqxx_project/config/config.guess with the config.guess found in the automake installed on the system (for me /usr/share/automake-1.15/config.guess). Otherwise, automake complains that it can't recognize the build type
  • For some reason, couldn't build using multiple threads, but was able to complete with a single thread. Incremental builds are fine with multiple threads, so not going to investigate unless this really bothers someone

Not totally relevant to this issue, but benchmarks on PX 2:

nvidia@nvidia:~/fluent/build/Debug$ ctest -L BENCHMARK
Test project /home/nvidia/fluent/build/Debug
    Start 48: ra_physical_cross_bench
1/8 Test #48: ra_physical_cross_bench ..........   Passed    1.96 sec
    Start 49: ra_physical_filter_bench
2/8 Test #49: ra_physical_filter_bench .........   Passed    1.67 sec
    Start 50: ra_physical_flat_map_bench
3/8 Test #50: ra_physical_flat_map_bench .......   Passed    1.59 sec
    Start 51: ra_physical_group_by_bench
4/8 Test #51: ra_physical_group_by_bench .......   Passed    2.05 sec
    Start 52: ra_physical_hash_join_bench
5/8 Test #52: ra_physical_hash_join_bench ......   Passed    2.52 sec
    Start 53: ra_physical_iterable_bench
6/8 Test #53: ra_physical_iterable_bench .......   Passed    2.05 sec
    Start 54: ra_physical_map_bench
7/8 Test #54: ra_physical_map_bench ............   Passed    1.53 sec
    Start 55: ra_physical_project_bench
8/8 Test #55: ra_physical_project_bench ........   Passed    1.70 sec

100% tests passed, 0 tests failed out of 8

Label Time Summary:
BENCHMARK    =  15.07 sec (8 tests)

Total Test time (real) =  15.08 sec
@danielsuo
Copy link
Author

For comparison, here is a benchmark from an AWS EC2 c4.8xlarge CPU-optimized machine (36 vCPU):

ubuntu@ip-172-31-15-140:~/fluent/build/Debug$ ctest -L BENCHMARK
Test project /home/ubuntu/fluent/build/Debug
    Start 48: ra_physical_cross_bench
1/8 Test #48: ra_physical_cross_bench ..........   Passed    2.32 sec
    Start 49: ra_physical_filter_bench
2/8 Test #49: ra_physical_filter_bench .........   Passed    1.89 sec
    Start 50: ra_physical_flat_map_bench
3/8 Test #50: ra_physical_flat_map_bench .......   Passed    2.16 sec
    Start 51: ra_physical_group_by_bench
4/8 Test #51: ra_physical_group_by_bench .......   Passed    2.09 sec
    Start 52: ra_physical_hash_join_bench
5/8 Test #52: ra_physical_hash_join_bench ......   Passed    2.14 sec
    Start 53: ra_physical_iterable_bench
6/8 Test #53: ra_physical_iterable_bench .......   Passed    1.71 sec
    Start 54: ra_physical_map_bench
7/8 Test #54: ra_physical_map_bench ............   Passed    2.29 sec
    Start 55: ra_physical_project_bench
8/8 Test #55: ra_physical_project_bench ........   Passed    1.98 sec

100% tests passed, 0 tests failed out of 8

Label Time Summary:
BENCHMARK    =  16.57 sec (8 tests)

Total Test time (real) =  16.58 sec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant