<p></p>
<p>-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256</p>
<p>Another thing to consider is whether calling pthread_setschedparam()<br>
should be the default ...</p>
<p>My impression is that if I just ignore the warning</p>
<p>"pthread_setschedparam failed: Not owner"</p>
<p>the programs still run fine.</p>
<p>So perhaps the default could be changed NOT to issue a pthread_setschedparam()<br>
and make it optional.</p>
<p>Maybe some option like '-best-performance' could enable this.</p>
<p>Currently the message seems to indicate it is for "best operation".</p>
<p>So the message implies that the default could be not to issue the<br>
pthread_setschedparam() and then have the user it enable via a switch.</p>
<p>In any case, the message is very specific and it combines both error and<br>
solution, while the solution is "cookbookish" it tells you how what to do,<br>
but there are many variations possible and many operating systems, what<br>
could be the right "cookbook recipe" on one system may not apply to another ...</p>
<p>MESSAGE:</p>
<p>pthread_setschedparam failed: Not owner<br>
This VM uses a separate heartbeat thread to update its internal clock<br>
and handle events.  For best operation, this thread should run at a<br>
higher priority, however the VM was unable to change the priority.  The<br>
effect is that heavily loaded systems may experience some latency<br>
issues.  If this occurs, please create the appropriate configuration<br>
file in /etc/security/limits.d/ as shown below:</p>
<p>cat <<END | sudo tee /etc/security/limits.d/squeak.conf</p>
<ul>
<li>
<pre><code> hard    rtprio  2
</code></pre>
</li>
<li>
<pre><code> soft    rtprio  2
</code></pre>
</li>
</ul>
<p>END</p>
<p>and report to the squeak mailing list whether this improves behaviour.</p>
<p>You will need to log out and log back in for the limits to take effect.<br>
For more information please see<br>
<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux">https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux</a></p>
<p>David Stes</p>
<p>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2</p>
<p>iQEcBAEBCAAGBQJf0hMyAAoJEAwpOKXMq1MaazkH/R8KAROHBOUlcaXTZ8MPPr6v<br>
fi8/zjr8eLtAKK7GxlVPRO9EI1Zpxs7z2/YpjlkuID1gepTgMvKH7HlJaiytw1SV<br>
iKW7Ybp8KAAIo/7uBTeH1/2woGNDZDELaApQGIfD7WPoCMKEJv2C0Gt/QosXBJ0o<br>
xk+M4D2P3JhkjP1VshgzYzfHWwec7SlABUQgQP++iT7zwVSp0CzUTSuKtG78T4yB<br>
DKNUiHcFIJA9zmKTiGWgdsabPww8mlZ1+yDWPsSd5sqq5YunhSjy2ixkQ3+T+HbC<br>
2hMzD02Ef9z2OAutmjPuWN06GC6XhB8vGhEmk6Pgl1QmVkgDlrqdT4ZVk2gUMEs=<br>
=2wOl<br>
-----END PGP SIGNATURE-----</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/540#issuecomment-742489426">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEWYGWP5LZN6MDR7AWDLSUC42PANCNFSM4URSFW6Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEWZEKUT23DYKSQCLRRDSUC42PA5CNFSM4URSFW62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRAX2UQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/540#issuecomment-742489426",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/540#issuecomment-742489426",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>