LetoThe2nd changed the topic of #yocto to: Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Community: https://www.yoctoproject.org/community | IRC logs: http://irc.yoctoproject.org/irc/ | Having difficulty on the list, with someone on the list or on IRC, contact Yocto Project Community Manager Letothe2nd | CoC: https://www.yoctoproject.org/community/code-of-conduct
alperak has quit [Quit: Connection closed for inactivity]
s6rc has quit [Quit: Client closed]
savolla has quit [Quit: WeeChat 4.6.3]
florian_kc has quit [Ping timeout: 245 seconds]
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #yocto
vvn has joined #yocto
Xagen has joined #yocto
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
Daanct12 has joined #yocto
jmd has joined #yocto
jmd has quit [Remote host closed the connection]
Guest14 has joined #yocto
alperak has joined #yocto
goliath has joined #yocto
ptsneves has quit [Ping timeout: 248 seconds]
MarcWeDLM has joined #yocto
rfuentess has joined #yocto
frgo has quit [Ping timeout: 248 seconds]
MarcWeDLM has quit [Quit: Client closed]
Razn0r has joined #yocto
zeemate has joined #yocto
ptsneves has joined #yocto
ptsneves1 has joined #yocto
ptsneves has quit [Read error: Connection reset by peer]
ptsneves1 is now known as ptsneves
ptsneves1 has joined #yocto
ptsneves has quit [Ping timeout: 245 seconds]
ptsneves1 is now known as ptsneves
florian has joined #yocto
ptsneves has quit [Read error: Connection reset by peer]
ptsneves1 has joined #yocto
ptsneves1 is now known as ptsneves
ptsneves has quit [Quit: ptsneves]
ptsneves has joined #yocto
MarcWeDLM has joined #yocto
ptsneves has quit [Read error: Connection reset by peer]
ptsneves1 has joined #yocto
ptsneves1 is now known as ptsneves
ptsneves has quit [Read error: Connection reset by peer]
ptsneves has joined #yocto
ptsneves has quit [Ping timeout: 252 seconds]
vthor_ has joined #yocto
vthor has quit [Ping timeout: 276 seconds]
ptsneves has joined #yocto
ptsneves1 has joined #yocto
ptsneves has quit [Ping timeout: 260 seconds]
ptsneves1 is now known as ptsneves
vthor_ has quit [Quit: kill -9 $pid]
ptsneves has quit [Ping timeout: 260 seconds]
ptsneves has joined #yocto
Tyaku has joined #yocto
jpuhlman has quit [Read error: Connection reset by peer]
jpuhlman has joined #yocto
<Tyaku> Hello, My company want to build a "buildserver" for our yocto projects. I found on many forums and yocto list, that the recommanded is "2Gb of RAM per virtual core", But I don't see any mention of it in Yocto documentation, did someone have the source of this affirmation ?
<Tyaku> https://docs.yoctoproject.org/ref-manual/system-requirements.html : This doc only says: "You will manage to build an image such as core-image-sato for the qemux86-64 machine with as little as 8 Gbytes of RAM on an old system with 4 CPU cores, but your builds will be much faster on a system with as much RAM and as many CPU cores as possible."
<neverpanic> That recommendation comes from experience. Typically C++ compilers need around that much, if you have less memory per core, you'll see a lot of paging and the builds will slow down overall, unless you limit the parallelity (but then you wouldn't need as many CPU cores)
<neverpanic> Some 5 years ago, we used 40 core Xeon CPUs with 192G RAM to build, and that left some headroom for putting some build artifacts into a tmpfs in RAM, which can also speed things up (although speeds of SSDs have gone up since)
<paulg> A lot of it also depends on exactly what you intend to build. Within the last 1-2 years, dependencies have made it harder to avoid really large packages like rust/clang/llvm.
<paulg> These really have a large footprint and chew up large amounts of RAM.
<neverpanic> (doesn't help that clang and llvm are c++)
<paulg> The other big factor is the size of your company's team -- i.e. is it just you that will be using this machine, or will it be a shared resource with multiple team members trying to use it at the same time?
<neverpanic> unless your engineers aren't doing a lot of yocto builds or their salaries are very cheap, throwing hardware are the problem is probably cheaper than a lot of sharing, though.
<paulg> rust/clang/llvm pretty much put the nail in the coffin for 8G machines, even with just a single user, and very conservative job/task settings.
ablu has quit [Ping timeout: 245 seconds]
<paulg> For a single user COTS machine, I'd consider 32G the absolute bare minimum, and go with 64G if you can.
ablu has joined #yocto
<RP> Tyaku: that recommendation stands but 8GB is probably too low now we have heavier use of llvm in there and larger c++ projects
<mcfrisk> RAM per CPU thread ratio depends on what is compiled. Sadly it's not at all about speed but avoiding kernel oom killer killing processes during build time when some big C++ based projects are being compiled. Default parallel settings only count the cores and ignore the amount of RAM. If your workload triggers oom killer, then reducing parallel settings is needed until there is enough physical RAM to handle
<mcfrisk> the linking steps.
<RP> I'd agree 32 is the realistic minimum
<RP> agodard: we should probably update 8GB to 32GB
<mcfrisk> for speed, measure first. performance co-pilot or similar tools can nicely show how builds behave and use CPU, memory, disk IO and network resources. Best case sstate cache builds are bound to IO, especially slow writes. Worst case builds are heavy on CPU and RAM. 'normal' development builds are a mix of all those.
savolla has joined #yocto
<mathieudb> AdrianF: RP: Turns out the b4 issue we saw this morning is fixed in master branch, but not released
<mathieudb> So I guess I will just try to be more careful or switch to master until we get a new version
MarcWeDLM has quit [Quit: Client closed]
<RP> mathieudb: fair enough, at least it is fixed and known about
<agodard> RP: thanks for the heads up. we might need to update the minimum required disk space too, I'll check that as well
paulg has quit [Ping timeout: 245 seconds]
ptsneves has quit [Ping timeout: 245 seconds]
<Tyaku> thanks for your responses. What I understand is that there is no real recommandation from Yocto about the RAM memory, except the 8Gb minimum which should be changed to 32Gb. And the main issue is mainly to make sure that the OOM doesn't kill the compiler during the build (when we are building on all cores, huge projects).
<Tyaku> When we say 2GB per core, we realy talk about core or threads ? Because 1 core = 2 threads.
<Tyaku> We are a small team, we wuld like to build our yocto project automatically with gitlab CI CD
<mcfrisk> Tyaku: per thread, processes get started per thread, and memory usage of few large linking processes is the problem
<RP> agodard: thanks
savolla has quit [Quit: WeeChat 4.6.3]
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmd has joined #yocto
Guest14 has quit [Quit: Client closed]
prabhakalad has quit [Read error: Connection reset by peer]
cyxae has joined #yocto
Xagen has joined #yocto
Guest82 has joined #yocto
florian has quit [Ping timeout: 276 seconds]
druppy has joined #yocto
goliath_ has joined #yocto
goliath has quit [Ping timeout: 244 seconds]
goliath_ is now known as goliath
Daanct12 has quit [Quit: WeeChat 4.6.3]
prabhakalad has joined #yocto
florian has joined #yocto
vthor has joined #yocto
vthor has quit [Changing host]
vthor has joined #yocto
goliath has quit [Quit: SIGSEGV]
Razn0r has quit [Ping timeout: 276 seconds]
<vvn> hi there -- how do you guys usually deal with a machine supporting different boot mediums (e.g. eMMC, SD, flash, which require different binaries)?
<vvn> Do you go with specific image recipes (kinda against the orthogonality of yocto), different machine configuration (duplicates a _lot_ of machine-specific packages), or multiconfig (significantly increases the parse and build time)? or something else?
florian has quit [Ping timeout: 252 seconds]
Tyaku has quit [Read error: Connection reset by peer]
<vmeson> new unassigned bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15926 Branch display on console can be misleading -- triage meeting.
druppy has quit [Read error: Connection reset by peer]
florian_kc has joined #yocto
rfuentess has quit [Remote host closed the connection]
dgriego has quit [Ping timeout: 260 seconds]
dgriego has joined #yocto
<RP> reatmon: scarily, meta-ti is taking 4.5 hours to test according to: https://autobuilder.yoctoproject.org/valkyrie/#/builders/85/builds/538 :/
<RP> reatmon: I'm hoping fixing the failure "resolves" that!
<vvn> (maintaining different templateconf directories is another solution to what I was referring to)
florian_kc has quit [Ping timeout: 260 seconds]
astlep5504018066 has quit [Ping timeout: 244 seconds]
astlep5504018066 has joined #yocto
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #yocto
paulg has joined #yocto
zeemate_ has joined #yocto
zeemate_ has quit [Remote host closed the connection]
ello- has joined #yocto
jmiehe has joined #yocto
ello| has joined #yocto
ello has quit [Ping timeout: 260 seconds]
ello_ has quit [Ping timeout: 252 seconds]
zeemate has quit [Read error: Connection reset by peer]
zeemate has joined #yocto
ptsneves has joined #yocto
zeemate_ has joined #yocto
zeemate has quit [Read error: Connection reset by peer]
druppy has joined #yocto
ptsneves has quit [Ping timeout: 248 seconds]
druppy has quit [Read error: Connection reset by peer]
jmd has quit [Remote host closed the connection]
savolla has joined #yocto
frgo has joined #yocto
sakoman has quit [Quit: Leaving.]
frgo has quit [Quit: Leaving...]
cyxae has quit [Quit: cyxae]
jmiehe has quit [Quit: jmiehe]
sakoman has joined #yocto
jmiehe has joined #yocto
jmiehe has quit [Client Quit]
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RP> First all green master-next builds in ages! :)
florian_kc has joined #yocto
mansandersson868 has quit [Quit: The Lounge - https://thelounge.chat]
mansandersson868 has joined #yocto
zeemate_ has quit [Ping timeout: 268 seconds]
mansandersson868 has quit [Quit: The Lounge - https://thelounge.chat]
florian_kc has quit [Ping timeout: 244 seconds]
mansandersson868 has joined #yocto
Xagen has joined #yocto
alperak has quit [Quit: Connection closed for inactivity]
mansandersson868 has quit [Quit: The Lounge - https://thelounge.chat]