pub struct KvikioProcessConfig {
pub compat_mode: KvikioCompatMode,
pub thread_count: u32,
pub task_size_bytes: u64,
}Expand description
KvikIO’s process-global settings: one thread pool and one task size shared by local compatibility-mode reads and remote range reads, across every device in the process.
Design: website/docs/design/data-path.mdx#local-nvme-and-compatibility-mode.
Fields§
§compat_mode: KvikioCompatModeKVIKIO_COMPAT_MODE.
thread_count: u32KVIKIO_NTHREADS: workers in the process-wide pool.
task_size_bytes: u64KVIKIO_TASK_SIZE: bytes per pool task; one read splits into tasks of
at most this size.
Implementations§
Source§impl KvikioProcessConfig
impl KvikioProcessConfig
Sourcepub const DEFAULT: KvikioProcessConfig
pub const DEFAULT: KvikioProcessConfig
Algeon’s values for the fields the KvikIO environment leaves unset.
64 threads keep a cold local NVMe read near the device’s throughput, where libcudf’s own four-thread setup reached about a quarter of it, and match the concurrency remote range reads need. 4 MiB tasks are KvikIO’s default; a larger task splits one read into fewer parallel pieces.
Trait Implementations§
Source§impl Clone for KvikioProcessConfig
impl Clone for KvikioProcessConfig
Source§fn clone(&self) -> KvikioProcessConfig
fn clone(&self) -> KvikioProcessConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KvikioProcessConfig
Source§impl Debug for KvikioProcessConfig
impl Debug for KvikioProcessConfig
impl Eq for KvikioProcessConfig
Source§impl Hash for KvikioProcessConfig
impl Hash for KvikioProcessConfig
Source§impl PartialEq for KvikioProcessConfig
impl PartialEq for KvikioProcessConfig
impl StructuralPartialEq for KvikioProcessConfig
Auto Trait Implementations§
impl Freeze for KvikioProcessConfig
impl RefUnwindSafe for KvikioProcessConfig
impl Send for KvikioProcessConfig
impl Sync for KvikioProcessConfig
impl Unpin for KvikioProcessConfig
impl UnsafeUnpin for KvikioProcessConfig
impl UnwindSafe for KvikioProcessConfig
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more