fluent-old icon indicating copy to clipboard operation
fluent-old copied to clipboard

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

Open danielsuo opened this issue 8 years ago • 1 comments

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 avatar Aug 14 '17 04:08 danielsuo

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

danielsuo avatar Aug 14 '17 04:08 danielsuo