Packages

o

com.nvidia.spark.rapids

SpillPriorities

object SpillPriorities

Utility methods for managing spillable buffer priorities. The spill priority numerical space is divided into potentially overlapping ranges based on the type of buffer.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpillPriorities
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ACTIVE_BATCHING_PRIORITY: Long

    Priority for multiple buffers being buffered within a call to next.

  5. val ACTIVE_ON_DECK_PRIORITY: Long

    Priority for buffers that are waiting for next to be called.

    Priority for buffers that are waiting for next to be called. i.e. data held between calls to hasNext and next or between different calls to next.

  6. val HOST_MEMORY_BUFFER_DIRECT_OFFSET: Long

    Priority offset for host memory buffers directly allocated from the OS.

    Priority offset for host memory buffers directly allocated from the OS. They are at higher priorities, thus freeing up memory pools first.

  7. val HOST_MEMORY_BUFFER_PAGEABLE_OFFSET: Long

    Priority offset for host memory buffers allocated from the internal pageable memory pool.

    Priority offset for host memory buffers allocated from the internal pageable memory pool. They are at higher priorities than pinned memory buffers, thus making more pinned memory available; but at lower priorities than directly allocated buffers, thus freeing up the internal pageable memory pool.

  8. val HOST_MEMORY_BUFFER_PINNED_OFFSET: Long

    Priority offset for host memory buffers allocated from the pinned memory pool.

    Priority offset for host memory buffers allocated from the pinned memory pool. They are at lower priorities, so will be spilled first, making more pinned memory available.

  9. val INPUT_FROM_SHUFFLE_PRIORITY: Long

    Priorities for buffers received from shuffle.

    Priorities for buffers received from shuffle. Shuffle input buffers are about to be read by a task, so spill them if there's no other choice, but leave some space at the end of the priority range so there can be some things after it.

  10. val OUTPUT_FOR_SHUFFLE_INITIAL_PRIORITY: Long

    Priorities for task output buffers intended for shuffle.

  11. def applyPriorityOffset(originalPriority: Long, offset: Long): Long

    Calculate a new priority based on an offset, clamping it to avoid wraparound.

    Calculate a new priority based on an offset, clamping it to avoid wraparound.

    originalPriority

    the original priority

    offset

    the desired offset

    returns

    the resulting priority, with clamping if needed

  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getShuffleOutputBufferReadPriority: Long
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped