RAPIDS Accelerator for Apache Spark Nvtx Range Glossary

June 16, 2026 ยท View on GitHub

This page is generated by NvtxRangeDocs.help against Apache Spark 3.3.0. Most of the content in this page is applicable to other versions of Apache Spark with variations

RAPIDS Accelerator for Apache Spark Nvtx Range Glossary

The following is the list of Nvtx ranges that are used throughout the plugin. To add your own Nvtx range to the code, create an NvtxId entry in NvtxRangeWithDoc.scala and create an NvtxRangeWithDoc in the code location that you want to cover, passing in the newly created NvtxId.

See nvtx_profiling.md for more info.

Nvtx Ranges

NameDescription
getMapSizesByExecIdCall to internal Spark API for retrieving size and location of shuffle map output blocks
gpuKudoSerializePerform kudo serialization on the gpu
agg reduceReduction aggregation for operations without grouping keys
read python batchReading Python batch
join asymmetric fetchAsymmetric join data fetch
agg post-processPost-processing step for aggregation, including casting and struct decomposition
project tierExecuting tiered projection operation
first stream batchProcessing first stream batch
agg repartitionRepartitioning data for aggregation
DoubleBatchedWindow_PREPre-processing for double-batched window operation
GpuGenerate project splitSplitting projection in generate operation
parquet parse filter footerParsing and filtering Parquet footer by range
Compile ASTsCompiling abstract syntax trees for expression evaluation
parquet filter blocksFiltering Parquet row group blocks based on predicates
PageableH2DCopying from pageable host memory to device
TOP NComputing top N rows
zstd post processPost-processing ZSTD compressed data
split input batchSplitting input batch for sorting
update tracking maskUpdating tracking mask for join operation
hash partition sliceSlicing partitioned table into individual partitions
probe rightProbing the right side of a join input iterator to get the data size for preparing the join
DeserializeBatchDeserializing broadcast batch
Serialize Row Only BatchSerializing row-only batch
alloc output bufsAllocating output buffers for compression
existence join scatter mapCreating scatter map for existence join
Transport copy bufferCopying buffer for Rapids shuffle transport
hash partitionPartitioning data based on hash values
fetch join streamIO time on the stream side data for the following join
Sample ExecSampling rows from data
shuffled join streamGpuShuffledHashJoinExec op is preparing build batches for join
cartesian product deserializeDeserializing batch from cartesian product operation
doHandleMetaProcessing metadata handling
sort lower boundariesComputing lower boundaries for sort operation
Release GPUReleasing the GPU semaphore
Acquire GPUTime waiting for GPU semaphore to be acquired
RapidsCachingReader.readReading shuffle data from cache or remote transport
computeAggregateComputing aggregation on input batch
concat pendingConcatenating pending batches
RepartitionAggregateIterator.nextFetching next batch from repartition aggregate iterator
copy compressed buffersCopying compressed buffer data
GpuCoalesceBatches: collectGPU combining of small batches post-kernel processing
Round robin partitionPartitioning data using round-robin strategy
Sub-join partHash partitioning for sub-join operation
write python batchWriting Python batch
get mapGetting join map
GpuPartitionerGPU partitioner operation
Sort next output batchFetching next sorted output batch
existence join batchProcessing batch for existence join
TOP N OffsetComputing top N rows with offset
sort_orderComputing sort order for data
broadcast collectCollecting data for broadcast
join asymmetric probe fetchAsymmetric join probe side data fetch
gatherGathering sorted data based on indices
sort opGeneral sort operation
Avro decodeDecoding Avro data to columnar format
interleaveBitsInterleaving bits for Z-order
sort to unsafe rowConverting sorted data to unsafe row format
windowComputing window function results
cartesian product serializeSerializing batch for cartesian product operation
Buffer file splitBuffering file split for reading
broadcast join streamtime it takes to materialize a broadcast batch on the host
GpuJsonToStructsConverting JSON to structs
Buffer CallbackProcessing buffer callback
concatenateBatchesConcatenating multiple batches into one
avro buffer file splitSplitting Avro file into buffer chunks for reading
parquet buffer file splitSplitting Parquet file into buffer chunks for reading
gpuKudoSliceBuffersslice kudo serialized buffers on host into partitions
merge sortMerge sorting multiple sorted batches
Parquet readBatchReading Parquet batch
GPU file format writeWriting batch of data to file format on GPU
get final batchGetting final batch from join operation
ORC decodeDecoding ORC data to columnar format
Round robin partition sliceSlicing data for round-robin partitioning
BATCH RECEIVEDProcessing received shuffle batch
parquet read filtered footerReading filtered Parquet footer with selected row groups
sortSorting columnar data
ColumnarToRow: batchConverting columnar batch to row format
Avro readBatchReading Avro batch
Shuffle Concat CPUConcatenating shuffle data on CPU
ColumnarToRow: fetchFetching data during columnar to row conversion
PartitionD2HCopying partition data from device to host
HIVE decodeDecoding Hive table data
device spillSpilling data from device memory to host
parquet read footerReading and parsing complete Parquet footer
CommitShuffleAfter all temporary shuffle writes are done, produce a single file (shuffle_[map_id]_0) in the commit phase
agg pre-processPre-processing step for aggregation before calling cuDF aggregate, including casting and struct creation
ProjectExecExecuting projection operation on columnar batch
Columnar batch serialize row onlySerializing row-only batch (no GPU data)
disk spillSpilling data from host memory to disk
Async Shuffle BufferAsynchronous shuffle buffering operation
CSV decodeDecoding CSV data
get batchGetting join batch
Spark TaskSpark task execution range for stage and task tracking
reduction merge m2Merging M2 values during variance/stddev reduction
HILBERT INDEXComputing Hilbert index
gpuAcquireC2CAcquiring GPU for coalesce-to-coalesce operation
ParallelDeserializerIterator.nextCalling next on the MT shuffle reader iterator
Bring back to hostCopying GPU data back to host memory
limit and offsetApplying limit and offset to data
Parquet decodeDecoding Parquet data to columnar format
generate estimate repetitionEstimating repetition count for generate operation
Read HeaderReading serialized batch header
random exprGenerating random values in expression evaluation
queueFetchedMT shuffle manager is using the RapidsShuffleBlockFetcherIterator to queue the next set of fetched results
generate get row byte countComputing byte count for generated rows
single build batch concatConcatenating batches for single build batch
sort copy boundariesCopying boundary data for sort operation
WaitingForWritesRapids Shuffle Manager (multi threaded) is waiting for any queued writes to finish before finalizing the map output writer
Project ASTApplying AST-based projection to batch
ORC readBatchesReading ORC batches
Shuffle Transfer RequestHandling shuffle data transfer request
consumeWindowConsuming transfer window
orc buffer file splitSplitting ORC file into buffer chunks for reading
parquet clip schemaClipping Parquet schema to required columns
AbstractGpuCoalesceIteratorDefault range for a code path in the AbstractGpuCoalesceIterator for an op which is not explicitly documented in its own range
Client.fetchFetching data from shuffle server
Columnar batch serializeSerializing columnar batch for shuffle or storage
Read BatchReading serialized batch data
pinnedH2DCopying from pinned host memory to device
sliceInternalOnGpuSlicing partition data on GPU
file format readBatchReading batch of data from file format (Parquet/ORC/Avro/CSV/JSON)
batch decompressDecompressing batch data
broadcastBroadcasting data to executors
HostColumnarToGpu concatConcatenating batches in HostColumnarToGpu
ThreadedWriter.writeRapids Shuffle Manager (multi threaded) writing
ThreadedReader.readRapids Shuffle Manager (multi threaded) reading
RapidsShuffleIterator.nextFetching next batch from Rapids shuffle iterator
post-processPost-processing aggregation results
json convert datetimeConverting JSON datetime types to Spark datetime types
Buffer file split textBuffering text file split
agg groupbyGroup-by aggregation using cuDF groupBy operation
gpuKudoCopyToHostcopy gpu kudo serialized outputs back to the host
RapidsShuffleIterator.gotBatchProcessing batch received from Rapids shuffle
RapidsShuffleIterator prepPreparing shuffle iterator with cached and remote blocks
JSON decodeDecoding JSON data
Handle Meta RequestHandling metadata request on shuffle server
filter batchFiltering rows from a columnar batch
shuffle fetch first batchFetching first batch in shuffle coalesce operation
windowExecExecuting window operation on batch
build join tableBuilding hash table for join operation
join first stream batchFetching and processing first batch from stream side of join
GpuGenerateIteratorIterating through generated data
finalize aggFinalizing aggregation results
DoubleBatchedWindow_POSTPost-processing for double-batched window operation
broadcast buildBuilding broadcast data structure
getBroadcastBatchGetting broadcast batch
hash join buildIO time on the build side data for the following join
row to columnarConverting row-based data to columnar format
SerializeBatchSerializing broadcast batch
build batch: collectPerform a join where the build side fits in a single GPU batch
probe leftProbing the left side of a join input iterator to get the data size for preparing the join
spill mapSpilling join map
Async Shuffle ReadAsynchronous shuffle read operation
Client.handleMetaHandling metadata from shuffle server
Serialize BatchSerializing columnar batch
json convert tableConverting JSON table to desired schema type
RapidsCachingWriter.closeClosing Rapids caching writer and finalizing shuffle output
GpuRangeGenerating range of values on GPU
Calculate partCalculating hash partition assignments
RunningWindowComputing running window aggregation
GpuGenerateExecExecuting generate operation on GPU
Join gatherGathering join results
waitForCPUWaiting for CPU batch in hybrid execution
parquet get blocks with filterRetrieving Parquet blocks after applying filters
dynamic sort heuristicApplying dynamic sort heuristic for aggregation
shuffle concat load batchConcatenating and loading batch in shuffle operation
parquet read footer bytesReading raw footer bytes from Parquet file
spill batchSpilling join batch
Fast Sample ExecFast sampling rows from data
partition for joinHash partitioning data for join operation
BatchWaitRapids Shuffle Manager (multi threaded) reader blocked waiting for batches to finish decoding
lz4 post processPost-processing LZ4 compressed data
GpuCoalesceBatches concatConcatenating batches in GpuCoalesceBatches
full hash join gather mapGathering full hash join results
readNConcatReading and concatenating N batches
RapidsCachingWriter.writeRapids Shuffle Manager (ucx) writing
hash join gather mapGathering hash join results using gather map
calc gather sizeCalculating gather operation size
sliceInternalOnCpuSlicing partition data on CPU
broadcast manifest batchCreating broadcast manifest batch
batch compressCompressing batch data
ExpandExec projectionsProjecting expand operation on batch
HostDeserializeBatchDeserializing batch on host
RapidsCachingReader read localReading shuffle blocks from local cache