[tor-bugs] #23075 [Applications/Tor Browser]: Add an option to select the number of cores used for building in tor-browser-build.git
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Aug 1 11:46:31 UTC 2017
#23075: Add an option to select the number of cores used for building in tor-
browser-build.git
--------------------------------------+-----------------------
Reporter: boklm | Owner: boklm
Type: task | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-rbm | Actual Points:
Parent ID: #17379 | Points:
Reviewer: | Sponsor:
--------------------------------------+-----------------------
Comment (by boklm):
Replying to [comment:2 gk]:
>
> The same should be doable for memory consumption. Not sure how that is
handled in `rbm` atm but having something like `VM_MEMORY` there as well
sounds like a good idea.
As we are using containers and not VMs, the memory is shared between the
host and the containers. This is also the case in gitian when building
with LXC, where `VM_MEMORY` is ignored in that case.
If we want it we should be able to add an option to set the limit of
memory usage for the container:
https://github.com/opencontainers/runtime-spec/blob/master/config-
linux.md#memory
But given that the memory is shared with the host and there is no memory
assigned to the container only, I'm not sure it is useful.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23075#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list