[chromium-dev] Re: How much RAM needed to get past linking? (Linux)
Wrapping up: With 2GB of RAM it seems I can compile the debug mode, even without using the gold replacement for ld. The linking step of the final executable takes the remaining 1.5Gb~1.7Gb of physical memory, then another 500Mb~600Mb of swap. It stays at that level instead of gradual expanding until swap overloads. I haven't finished quite yet due to missing symbols error (like crbug #26496) but I'm confident that we've found the current requirements. Best to have 3Gb+, can be done with 2Gb + 1Gb+ of swap. Akira --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How much RAM needed to get past linking? (Linux)
if I want to install it on Fedora I note that there isn't package (yet) It is good that you are trying to build for Fedora. I just mention that are a few rpm package options for fedora: http://spot.fedorapeople.org/chromium and the chrome dev channels rpm wrapping: http://www.google.com/linuxrepositories/yum.html If you are comfortable running trunk builds or what to test them you might find http://petersen.fedorapeople.org/chromium-get-snap/ useful too. Jens --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How much RAM needed to get past linking? (Linux)
Thanks Yuta-san. That's a good-idea-I-should-have-had-myself. It works! I missed the memory usage during the first pass, but rebuilding just the src/sconsbuild/Release/chrome executable was a mere 200Mb. When I get the extra memory I'll confirm Marc-Antoine's observation. Cheers, Akira On Wed, Nov 4, 2009 at 2:10 PM, Yuta Kitamura yu...@chromium.org wrote: Hi, I've experienced the same problem before. As far as I tested, building Release mode binary (hammer --mode=Release) would require much less memory than Debug binary. If it's sufficient for you, you may want to try this. Thanks, Yuta On Tue, Nov 3, 2009 at 6:01 PM, 黒鉄章 ak...@yayakoshi.net wrote: Hi Adam/Evan/Pawell, thanks for the useful feedback. This gold sounds good, although if I want to install it on Fedora I note that there isn't package (yet) and the src/build/install-build-deps.sh script is apparently only for Ubuntu 8/9, so I will have to go the 'hard way' mentioned on the LinuxFasterBuilding wiki. (Accordingly I don't think it should be specified as a chromium build requirement until most distributions are supported.) By the sounds of it 2Gb of physical memory really is the minimum, and I better get upgrade my hardware. Technically my motherboard should support that (as a max) but I failed to boot the other day when trying to add different-sized DIMM. I will track down two identical 1Gb DIMMs and put them in. Reporting back later, Akira On Tue, Nov 3, 2009 at 3:02 AM, Paweł Hajdan Jr. phajdan...@chromium.org wrote: If you have less than 1 GB of RAM, I wouldn't even try to link the biggest binaries. 2 GB of RAM should be sufficient, although with 4 and more it's better. And you will notice the change after switching to gold. On Mon, Nov 2, 2009 at 18:58, Adam Langley a...@chromium.org wrote: On Fri, Oct 30, 2009 at 9:10 AM, Akira ak...@yayakoshi.net wrote: I was building on Fedora 10 and was able to compile but the linking stage (see below) consumes more and more memory- the 500Mb of remaining memory, then another 1Gb of swap- before being killed. Are you using gold? http://code.google.com/p/chromium/wiki/LinuxFasterBuilds#Linking_using_gold If not, that's the single biggest win for linking size and speed. I know Evan builds on his laptop using gold, but I don't know the exact specs. AGL --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How much RAM needed to get past linking? (Linux)
Hi Adam/Evan/Pawell, thanks for the useful feedback. This gold sounds good, although if I want to install it on Fedora I note that there isn't package (yet) and the src/build/install-build-deps.sh script is apparently only for Ubuntu 8/9, so I will have to go the 'hard way' mentioned on the LinuxFasterBuilding wiki. (Accordingly I don't think it should be specified as a chromium build requirement until most distributions are supported.) By the sounds of it 2Gb of physical memory really is the minimum, and I better get upgrade my hardware. Technically my motherboard should support that (as a max) but I failed to boot the other day when trying to add different-sized DIMM. I will track down two identical 1Gb DIMMs and put them in. Reporting back later, Akira On Tue, Nov 3, 2009 at 3:02 AM, Paweł Hajdan Jr. phajdan...@chromium.orgwrote: If you have less than 1 GB of RAM, I wouldn't even try to link the biggest binaries. 2 GB of RAM should be sufficient, although with 4 and more it's better. And you will notice the change after switching to gold. On Mon, Nov 2, 2009 at 18:58, Adam Langley a...@chromium.org wrote: On Fri, Oct 30, 2009 at 9:10 AM, Akira ak...@yayakoshi.net wrote: I was building on Fedora 10 and was able to compile but the linking stage (see below) consumes more and more memory- the 500Mb of remaining memory, then another 1Gb of swap- before being killed. Are you using gold? http://code.google.com/p/chromium/wiki/LinuxFasterBuilds#Linking_using_gold If not, that's the single biggest win for linking size and speed. I know Evan builds on his laptop using gold, but I don't know the exact specs. AGL --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How much RAM needed to get past linking? (Linux)
On Tue, Nov 3, 2009 at 1:01 AM, 黒鉄章 ak...@yayakoshi.net wrote: This gold sounds good, although if I want to install it on Fedora I note that there isn't package (yet) and the src/build/install-build-deps.sh script is apparently only for Ubuntu 8/9 Patches to fix this would be welcome. so I will have to go the 'hard way' mentioned on the LinuxFasterBuilding wiki. The gold-building part of that script is more distro-agnostic than http://code.google.com/p/chromium/wiki/LinuxFasterBuilds#Linking_using_gold so I'd run that part of the shell script if I were you. (Accordingly I don't think it should be specified as a chromium build requirement until most distributions are supported.) gold runs on all versions of Linux. (Or were you talking about the script?) - Dan --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How much RAM needed to get past linking? (Linux)
Hi, I've experienced the same problem before. As far as I tested, building Release mode binary (hammer --mode=Release) would require much less memory than Debug binary. If it's sufficient for you, you may want to try this. Thanks, Yuta On Tue, Nov 3, 2009 at 6:01 PM, 黒鉄章 ak...@yayakoshi.net wrote: Hi Adam/Evan/Pawell, thanks for the useful feedback. This gold sounds good, although if I want to install it on Fedora I note that there isn't package (yet) and the src/build/install-build-deps.sh script is apparently only for Ubuntu 8/9, so I will have to go the 'hard way' mentioned on the LinuxFasterBuilding wiki. (Accordingly I don't think it should be specified as a chromium build requirement until most distributions are supported.) By the sounds of it 2Gb of physical memory really is the minimum, and I better get upgrade my hardware. Technically my motherboard should support that (as a max) but I failed to boot the other day when trying to add different-sized DIMM. I will track down two identical 1Gb DIMMs and put them in. Reporting back later, Akira On Tue, Nov 3, 2009 at 3:02 AM, Paweł Hajdan Jr. phajdan...@chromium.orgwrote: If you have less than 1 GB of RAM, I wouldn't even try to link the biggest binaries. 2 GB of RAM should be sufficient, although with 4 and more it's better. And you will notice the change after switching to gold. On Mon, Nov 2, 2009 at 18:58, Adam Langley a...@chromium.org wrote: On Fri, Oct 30, 2009 at 9:10 AM, Akira ak...@yayakoshi.net wrote: I was building on Fedora 10 and was able to compile but the linking stage (see below) consumes more and more memory- the 500Mb of remaining memory, then another 1Gb of swap- before being killed. Are you using gold? http://code.google.com/p/chromium/wiki/LinuxFasterBuilds#Linking_using_gold If not, that's the single biggest win for linking size and speed. I know Evan builds on his laptop using gold, but I don't know the exact specs. AGL --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How much RAM needed to get past linking? (Linux)
On Fri, Oct 30, 2009 at 9:10 AM, Akira ak...@yayakoshi.net wrote: I was building on Fedora 10 and was able to compile but the linking stage (see below) consumes more and more memory- the 500Mb of remaining memory, then another 1Gb of swap- before being killed. Are you using gold? http://code.google.com/p/chromium/wiki/LinuxFasterBuilds#Linking_using_gold If not, that's the single biggest win for linking size and speed. I know Evan builds on his laptop using gold, but I don't know the exact specs. AGL --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How much RAM needed to get past linking? (Linux)
If you have less than 1 GB of RAM, I wouldn't even try to link the biggest binaries. 2 GB of RAM should be sufficient, although with 4 and more it's better. And you will notice the change after switching to gold. On Mon, Nov 2, 2009 at 18:58, Adam Langley a...@chromium.org wrote: On Fri, Oct 30, 2009 at 9:10 AM, Akira ak...@yayakoshi.net wrote: I was building on Fedora 10 and was able to compile but the linking stage (see below) consumes more and more memory- the 500Mb of remaining memory, then another 1Gb of swap- before being killed. Are you using gold? http://code.google.com/p/chromium/wiki/LinuxFasterBuilds#Linking_using_gold If not, that's the single biggest win for linking size and speed. I know Evan builds on his laptop using gold, but I don't know the exact specs. AGL --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---