Comments (7)
update:
I had a system memory problem on my workstation, and after freeing some,I was able to free up some memory and successfully profile heavyai 7.1 with 535 driver using 64GB of RAM. I was able to run almost all the queries of SSB benchmark with an SF of 100. However, the last two queries cannot be profiled because the data is too large to fit in the global memory of a single RTX 2080ti on my workstation.
The system memory needed during the profiling has been over 32GB when using a SF-100.
I used the 'ncu' tool with certain parameters to profile. Here is the command I used:
sudo /usr/local/NVIDIA-Nsight-Compute-2023.3/target/linux-desktop-glibc_2_11_3-x64/ncu --config-file off --export "/root/Documents/NVIDIA Nsight Compute/ssb_100_%i" --force-overwrite --kernel-name multifrag_query_hoisted_literals --metrics lts__average_gcomp_input_sector_success_rate.pct --set full --call-stack --nvtx --import-source yes --source-folder /opt/mapd_storage/github/master/heavydb-internal /opt/mapd/heavyai-ee-7.1.1-20230915-adbc472b74-Linux-x86_64-render/bin/heavydb --data /opt/mapd_storage/data48 --num-gpus=1
I have attached the profiling results that I obtained on my system.
Based on my analysis, I suggest upgrading the driver to version 535, as it should work better if you are using 7.1. Also, I recommend running the profiling with an SF suitable for the GPU and system memory installed in your system, because the profiler is likely to copy the GPU memory contents into system memory.
from heavydb.
from heavydb.
Have you tried using NCU's command line interface? So I'm able to drop, create and copy tables when the server is running using NCU, but not run a select query.
I'm also able to generate Nsight system (nsys) reports when heavydb server is executed with nsys.
I also noticed what you mentioned, after receiving no more data to be read exception, heavyDB server crashes and then the client reports pipe broken.
from heavydb.
from heavydb.
Hello,
I encountered a crash while using version 7.1 of the software. I was only able to profile the first three queries, possibly because I am using the 535 driver. However, with version 7.0, I am able to profile a few more queries, but I can profile the entire benchmark using ncu.
from heavydb.
So should I use version 7.0 for profiling SSB? Also which kind of queries could you not profile with NCU and HeavyDB?
from heavydb.
I just profiled the full benchmark, but with fewer rows in the lineorder table (100M instead of 600M). I suspect that my crashes are due to a lack of memory. Would you mind trying version 7.0? If you're using version 7.1, I suggest upgrading the driver to 535.
Unfortunately, I cannot provide you with more precise directions as I am still investigating the issue. Since the issue is related to the driver, it's not easy to figure out the exact problem.
from heavydb.
Related Issues (20)
- [GPU Error Bug] CAST(<column>+<column>(overflow) AS BOOLEAN) Brings Errors
- Evaluate using Profile-Guided Optimization (PGO) and Post-Link Optimization (PLO) HOT 1
- Intermitted SIGSEGV errors crashing heavyDB HOT 6
- Cannot import on an individual leaf. Please import from the Aggregator. HOT 1
- pinned memory HOT 2
- Failed to compile heavyDB; CUDA architecture not detected HOT 3
- Some demos on the website are not working or outdated HOT 1
- Heavydb has not been updated for more than 7 months, is there any plan to continue to update the open source code? HOT 4
- [GPU Logic Bug] SELECT /*+ keep_table_function_result */ <column> FROM <table> GROUP BY <column> Brings Errors HOT 1
- [GPU Logic Bug] SELECT /*+ keep_result */ DISTINCT <column> FROM <table> GROUP BY <column> LIMIT <number> Brings Errors HOT 1
- [GPU Logic Bug] SELECT DISTINCT <column> FROM <table> Brings Errors HOT 1
- [GPU Logic Bug] SELECT <column> FROM <table> JOIN <table> Brings Errors
- [GPU Logic Bug] SELECT /*+ keep_result */ <column> FROM <table> LIMIT <number> OFFSET <number> Brings Errors HOT 1
- [GPU Logic Bug] SELECT /*+ keep_table_function_result */ <column> FROM <table> LIMIT <number> OFFSET <number> Brings Errors HOT 1
- [GPU Logic Bug] SELECT <agg_func> FROM <table> Brings Errors HOT 1
- [GPU Logic Bug] SELECT <column> FROM <table> Brings Errors
- display a large amount of geometry HOT 2
- Too many active sessions HOT 1
- Heavyai-connector
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heavydb.