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