<p>neels <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/22085">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">hodec2: to balance congestion, use overload percent<br><br>For balancing load across congested cells and across congested TCH/*<br>kinds, instead of comparing the number of lchans above the configured<br>congestion threshold, compare the percent of lchans of overload.<br><br>In short, using a percentage prevents cells with less min-free-slots to<br>fill up 100% while neighbor cells still may have several free lchans<br>available.<br><br>An obvious example of why this is desirable is illustrated by<br>test_balance_congestion_by_percentage.ho_vty:<br><br>Cell A has min-free-slots 2, and has all slots occupied.<br>Cell B has min-free-slots 4, and has 2 slots remaining free.<br><br>If we count congested lchans as in current master: cell A has a<br>congestion count of 2: two more lchans in use than "allowed". If we move<br>one lchan over to cell B, it ends up with a congestion count of 3, which<br>is worse than 2. So when counting lchans, we decide that cell A should<br>remain full.<br><br>Instead, when comparing percentage of remaining lchans, we would see<br>that cell A is loaded 100% above congestion (2 of 2 remaining lchans in<br>use), but when moving one lchan to cell B, that would only be 75% loaded<br>above its treshold (3 of 4 remaining lchans in use). So a percentage<br>comparison would cause a handover to cell B.<br><br>Related: SYS#5259<br>Change-Id: I55234c6c99eb02ceee52be0d7388bea14304930f<br>---<br>M src/osmo-bsc/handover_decision_2.c<br>M tests/handover/test_balance_congestion_by_percentage.ho_vty<br>M tests/handover/test_balance_congestion_tchf_tchh.ho_vty<br>3 files changed, 51 insertions(+), 19 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/85/22085/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/22085">change 22085</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bsc/+/22085"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I55234c6c99eb02ceee52be0d7388bea14304930f </div>
<div style="display:none"> Gerrit-Change-Number: 22085 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>