-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New package: LACT-0.5.4 #50027
base: master
Are you sure you want to change the base?
New package: LACT-0.5.4 #50027
Conversation
@@ -0,0 +1,3 @@ | |||
#!/bin/sh | |||
exec 2>&1 | |||
exec chpst -n -10 lact daemon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a nice value of -10 because that is what's used in the sample systemd service
- // Eagerly release memory | ||
- // `load_controllers` allocates and deallocates the entire PCI ID database, | ||
- // this tells the os to release it right away, lowering measured memory usage (the actual usage is low regardless as it was already deallocated) | ||
- unsafe { | ||
- libc::malloc_trim(0); | ||
- } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
musl does not have malloc_trim
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be worth considering applying this patch only on musl and leaving the code intact on glibc.
pkgname=LACT | ||
version=0.5.4 | ||
revision=1 | ||
archs="x86_64* aarch64*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uses an AMDGPU cargo crate which only compiles on 64bit
Don't think this matters, since using a modern amd gpu on 32bit arm seems extemely unlikely, but not working on i686 is unfortuneate.
85c963f
to
a8cc22d
Compare
a8cc22d
to
cf8f2cb
Compare
Testing the changes
New package
Local build testing