![]() |
Project
|
#include <ByteSource.h>
Public Types | |
| enum struct | LocalIO { MMap , PRead } |
| enum struct | RemoteIO { Prefetch , Stream } |
| enum struct | HttpVersion { Auto , Http1_1 , Http2 } |
Public Attributes | |
| LocalIO | localIO = LocalIO::MMap |
| RemoteIO | remoteIO = RemoteIO::Prefetch |
| int | threads = 1 |
| int | prefetchDepth = 1 |
| size_t | coalesceGap = 64 * 1024 |
| size_t | bufferBudget = kAutoBufferBudget |
| double | spanFraction = 0.8 |
| int | streamWindows = 4 |
| size_t | streamWindowBytes = 2 * 1024 * 1024 |
| HttpVersion | httpVersion = HttpVersion::Auto |
| int | httpConnections = 4 |
| int | readRetries = 2 |
| double | retryDelay = 2.0 |
| size_t | remoteInFlightBytes = 32 * 1024 * 1024 |
Static Public Attributes | |
| static constexpr size_t | kAutoBufferBudget = SIZE_MAX |
All the reader settings, collected from the –aod-reader-* / –aod-http-* workflow options.
Definition at line 28 of file ByteSource.h.
|
strong |
| Enumerator | |
|---|---|
| Auto | |
| Http1_1 | |
| Http2 | |
Definition at line 33 of file ByteSource.h.
|
strong |
| Enumerator | |
|---|---|
| MMap | |
| PRead | |
Definition at line 29 of file ByteSource.h.
|
strong |
| Enumerator | |
|---|---|
| Prefetch | |
| Stream | |
Definition at line 31 of file ByteSource.h.
| size_t o2::aod::native::Options::bufferBudget = kAutoBufferBudget |
Definition at line 45 of file ByteSource.h.
| size_t o2::aod::native::Options::coalesceGap = 64 * 1024 |
Definition at line 40 of file ByteSource.h.
| int o2::aod::native::Options::httpConnections = 4 |
Definition at line 50 of file ByteSource.h.
| HttpVersion o2::aod::native::Options::httpVersion = HttpVersion::Auto |
Definition at line 49 of file ByteSource.h.
|
staticconstexpr |
Most bytes the read plans of a file hold at once, 0 for no limit. A DF larger than this is read in groups of trees. kAutoBufferBudget: 16 MB for a local file, 64 MB for a remote one, where each read is a round trip.
Definition at line 44 of file ByteSource.h.
| LocalIO o2::aod::native::Options::localIO = LocalIO::MMap |
Definition at line 36 of file ByteSource.h.
| int o2::aod::native::Options::prefetchDepth = 1 |
Definition at line 39 of file ByteSource.h.
| int o2::aod::native::Options::readRetries = 2 |
For a source opened with ByteSource::openReplicas: how many times, at most, failed reads are retried on a replica (reopened) during the life of the file before moving on to the next replica, and the seconds waited before the first retry (doubled for each further one).
Definition at line 55 of file ByteSource.h.
| size_t o2::aod::native::Options::remoteInFlightBytes = 32 * 1024 * 1024 |
Most bytes of one read plan in flight at once on a remote file, so that each request finishes within the server timeout on a slow link (XRootD expires requests after XRD_REQUESTTIMEOUT, 150 s in the ALICE setup).
Definition at line 60 of file ByteSource.h.
| RemoteIO o2::aod::native::Options::remoteIO = RemoteIO::Prefetch |
Definition at line 37 of file ByteSource.h.
| double o2::aod::native::Options::retryDelay = 2.0 |
Definition at line 56 of file ByteSource.h.
| double o2::aod::native::Options::spanFraction = 0.8 |
Definition at line 46 of file ByteSource.h.
| size_t o2::aod::native::Options::streamWindowBytes = 2 * 1024 * 1024 |
Definition at line 48 of file ByteSource.h.
| int o2::aod::native::Options::streamWindows = 4 |
Definition at line 47 of file ByteSource.h.
| int o2::aod::native::Options::threads = 1 |
Definition at line 38 of file ByteSource.h.