Commit 28fb6c3
authored
[Data] Switched default shuffle strategy from sort-based to hash-based (#55510)
<!-- Thank you for your contribution! Please review
https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before
opening a pull request. -->
<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->
## Why are these changes needed?
Hash-based shuffle has been around for some time now bringing clear
performance advantages in our internal benchmarks and tests.
Therefore we're switching default shuffle-strategy from existing
(legacy) range-sort based one to a hash-shuffle.
## Related issue number
<!-- For example: "Closes #1234" -->
## Checks
- [ ] I've signed off every commit(by using the -s flag, i.e., `git
commit -s`) in this PR.
- [ ] I've run `scripts/format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed for
https://docs.ray.io/en/master/.
- [ ] I've added any new APIs to the API Reference. For example, if I
added a
method in Tune, I've added it in `doc/source/tune/api/` under the
corresponding `.rst` file.
- [ ] I've made sure the tests are passing. Note that there might be a
few flaky tests, see the recent failures at https://flakey-tests.ray.io/
- Testing Strategy
- [ ] Unit tests
- [ ] Release tests
- [ ] This PR is not tested :(
---------
Signed-off-by: Alexey Kudinkin <ak@anyscale.com>1 parent b32f0d9 commit 28fb6c3
File tree
24 files changed
+925
-376
lines changed- python/ray/data
- _internal
- execution/operators
- logical
- interfaces
- operators
- rules
- planner
- tests
24 files changed
+925
-376
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
591 | 605 | | |
592 | 606 | | |
593 | 607 | | |
| |||
Lines changed: 21 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
123 | 121 | | |
124 | 122 | | |
125 | 123 | | |
| |||
147 | 145 | | |
148 | 146 | | |
149 | 147 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 148 | + | |
| 149 | + | |
169 | 150 | | |
170 | 151 | | |
171 | 152 | | |
172 | 153 | | |
173 | 154 | | |
174 | 155 | | |
175 | 156 | | |
176 | | - | |
| 157 | + | |
177 | 158 | | |
178 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
179 | 163 | | |
180 | 164 | | |
181 | 165 | | |
182 | | - | |
| 166 | + | |
183 | 167 | | |
184 | 168 | | |
185 | 169 | | |
| |||
193 | 177 | | |
194 | 178 | | |
195 | 179 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
202 | 188 | | |
203 | 189 | | |
204 | 190 | | |
| |||
0 commit comments