On Fri, Jun 29, 2018 at 3:28 PM, Samuel Thibault <[email protected]> wrote:
> Roger Shimizu, le ven. 29 juin 2018 23:04:26 +0900, a ecrit: >> On Fri, Jun 29, 2018 at 10:04 PM, Uwe Kleine-König >> <[email protected]> wrote: >> > On 06/29/2018 11:23 AM, Julien Cristau wrote: >> >> 2G is also way too little memory these days for a new buildd. >> > >> > Then the machine is out, the amount of RAM isn't upgradable. >> >> I don't think 2GB is not enough for 32-bit machine. > > I can say that 2GB is really not enough for a quite-non-small list > of packages. and that list is only going to get inexorably and slowly bigger, to the point where even on 64-bit systems at some point someone is going to notice. 7GB (and climbing) of resident RAM for the linker phase on firefox to keep it out of swap space *should* be ringing alarm bells even for amd64 build maintainers. > Sure you can add swap, but then e.g. link phases are > agonizingly long. sorry if it was not clear, and (to people who have read the analysis already) apologies for repeating it for the third time, but this is precisely and exactly why i said that it would be a good idea to investigate adding "-Wl,--no-keep-memory" to the linker phase of 32-bit builds. https://sourceware.org/bugzilla/show_bug.cgi?id=22831 linker phases 100% guaranteed to go into thrashing, due to the massive amount of cross-referencing needed to be done in object-file linking has been a known problem for over nine years, which nobody really seems to understand or acknowledge or tackle. l.

