diff --git a/docs/slides/intro/cubed-intro.ipynb b/docs/slides/intro/cubed-intro.ipynb index a6e5f433..f2904dea 100644 --- a/docs/slides/intro/cubed-intro.ipynb +++ b/docs/slides/intro/cubed-intro.ipynb @@ -11,7 +11,7 @@ "source": [ "# Cubed: an introduction\n", "\n", - "Tom White, November 2023" + "Tom White, June 2024" ] }, { @@ -207,9 +207,9 @@ "source": [ "# Example: `reduction`\n", "\n", - "\n", + "\n", "\n", - "Implemented using multiple rounds of calls to `blockwise` and `rechunk`." + "Implemented using multiple rounds of a tree reduce operation followed by a final aggregation." ] }, { @@ -239,72 +239,159 @@ { "data": { "image/svg+xml": [ - "
" + ] + }, + { + "cell_type": "markdown", + "id": "925fff3c-5531-4953-891e-b382583de56b", + "metadata": {}, + "source": [ + "# Optimization: an advanced example\n", + "\n", + "In early 2024 we implemented more optimizations to give a **4.8x** performance improvement on the \"Quadratic Means\" climate workload running on Lithops with AWS Lambda, with a **1.5 TB** workload completing in around **100 seconds**\n", "\n", - "This is a simple case - still lots of optimizations left to do." + "map_direct
reduction
¶Implemented using multiple rounds of calls to blockwise
and rechunk
.
reduction
¶Implemented using multiple rounds of a tree reduce operation followed by a final aggregation.
Cubed will optimize the graph before computing it - by fusing blockwise (map) operations.
+Cubed will automatically optimize the graph before computing it. For example by fusing blockwise (map) operations:
-
-
+
+
This is a simple case - still lots of optimizations left to do.
+In early 2024 we implemented more optimizations to give a 4.8x performance improvement on the "Quadratic Means" climate workload running on Lithops with AWS Lambda, with a 1.5 TB workload completing in around 100 seconds
+More details in Optimizing Cubed
groupby
operations