TaoYang526 commented on PR #7121:
URL: https://github.com/apache/hadoop/pull/7121#issuecomment-2557882266

   I have just committed optimized code to help this policy achieving high 
scheduling quality and meanwhile ensuring high performance with cache enabled.
   There are 2 important improvements:
   - Introduce PreferredIterator with next-fit policy to avoid always choosing 
the first node when cache enabled.
   - Separate sorted nodes to 3 zones: preferred, normal and ignored to achieve 
high scheduling quality, front nodes in preferred zone will have more 
opportunities to be chosen then nodes in normal zone, and rear nodes in ignored 
zone can be ignored in the scheduling process for now to avoid make things 
worse.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to