<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Borderlands 2: Constant frame rate drops while playing; really bad with additionl lighting"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84570#c19">Comment # 19</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Borderlands 2: Constant frame rate drops while playing; really bad with additionl lighting"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84570">bug 84570</a>
from <span class="vcard"><a class="email" href="mailto:ahartmetz@gmail.com" title="Andreas Hartmetz <ahartmetz@gmail.com>"> <span class="fn">Andreas Hartmetz</span></a>
</span></b>
<pre>I've noticed that disabling CPU frequency scaling makes a big difference in the
severity of micro-hangs (3.17, dynamic lights off). My explanation is that,
when threads are waiting for each other, the scheduler doesn't know that the
apparently "idle-blocked" threads would all run faster overall if the CPU went
faster. Doesn't matter if that's wrong, the difference is there...
At least on AMD (some Intel CPUs use a special frequency scaling driver), you
can effectively disable CPU frequency scaling like so:
echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Maybe that also helps a bit with dynamic lights on?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>