Skip to content
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

[Feature] Parallelism control #32

Open
kxxt opened this issue Jul 18, 2024 · 0 comments
Open

[Feature] Parallelism control #32

kxxt opened this issue Jul 18, 2024 · 0 comments
Labels
enhancement New feature or request tracer Core tracer component tui TUI

Comments

@kxxt
Copy link
Owner

kxxt commented Jul 18, 2024

Inspired by https://blog.quarticcat.com/posts/no-more-oom/ ,

I think tracexec is the perfect place to control the parallelism of build system. r8(it's not a linker anyway) really pushes my system near/to OOM when building AOSP based systems.

Define a group as a collection of filename patterns(plain text or regex). e.g. linker group with /ld and /ld.ldd. Then we can control how many processes can run at the same time by pausing excessive processes at execve syscall exit stop and continuing them once old processes exit.

@kxxt kxxt added enhancement New feature or request tui TUI tracer Core tracer component labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tracer Core tracer component tui TUI
Projects
None yet
Development

No branches or pull requests

1 participant