Messages in this thread | | | From | "weiqi (C)" <> | Subject | [Question] load balance move tasks not suitable ? | Date | Mon, 30 Jul 2018 20:08:55 +0800 |
| |
<html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <font face="Courier New, Courier, monospace">Hi Peter,<br> <br> After Commits 5d6523ebd(sched: Fix load-balance wreckage),<br> The jugement whether imbalance reached changed from twice to one-half.<br> <br> from<br> <br> (1) if((load * 2)> rem_load_move)<br> goto next;<br> <br> to<br> <br> (2) if((load / 2)> env-> load_move)<br> goto next;<br> <br> I'm confused about this change. <br> <br> "load*2" may be more appropriate, because if a task whose load more than env->imbalance is moved from high load cpu to low load cpu,<br> <br> will make more imbalance.<br> <br> Regards,</font><br> </body> </html>
| |