When Ampere partnered with Debian, this caught our eye. We were aware that our current ARM cloud provider was soon ending support for arm64 servers (which we use for our build daemons).
At Kali Linux, one of the things which is important to us, is that we prefer not having to cross-compile our ARM binaries that we ship in our Kali packages. There are various reasons as to why, some of them are:
- With a huge list of packages, like the one we are maintaining (600+ at the time of writing), there will be a certain small percent that are not ready to be cross-compiled.
- We want to be able to run the upstream test suites as part of the build, and in many case the testing software assumes that you can natively run the binaries that you just built.
- We believe in “dogfooding” – we create an Operating System, that works on ARM. We want to use the OS, and the tools in it. We do this on ARM systems for our day-to-day work.
We reached out to Ampere to see if they would be able to help us out. We soon realised they have the same mindset as we do, ARM is the way forward. When developing Kali Linux, we treat ARM devices as “first class citizens”, just like we do with our “desktop” images (amd64/i386). There are many advantages to ARM, such as using less power (which means they don’t need cooling), lighter (handy when traveling to be on site or mailing devices to be a drop box) and cheaper devices (client doesn’t have to return the device!). These make really small form factor devices – which for doing penetration testing or red team exercises on site, expands the possibilities of where to hide various devices (imagination is the only limitation). This is why we try and give the same user experience regardless of the platform you are using Kali on.
This is why we have pre-generated images and build scripts for as many different devices as possible
Ampere has various community outreach programs, allowing as many different people as possible to interact with their hardware. The offerings are only expanding, and we now have a new permanent ARM home at Oregon State University’s Open Source Lab where we are building all of our ARM packages, with plans to move our ARM OS images to be built here too in the near future.
It is never a fun task having to re-build systems, but we have noticed a very large advantage of doing so. There was a huge increase in performance from using Ampere’s hardware. The change of environment was noticed straight away, without any changes to our configuration. Below is the first three packages we built and the time differences.
The results speak for themselves. Every package is now building drastically quicker. We also believe, with tweaking a few configuration we can gain even more of a performance increase. This is only possible by the increased RAM offering with OSUOSL. This will allow for OverlayFS to be used with
tmpfs (RAM file system) which will seamlessly reduce having to access any disk drives.
We are very grateful for Ampere who are now powering our arm64/armhf/armel package build daemons. We will be moving over our ARM images building machine, as well as exploring the opportunity todo various other general services (e.g. web servers) to them given their performance. We are delighted with the partnership. Thank you Ampere! This sort of partnership is what the open-source community is all about. And we are pleased as can be to have a partner like Ampere to rely on with such an important part of our build process.