Re:AMD Zen 3/Ryzen 5000 announcement [video]
by spockz on Thursday October 08, 2020 @01:18PM
(#24721383)
What about spinning up a 24core vm and mount your code with sshfs for those compiles?
Edit: corrected ashes to sshfs
[ Parent
| on HN ]
Re:AMD Zen 3/Ryzen 5000 announcement [video]
by leetcrew on Thursday October 08, 2020 @01:30PM
(#24721506)
this has been discussed internally. for a variety of reasons, testing the software on a remote machine is kinda painful, so we would still have the overhead of copying the executable back to the developer's machine. the more straightforward approach is just to buy fast desktops for all the devs. a desktop with 32GB ram, a top of the line consumer cpu, and a middling gpu is roughly the same price as a good ultrabook anyway.
also, c++ compilation doesn't scale perfectly with more cores. linking is still single threaded, AFAIK.
Re:AMD Zen 3/Ryzen 5000 announcement [video]
by PaulDavisThe1st on Thursday October 08, 2020 @04:16PM
(#24723419)
lld will parallelize your link step. Major improvement over ld. Barely any change to the rest of your build process.
Re:AMD Zen 3/Ryzen 5000 announcement [video]
by pdimitar on Saturday October 10, 2020 @12:49PM
(#24740173)
Have you tried it with a Rust project? Is there a real gain? Really curious and willing to try.
Re:AMD Zen 3/Ryzen 5000 announcement [video]
by StillBored on Thursday October 08, 2020 @04:36PM
(#24723663)
sshfs adds far to much latency to large compiles which tend to open a ton of little files, read a KB or two, and close them. If your on a local LAN its doable on NFS or other low latency network sharing, but for everything going over the internet ssh is going to be far to slow. In those cases its better to just git pull the changes and maintain a local copy on the compile target.