You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be helpful to show the x86-64 build requirements regarding RAM. While it may change, it is a good reference point.
it would also help to point out the output file size differences between x86-64 and ARM (Mac) builds; I assume the ARM build takes more disk space due to the RISC architecture, but confirmation would help.
it would be helpful to show the intermediate representations involved in the rustic compilation process to point out that the compilation is not a direct process and RAM should exceed the size of the output file (Iroha executable) by a particular factor or more
explaining how to check, enable and use swap is basic, but this wasn't done at the start, so I'd add such a section, too (FS type, mkswap, swapon, swapoff commands, memory checks on Linux)
the build flags that'll allow building on low-ram machines to test Iroha on different architectures will allow others to conduct tests on different architectures. I mean, things like RUSTFLAGS=prefer-dynamic potentially help the build not to break, but the team may have more ideas here.
For more context, this issue is linked to hyperledger-iroha/iroha#4109, but I believe the documentation update is the first thing to consider, as we should pick the approaches for the build process on such machines. For now, I've recommended Marvell Armada machines as a viable alternative to UCM-iMX8M-Mini, as Armada is the only ARM device I've seen to use 16 Gb RAM.
The text was updated successfully, but these errors were encountered:
6r1d
changed the title
Extend the bare metal build section for machines with the limited RAM
Extend the bare metal build section for machines with limited RAM
Dec 4, 2023
We discussed the build process extensively with @matisalimbene, and there are a lot of things the bare metal build article can be expanded with.
x86-64
build requirements regarding RAM. While it may change, it is a good reference point.x86-64
and ARM (Mac) builds; I assume the ARM build takes more disk space due to the RISC architecture, but confirmation would help.rustic
compilation process to point out that the compilation is not a direct process and RAM should exceed the size of the output file (Iroha executable) by a particular factor or moremkswap
,swapon
,swapoff
commands, memory checks on Linux)RUSTFLAGS=prefer-dynamic
potentially help the build not to break, but the team may have more ideas here.For more context, this issue is linked to hyperledger-iroha/iroha#4109, but I believe the documentation update is the first thing to consider, as we should pick the approaches for the build process on such machines. For now, I've recommended Marvell Armada machines as a viable alternative to UCM-iMX8M-Mini, as Armada is the only ARM device I've seen to use 16 Gb RAM.
The text was updated successfully, but these errors were encountered: