[Vm-dev] Building Ubuntu x64 vm; did I drop a clang-er?
stes@PANDORA.BE
stes at telenet.be
Mon Apr 5 08:13:44 UTC 2021
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Tim,
I'm following the OpenSmalltalk VM efforts with interest and hopefully the
following contributes something.
On Linux systems that have 'prlimit' one can do:
$ prlimit --rtprio
RESOURCE DESCRIPTION SOFT HARD UNITS
RTPRIO max real-time priority 0 0
$ sudo prlimit --rtprio=99 --pid=$$
Assuming that the user is in the sudoers file (see visudo) possibly the above,
results in the following change:
$ prlimit --rtprio
RESOURCE DESCRIPTION SOFT HARD UNITS
RTPRIO max real-time priority 99 99
My impression is that the pthread_setschedparam() issue has multiple solutions.
In the case of your Ubuntu system, what is the output of "prlimit --rtprio" ?
You can also just run "prlimit" without arguments to see the RTPRIO values.
The above is not necessarily an alternative to the squeak.conf file
/etc/security/limits.d/squeak.conf
may be the "right" file for you to use, but perhaps you can troubleshoot with
'prlimit' why it's not working.
On my system (not Linux but using PAM) one of the possibilities is
/etc/security/policy.conf
so there exist variations out there on the /etc/security/limit.d directory.
Regards,
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJgasX3AAoJEAwpOKXMq1Ma24IH/2QeX9MUml/juXxpijKdyaxy
d8k6GMPMLHFbFdoodd1wLJqiy+1Dx9Bj/aP8Lx4wTZG/B7IpkbferlM10E/7HXxO
yzYYDf89tydFdDqHhfx9tTvjAqKl1lkmSJl2g/XD6QDgqQW7jrSNWlr7G6IW7njb
r+xLvyOIWMbs97A0Rya+ju9uHLaTdQx5NPx8Ctz+JHPeEGVShjqrz2q9fmrkMl9y
cS+ru4Fu+KSXR/c7pVeGfqv2QrM9BucXI5CBJULADlaTUwY6B5hSjMgSMWSJ7DbC
qRe2PGbkrTZr7Cj4wHhu1ly1jY5KHcEUZqeEYauaZpiqtegiz54PAMOFgQxFRSo=
=IdQf
-----END PGP SIGNATURE-----
More information about the Vm-dev
mailing list