Processing Under Pressure: A Guide to Accelerating Capital Markets Workloads With CPU + GPU Compute
Learn how to identify, assess, and benchmark capital markets workloads that may benefit from selective GPU acceleration.
KDB-X GPU Acceleration
Run TCA, backtesting, and risk simulations up to 27× faster on NVIDIA GPUs. Keep your q codebase and move only the operations that benefit from GPU compute.
Quants & Algo Developers
Backtesting and Model Calibration
Run backtesting sweeps faster so teams can recalibrate models more often.
Full-Resolution Research
Test strategies across full tick histories and larger parameter sweeps without downsampling.
Monte Carlo Risk and Covariance Calculations
Run matrix-heavy Monte Carlo and covariance estimation in q, before committing capital.
Execution Traders & Desk Coverage
Intraday Execution Analysis
Track VWAP cost and spread capture while orders are active so traders can adjust routing sooner.
Same-Day Child-Order Analysis
Review child orders across venues on the trade date instead of relying on sampled T+1 analysis.
Interactive Venue and Liquidity Analysis
Query multiple months of tick data for ad hoc venue and liquidity analysis with lower latency.
Read the technical whitepaper for a detailed look at the KDB-X .gpu module, its CUDA integration, and how it runs q workloads on NVIDIA GPUs.
.gpu architecture and q APIExplore the architecture, .gpu API, CUDA integration, and performance results across A100, H100, and H200 GPUs.
「*」は必須フィールドを示します
Service More Customers
Double the number of weekly client deep-dives to support commission growth and retention.
Infrastructure Consolidation
Replace 8–12 CPU servers with a single GPU node to reduce power, cooling, footprint, and cost per query.
Zero Code-Rewrite Risk
Use standard q syntax through native .gpu primitives, without CUDA development, retraining, or loss of existing investment.
KDB-X runs CPU and GPU processing in the same environment. Teams can move compute-intensive joins, sorts, aggregations, and matrix calculations to NVIDIA GPUs while other work remains on the CPU.
CPU
Everything Else
Stays exactly where it is.
GPU
VWAP Curve-Tilt Backtesting
9.2× faster
Select a category, then choose a use case to see its before/after CPU-to-GPU comparison.
Use Cases
Execution and TCA ·VWAP Curve-Tilt Backtesting
36,040 ms
Before · CPU
3,900 ms
After · GPU
9.2×
faster
Backtesting sweeps that validate price-prediction signals rerun VWAP across many volume-curve tilts on 60K orders. With KDB-X GPU Acceleration, the sweep runs 9.2× faster end to end on live desk data, allowing schedules to be recalibrated weekly or daily instead of quarterly.
Execution and TCA ·Child Order Spread Capture
62,000 ms
Before · CPU
5,600 ms
After · GPU
11.1×
faster
Spread capture joins 450K child orders to 450M quotes with a device-side as-of join. The run drops from 62 seconds to 5.6 seconds, enabling the desk to check 100% of child orders instead of relying on a sample.
Execution and TCA ·Intraday VWAP Cost Evolution
9,190 ms
Before · CPU
1,300 ms
After · GPU
7.1×
faster
This workload aligns 30K orders to 40M trades and recomputes VWAP slippage throughout the session. The run drops from 9.2 seconds to 1.3 seconds, enabling desks to diagnose slipping orders intraday and intervene before costs compound.
Execution and TCA ·Real-Time Streaming TCA
11,600 ms
Before · CPU
610 ms
After · GPU
19×
faster
Streaming TCA runs during the trading session across 20M trades and 200M quotes. At equal cost, one GPU versus 48 Xeon cores cuts query time from 11.6 seconds to 0.6 seconds, enabling desks to act on slippage while orders are live and avoid overnight data preparation.
Use Cases
Backtesting and Quant Research ·Full-Population Tick Backtesting
Overnight run
Before · CPU
Over lunch sweep
After · GPU
8–12×
faster
Backtests run on 100% of tick history, including multi-year windows, without downsampling or truncation. Research throughput is 8–12× higher on the identical q codebase, so a sweep that ran overnight fits into a lunch break and algo schedules can be recalibrated weekly or daily instead of quarterly.
Backtesting and Quant Research ·Stat-Arb Parameter Sweeps
CPU baseline
Before · CPU
1/14 of CPU scan time
After · GPU
14×
faster
Stat-arb parameter sweeps scan full tick history 14× faster. Quants can evaluate 4–5× more parameter variations per research cycle, allowing more candidate strategies to surface.
Backtesting and Quant Research ·Covariance and Linear Algebra Primitives
Export to Python or C++
Before · CPU
Native q on GPU
After · GPU
Up to 400×
faster
GPU matrix multiplication runs at up to 400× CPU speed on dense matrix math. The v2.8 build adds native cov, cor, xrank, and ungroup, allowing quants to compute multi-asset covariance matrices and factor models in q without exporting data to Python or C++ libraries.
Use Cases
Operations and Assessment ·Multi-Billion-Row EOD Batch Sorting
155.9 s on 20-core CPU
Before · CPU
14.8 s on four GPUs
After · GPU
5–10.5×
faster
GPU sorting with .gpu.xasc across billions of rows runs 5–10.5× faster than a 20-core CPU: 4.7× faster on one GPU and 10.5× faster on four. The shorter batch creates enough room in the overnight window to rerun processing after late data corrections.
Operations and Assessment ·Codebase GPU-Readiness Scan
Migration guesswork
Before · CPU
Ranked readiness report
After · GPU
10–30× potential
faster
A guided one-week assessment applies static analysis to a production q codebase, ranks the workloads suited to GPU acceleration and flags logic that will not benefit. At one bank, it identified candidate workloads with 10–30× speedup potential. At another, it flagged execution-algorithm logic as offering no benefit before capital was committed.
Use Cases
Risk and Simulation ·Monte Carlo Risk and Tail-Risk Hedging
External C# and PyTorch
Before · CPU
Native q on L4 GPUs
After · GPU
27.3×
faster
A credit and distressed-debt Monte Carlo workflow runs end to end in q on L4 GPUs. It processes 25,000 securities in under two seconds, well inside a 10-second SLA, and runs 27.3× faster overall. GPU random-number generation, which represents 60% of compute time, runs 99× faster. This supports client-specific stress testing and P&L attribution. The benchmark is validated, with delivery in progress.
Risk and Simulation ·Intraday VaR and Portfolio Exposure
Static overnight batch
Before · CPU
30-minute refresh target
After · GPU
Target cadence
faster
A customer is exploring a move from static overnight VaR and Expected Shortfall reporting to 30-minute refreshes across active trading books. The workload remains in architectural discovery and does not yet have a live benchmark.
Risk and Simulation ·Multi-Scenario Stress Testing
Separate risk engine and data hop
Before · CPU
Run in place on GPU
After · GPU
No benchmark yet
faster
A bank is evaluating three simulation and stress-testing workloads directly on GPU hardware. Running the workloads next to the data could remove the memory-transfer hop between a separate risk engine and the time-series database. Testing is ongoing.
Use Cases
AI and Search ·Sales Desk AI Assistant
Milvus / PostgreSQL
Before · CPU
5.9 ms / 201 ms
After · GPU
147× / 158.5×
faster
GPU-accelerated hybrid vector and time-series search answers sales-desk questions across 4.34 million chat messages. Vector searches complete in 5.9 milliseconds and complex queries in 201 milliseconds. That is 147× faster than Milvus and 158.5× faster than PostgreSQL, while keeping the chat data inside the bank. A bank-wide rollout is planned.
AI and Search ·Earnings Analysis AI Agent — RBC Aiden
60–150 minutes
Before · CPU
Minutes
After · GPU
Up to 20× search
faster
RBC Aiden's QuickTakes uses 14 autonomous agents to retrieve market data and text from KDB-X through GPU-accelerated hybrid time-series and vector search. Earnings analysis that previously required 60–150 minutes per release now takes minutes, with insights delivered up to 60% faster. Aiden is in production and scaling toward 100,000 users.
KX analyzes the joins, sorts, grouped calculations, and data-movement patterns in your q code, maps them against measured benchmark patterns, and identifies where GPU acceleration is most likely to help. A KX engineer reviews the findings with you and recommends what to test first.
Estimates are directional. Measured results depend on data volumes, hardware, memory movement, and the proportion of GPU-supported operations.
Identifies joins, sorts, grouped calculations, and data-movement patterns most likely to benefit from GPU execution.
Maps findings against measured benchmark patterns to estimate where GPU acceleration is most likely to help.
Delivers a report scoped to your codebase — what to migrate, in what order, with ROI estimates attached.
Six shifts your quants, traders, and platform owners feel from the first GPU-offloaded job through to the post-trade review.
01
Run broader universes, longer histories, and larger parameter sweeps without reducing data resolution.
04
Process the same data volumes with fewer nodes when the workload is a strong fit for GPU execution.
02
Return execution insight sooner, leaving more time to act within the relevant trading window.
05
Reduce the runtime of the large joins, sorts, and aggregations that determine whether reports finish during the overnight window.
03
Use the .gpu namespace to run compute-intensive joins, sorts, and aggregations on NVIDIA GPUs from q.
06
Recalculate rolling windows, test more parameters, and validate models against higher-resolution histories within the existing research cycle.
Learn how to identify, assess, and benchmark capital markets workloads that may benefit from selective GPU acceleration.
Analytics workloads are growing while processing windows are shrinking. Learn where GPU acceleration can relieve CPU bottlenecks and create valuable operational headroom.
Explore the latest KDB-X GPU Acceleration updates, including nested column support, GPU profiling APIs, NVTX tracing, and memory tuning for faster analytics.
Explore how the KX-NVIDIA AIQ blueprint enables scalable, trustworthy AI in capital markets with GPU acceleration and MCP-driven analytics.
These results come from production deployments using existing q code and schemas, with selected operations moved to the GPU.
Global Hedge Fund
CPU
GPU
Custom simulations across 25,000 securities for tail-risk hedging, replacing external CUDA platforms.
Tier-1 Global Investment Bank
CPU
GPU
Replaces a legacy execution analytics stack entirely – OneTick migration plus GPU boost.
Global Prop Trading Firm
CPU
GPU
Query latency from 5s to 600ms – prevents adverse venue selection during live trading.
Tier-1 Global Investment Bank
CPU
GPU
100% order coverage, no statistical sampling – real-time liquidity capture on live flow.
KDB-X GPU Acceleration runs as a q-native module in supported on-premises, cloud, and containerized deployments.
Use Native .gpu Operations
Call GPU operations from q through the .gpu namespace.
Keep Development in q
Move selected joins, sorts, aggregations, and other supported operations to NVIDIA GPUs without low-level CUDA development.
Scope the Change With a Workload Assessment
The GPU Workload Assessment identifies which parts of the current deployment are suitable for benchmarking and what needs to change.
KDB-X GPU Acceleration is a q-native module designed to work with existing KDB-X deployments. A workload assessment confirms the supported deployment model, hardware, and any required configuration changes.
No. Developers call supported .gpu operations from q. The module handles CUDA execution beneath the q interface.
KDB-X campaign and technical materials cover NVIDIA A100, H100, H200, L40, and B200 GPUs. The supported models depend on the KDB-X release and deployment.
Large joins, sorts, windowed aggregations, matrix calculations, and other parallel workloads are the strongest candidates. Smaller workloads, operations that depend on CPU index shortcuts, and queries with high data-transfer overhead may remain faster on the CPU.
No. Teams can move selected operations and required columns to the GPU while the rest of the workload continues to run on the CPU.
KDB-X GPU Acceleration runs selected q operations on NVIDIA GPUs and controls which data moves between CPU and GPU memory.
Selective GPU residency
Control which data moves to the GPU and when. This limits PCIe transfers to the data required for each computation.
Accelerate the ops that matter
Use q-native operations for time-series joins, sorting, filtering, aggregation, matrix computation, and controlled data movement between CPU and GPU memory.
.gpu.gpu.aj.gpu.select / .gpu.xasc.gpu.gemm.gpu.to / .gpu.xto.gpu.fromcuFileuse
Move required columns to the GPU
Move the columns required by an operation, such as join keys and sort keys. Keep other payload columns on the CPU.
KX reviews joins, sorts, grouped calculations, and data-movement patterns in your existing q code to identify suitable candidates for GPU execution.