Editing Talk:Containers/Guarantees for resources
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Hi, | Hi, | ||
− | I guess limiting is only useful when there's enough room for all groups. Eg.: the calculation | + | I guess limiting is only useful when there's enough room for all groups. Eg.: the calculation makes sense only if: |
<code>(1) ∀ i: Li >= Gi</code> | <code>(1) ∀ i: Li >= Gi</code> | ||
− | Otherwise, the group limit is | + | Otherwise, the group limit is to strict.Obviously it's required that: |
<code>(2) ∑ Gi <= R </code> | <code>(2) ∑ Gi <= R </code> | ||
Line 10: | Line 10: | ||
, and the above condition is enough: | , and the above condition is enough: | ||
− | <code>(3) L1 = (1/N-1) * ((R-G2)+(R-G3)+...+(R-Gn) - (N-2)*(R-G1)) > | + | <code>(3) L1 = (1/N-1) * ((R-G2)+(R-G3)+...+(R-Gn) - (N-2)*(R-G1)) > G1 </code> |
⇔ | ⇔ | ||
− | <code>(4) ((R-G2)+(R-G3)+...+(R-Gn) - (N-2)*(R-G1)) > | + | <code>(4) ((R-G2)+(R-G3)+...+(R-Gn) - (N-2)*(R-G1)) > (N-1)*G1</code> |
⇔ | ⇔ | ||
− | <code>(5) (N-1)*R-(G2+G3+...+Gn)-(N-2)*R+(N-2)*G1 > | + | <code>(5) (N-1)*R-(G2+G3+...+Gn)-(N-2)*R+(N-2)*G1 > (N-1)*G1</code> |
⇔ | ⇔ | ||
− | <code>(6) R - (G2+G3+...+Gn) + (N-2)*G1 > | + | <code>(6) R - (G2+G3+...+Gn) + (N-2)*G1 > (N-1)*G1</code> |
⇔ | ⇔ | ||
− | <code>(7) R > | + | <code>(7) R > G2+G3+...+Gn+G1</code> |
− | Thus limiting is only useful if the | + | Thus limiting is only useful if the trivial condition under (2) holds. |
Cheers, | Cheers, | ||
Gyula | Gyula |