Re:Jetson AGX Xavier
by structural on Monday May 04, 2020 @12:05AM
(#23064446)
You don't even need to do this: qemu support for executing arm64 binaries is fairly good, so you can just run the builds on your beefy x86 server anyways.
What's the single thread performance difference of a fast x86 cpu running emulated ARM code vs a fast ARM server or an AWS ARM instance?
Re:Jetson AGX Xavier
by fluffything on Monday May 04, 2020 @07:56AM
(#23066906)
It's quite fast if you use qemu-user.
qemu-user just gets you native speed sustem calls right? That's normally <10% of execution time so it can't be a very big help.
Genuinely curious, what is an example of a beefy ARM machine?
Anything with a ThunderX processor is maximum beefy. You can get on-demand servers like that from places like Packet. AWS also has their own A1 instances with lower core counts. These would all be good for cross compiling/builds.
Comedy answer: iPad Pro
> Comedy answer: iPad Pro
I mean, the iPad Pro does have a relatively beefy processor. If only you could run arbitrary code on it.
Re:Jetson AGX Xavier
by BillinghamJ on Sunday May 03, 2020 @06:36PM
(#23062461)
A lot of instruction sets aren't there yet, but https://ish.app is doing a truly incredible job in this regard.
Gives you a working Alpine Linux installation which you can download and install packages for normally, all within the bounds of the normal Apple sandbox, with decent enough performance.
It doesn't have SSE or MMX yet, so eg Go and Node aren't usable at this point. But a shocking amount actually does work perfectly, so it's only a matter of time as more instruction sets are implemented.
I suggest you also check out UTM (Universal Turing Machine), an emulator for the iPad that you can build and that allows you to emulate many different architectures and tun OSes written for them (including ARM).
It's pretty atrocious that you have to run an x86 emulator to use your iPad "pro" for this stuff. This project is super cool though.
Actually wouldn't a userspace ARM "emulator" be faster than an x86 one on an ARM device? Or are you so far removed from running actual CPU instructions that it doesn't matter?
Re:Jetson AGX Xavier
by BillinghamJ on Monday May 04, 2020 @03:51AM
(#23065520)
Actually looks like MMX was just released, so Go is now running. It can't build yet though.
Amazon Graviton2 instances are faster (and cheaper) than x86_64 machines in the same class.
https://blog.treasuredata.com/blog/2020/03/27/high-performan...
You don't even need the Arm machine for CI, with docker multi-arch builds you can build on x86 --
https://community.arm.com/developer/research/b/articles/post...
Re:Jetson AGX Xavier
by king_magic on Sunday May 03, 2020 @06:04PM
(#23062228)
Spinning up an ARM machine to build a container that needs to be shipped over the network to a Jetson is a pain when developing.
Re:Jetson AGX Xavier
by 0x8BADF00D on Sunday May 03, 2020 @06:10PM
(#23062264)
Welcome to embedded computing :-)
Re:Jetson AGX Xavier
by king_magic on Sunday May 03, 2020 @06:13PM
(#23062292)
I get it, but I also simply don’t want to deal with it at an embedded level. Which is why I vote with my wallet and choose x64 hardware with Quadro GPUs to ship for production.
More expensive, more power consuming? Sure. More sanity? Massively better dev experience? Massively better production/ops experience? Absolutely.
It's not so bad, you just need a beefy ARM machine to build the containers in CI. It would be silly to build a Docker container on the Jetson itself. You would never use an embedded device for compiles and builds, why would you build Docker containers on one?