decentriq_util 0.1.0.dev11__tar.gz → 0.1.0.dev12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/PKG-INFO +1 -1
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/spark/__init__.py +1 -1
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/pyproject.toml +1 -1
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/__init__.py +0 -0
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/error.py +0 -0
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/logger.py +0 -0
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/proto/__init__.py +0 -0
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/python/__init__.py +0 -0
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/sql/__init__.py +0 -0
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/sql/proto/__init__.py +0 -0
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/sql/proto/compute_sql_pb2.py +0 -0
- {decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/sql/proto/compute_sql_pb2.pyi +0 -0
|
@@ -101,7 +101,7 @@ def _get_num_partitions(
|
|
|
101
101
|
|
|
102
102
|
# Try to make partitions as big as possible s.t. each CPU is saturated,
|
|
103
103
|
# while accounting for 50% overhead in spark.
|
|
104
|
-
task_per_cpu =
|
|
104
|
+
task_per_cpu = 2 # try to get at least this many tasks/partitions per CPU
|
|
105
105
|
max_target_partition_size = max(
|
|
106
106
|
int(0.5 * available_memory / (task_per_cpu * cpu_count)) // megabyte_in_bytes * megabyte_in_bytes,
|
|
107
107
|
min_partition_size
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{decentriq_util-0.1.0.dev11 → decentriq_util-0.1.0.dev12}/decentriq_util/sql/proto/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|