News for hackers. Stuff that matters.
Re:Jetson AGX Xavier by 0x8BADF00D on Sunday May 03, 2020 @05:46PM (#23062112)
> Building Docker containers for ARM devices is a pain in the ass.

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?

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.
Re:Jetson AGX Xavier by fulafel on Monday May 04, 2020 @01:27AM (#23064845)
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.
Re:Jetson AGX Xavier by fulafel on Monday May 04, 2020 @02:41PM (#23071691)
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.
Re:Jetson AGX Xavier by linarism on Sunday May 03, 2020 @05:57PM (#23062186)
Genuinely curious, what is an example of a beefy ARM machine?
Re:Jetson AGX Xavier by pram on Sunday May 03, 2020 @06:12PM (#23062284)
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

Re:Jetson AGX Xavier by p1necone on Sunday May 03, 2020 @06:28PM (#23062411)
> 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.

Re:Jetson AGX Xavier by qubex on Monday May 04, 2020 @01:15AM (#23064787)
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).

https://getutm.app

Re:Jetson AGX Xavier by p1necone on Sunday May 03, 2020 @07:35PM (#23062788)
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.
Re:Jetson AGX Xavier by p1necone on Sunday May 03, 2020 @10:09PM (#23063874)
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.
Re:Jetson AGX Xavier by panny on Monday May 04, 2020 @02:31AM (#23065150)
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...

Re:Jetson AGX Xavier by ericvh on Monday May 04, 2020 @11:53AM (#23069486)
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.

Re:Jetson AGX Xavier by threeseed on Sunday May 03, 2020 @06:25PM (#23062391)
You could spin up an AWS ARM instance in about 30s.

Or just have Jenkins etc trigger the launch of one when your build job needs it.