Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/14452
  
    @rxin has pointed out:
    > Adding an explicit cache call btw -- can actually slow things down due to 
bad memory management.
    
    In my experiment, I found:
    
    According to my test in local cluster, without the cache call, I can't see 
actual speed-up. Only with cache call, I can see improvement.
    
    However the effective caching for rows needs additional `copy` call which 
adds costs and reduces the improvement.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to