On 06/28/2012 10:38 AM, Gordan Bobic wrote:
On 06/28/2012 03:15 PM, Adrian Hardy wrote:
When I first started out with this endeavour, I kept getting OOM errors
during compilation so I started hacking away at the SPEC.
No swap? Linking will be painful, but at least it won't OOM. Swapping to
the SD card is painful (and it will hammer the SD card into premature
death), but swapping onto an iSCSI block device works pretty well, at
least for me.
While I was
there, I started removing targets to try and speed the process up. I
eventually gave up, added some swap (using a memory stick) and let it
compile overnight.
Ouch. Try iSCSI over ethernet, if you have another Linux box running
nearby. It should make a large dent in your 25 hour compile time. :)
In the Fedora ARM build farm they haven't yet gotten iSCSI set up, and
NFS was causing build failures because there wasn't 100% implementation
of all the file systems operations/methods that some builds need. At
last I heard they are NFS mounting a directory with two filesystems
images (buildroot and SWAP if I recall) and then loop back mounted those
images on the build machine.
This by-passed the limitations of NFS and actually improved performance
as NFS IO was done in bulk to just two files. It also has the benefit of
avoiding the complexity of having to understand iSCSI.
As a "good enough" and "constructive laziness" solution, it's a rather
reasonable one.
--
Scott Sullivan
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users