Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OpenCL, boinc, and systemd resource limits

13 views
Skip to first unread message

Arno Lehmann

unread,
May 8, 2023, 5:00:07 PM5/8/23
to
Hi all,

back to trying to get OpenCL-based boinc workloads running.

It appears that the AMD-provided OpenCL stack works to some extent under
Debian 12. However, I have some problems with OpenCL-Using boinc-managed
PrimeGrid programs.

I do get an error that seems to indicate some resource limit being involved:

Error: opencl error: CL_OUT_OF_HOST_MEMORY

when I run the boinc client through systemd.

If the boinc client is run from the shell, for example as

sudo -u boinc boinc

in its proper working directory, everything behaves correctly.

Given the circumstances I suspect some sort of limit on memory.

I just have no idea how I can diagnose this further, or even how to fix
it. An attempt with a unit file override with

[Service]
LimitMEMLOCK=1073741824
LimitMEMLOCKSoft=1073741824

was not successful.

Does anybody have an idea, or can share recommendation where to ask for
more advice? (Debian project, i.e. here because this might be
integration / packaging related, freedesktop.org for systemd, boinc
project, perhaps -- trying to get assistance at PrimeGrid did so far not
result in anything helpful.)


Thanks,

Arno

--
Arno Lehmann

IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück

Arno Lehmann

unread,
May 10, 2023, 11:22:03 PM5/10/23
to
Hi all,

just to give this a reasonable conclusion... it was indeed a matter of
systemd service unit file setup, as described at

https://github.com/BOINC/boinc/issues/4948
https://www.primegrid.com/forum_thread.php?id=10048

Mail to the package maintainers with a suggestion on how this could be
improved has been sent.

Cheers,
0 new messages