W dniu 24.11.2012 14:37, Panu Matilainen pisze: > On 11/23/2012 09:19 PM, Julian Sikorski wrote: >> W dniu 22.11.2012 07:55, Panu Matilainen pisze: >>> On 11/22/2012 12:03 AM, Julian Sikorski wrote: >>>> W dniu 10.11.2012 10:51, Julian Sikorski pisze: >>>>> Hi, >>>>> >>>>> I was wondering if it was possible to monitor the maximum and/or >>>>> average >>>>> memory usage of a mock build process. I am trying to investigate why a >>>>> package takes less 2 hours to build on F16/F17, 24 hours on F18 and 7 >>>>> hours on rawhide: >>>>> https://bugzilla.rpmfusion.org/show_bug.cgi?id=2554 >>>>> >>>>> Regards, >>>>> Julian >>>>> >>>> Hi, >>>> >>>> I would like to follow up on this issue. I did not notice the >>>> differences when mock building locally, but on the plague RPM Fusion >>>> builder it took 2 hours on F16/F17 and 30 (sic!) on F18 to build mame. >>>> Suspecting memory usage issue I already added >>>> >>>> %global optflags %{optflags} -Wl,--no-keep-memory >>>> -Wl,--reduce-memory-overheads >>>> >>>> to the spec file. Thank you for the input in advance. >>> >>> Here's one difference between F18 and earlier that does affect memory >>> usage: >>> https://fedoraproject.org/wiki/Features/DwarfCompressor >>> See https://bugzilla.redhat.com/show_bug.cgi?id=833311 and >>> /etc/rpm/macros.dwz for further info on memory consumption and tunables. >>> >>> But then this is the same in rawhide and f18 so it doesn't explain why >>> the build takes *that* much longer on f18. >>> >>> - Panu - >> Is there a macro to disable this from within the spec so that I can >> check whether dwz is the culprit? > > This should disable dwz entirely: > > %global _find_debuginfo_dwz_opts %{nil} > > - Panu - > > - Panu - Thank you. I have submitted a build with dwz disabled, let's see how long it takes. Julian -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel