can cai
10/17/2025, 5:58 AMjay
10/17/2025, 6:06 AMjay
10/17/2025, 6:07 AMcan cai
10/17/2025, 7:04 AMjay
10/17/2025, 7:11 AMcan cai
10/17/2025, 7:19 AMcan cai
10/17/2025, 7:24 AMRemoteFlotillaRunner.get_next_partition is executed serially. When there are many partitions, it appears to be relatively slow.
If the result is directly shuffled to singlepartition after locallimit, will it be faster to execute only one partition then?
And it will be unnecessary to serially call ray.get multiple times in RemoteFlotillaRunner. Do you think this is effective?Cory Grinstead
10/17/2025, 3:05 PMZhiping Wu
10/23/2025, 2:26 AMis executed serially. When there are many partitions, it appears to be relatively slow.RemoteFlotillaRunner.get_next_partition
RemoteFlotillaRunner.get_next_partition should only waiting for the distributed plan finished, and in the case you showed, there should only one plan here.
The detail reason might be described in #5406 as @Malcolm Greaves mentioned, and I think another slow reason might limit by your workload. May I get what's resource of you ray cluster, and whether you run the example in a local ray cluster? how many RaySwordfishActor.run_plan actor task running in parallel from ray dashbord?
Assume the dataframe has N partitions, and there will be N SwordfishTask generated, but the max parallelism of running SwordfishTask is limited by the CPU cores of ray worker, if the CPU core is M, there should only M tasks running in parallel, the other tasks is waiting for previous tasks finished.