Even if the partitions are on the same host, the worker would still need to serialize / deserialize those data when they are in different jvm processes. Often that is very costly ...