During Linaro Connect there was a possibility to play with ThunderX2 workstation. I remember that Arnd Bergmann was comparing speed of kernel compilation with his AMD Threadripper workstation.
Test was simple — checkout 4.18 source, use arm64 defconfig and do build of ‘Image modules’ with as many threads as you have cpu cores. He did several builds with limiting to one cpu, to disable cpu threads etc but idea stays the same.
Dual socket ThunderX2 (28 cpu cores, 4 threads per core iirc) did that in about 2 minutes. So did Arnd’s Threadripper machine.
So I decided to check that on my local hardware. Mustang needed 38 minutes, my i7-2600K based desktop did that in 9 minutes 20 seconds.
For comparison: I was told that Synquacer with it’s 24 Cortex-A53 cores does that in about 16 minutes.
Is it fast? Do not think so. But who would assume that retro hardware will be fast…
You probably know that I am fan of retro computers. Those from 80s, 70s and older ones. And for quite a time I told that I do not plan to run retro machines at home. But it has to change.
Due to some work things I am going to run Mustang again. But where is retro in it someone may ask…
Applied Micro Mustang uses X-Gene cpu. And this was first (or one of firsts) AArch64 CPU. I got mine over four years ago. It is obsolete in some areas (SBSA level 0 anyone?) but still works. And is hard to replace if you do not have spare few thousands USD 🙁
Someone may say that I can buy Synquacer. Sure. 1160$ for mainboard in some box. With rotating plates which would go away on first day, not needed graphics card and just 4GB of memory. Good luck with finding ram sticks which will work. I heard rumours that there is a store somewhere which keeps a pile of those. And then you end with 24 slow cores which may be good at kernel compilation but then suck at linking.
So now I am on a hunt for 2x16GB DDR3 ECC RDIMM sticks for Mustang. And some SSD as using rotating plates for development does not have sense in 2018.
Maybe one day someone will finally realise that 500 USD is this magical point where hardware can be bought in “just go and buy” fashion. So we, developers, will be able to write to our managers “Hey, there is this arm64 mainboard for 499$” and hear “just go, buy and expense”. Memory, storage, case can be other expense raport (or even collected from spare parts at home).
But until then I will have to live with my retro server.
Few days ago Linus Torvalds added code of conduct to the Linux kernel. And then lot of discussions started.
I had no plans to take part in any of them. But last week I was dragged into one of them and it was not fun. Turned out that people I know and trust when it comes to technical discussions (never met most of them) do not quite understand the need for such.
There are many “code of conduct” documents. Often they differ a lot. I have my own and it is probably the shortest one:
Do not be an asshole. Respect the others.
Simple. I do not care which gender people have when I speak with them (ok, may stare at your boobs or butt once) nor their sexual preferences. Colour of the skin does not matter as most of my friends I first met online without knowing anything about them. Political stuff? As long as we can be friends and do not discuss it I am fine. Etc etc.
It works on conferences. And in projects where I am/was involved.
Someone may say that part of it was shaped by working for corporation (is Red Hat corpo?) due to all those no harassment regulations and trainings. I prefer to think that it is more of how I was raised by parents, family and society.
When I started using Linux on my desktop there was only Mozilla based browsers which were usable. They had different names: Galeon, Firebird, Phoenix, Mozilla Suite and finally Firefox.
It worked better or worse but did. There were moments when on 2GB ram machine browser was using 6 gigabytes (which resulted in killing it). Then were moments when it started to be slower and slower so I moved to Google Chrome instead.
But still — Firefox had all those extensions which could do insane amount of things with how browser looks, how it works etc. But then Quantum came and changed that. Good bye all nice addons. Hope we meet in other life.
But what it has with question from post title? Simple, little, annoying thing: “Ctrl-Q” shortcut. Lovely one which everyone is using to close application they work with. Not that it does not work — it does. Perfectly. And this is a problem…
Imagine you have few browser windows opened. On different virtual desktops. With several tabs per window. Some open notes there, somewhere some not-finished wiki edit etc. Normal day. And then you want to close ‘funny kitten’ tab and instead you close all those windows/tabs, drop not finished notes/edits etc. Just because your finger slipped to “Ctrl-Q”.
For years most of users I know used one of those “disable ctrl-q shortcut” addons to NOT close all browser windows when your finger slips a bit when you wanted to close a tab (with “Ctrl-W”) or switch a tab (with “Ctrl-Tab”). Since Quantum it is not possible at all as there is no way how addon can alter shortcuts. Or how user can alter shortcut. No Way At All.
And then it appears that “Ctrl-Q” problem exists only under Linux. Under Microsoft Windows developers of Mozilla Firefox decided that “Ctrl-Shift-Q” will be a good workaround for the problem. Something similar under MacOS. But Linux still on “Ctrl-Q”.
There is a bug report opened for it but there were 4 major releases of Firefox without any change I highly doubt that anything will change in this regard.
Slowly thinking of making COPR repo where I would provide Mozilla Firefox builds with one patch: removing that “Ctrl-Q” shortcut…
You may noticed that I am trying to visit computer museums when there is a chance. Recently I visited Apple Museum Poland in small village near Warsaw, Poland.
Museum is open during weekends and visits need to be arranged earlier (as it is in private house). It is easy to get there (Google Maps or other navigation) and totally worth it. Never mind are you an Apple fan or not.
What’s there? Apple computers from replica of Apple I, through misc Apple II/III models to Lisa, Macintosh machines, Powerbooks, iMacs etc. Some clones too. Some old terminals. Apollo Computer Graphic Workstation. And that’s not all.
There is a lot of attention given to details. Same monitors as in original commercials. Same setups.
As ARM developer I could not notice that there was a shelf filled with first ARM powered Apple devices: Newton in several models.
Computers… What about servers? How many people remember that Apple was doing servers? Big, loud machines.
Of course like each museum that one also have some pearls:
There were also several non-Apple machines there. From that Apollo Computer Graphic Workstation to Franklin ACE 1200 (and some other Apple II clone). Also some industrial solutions.
There were several other computers, accessories and peripherals exhibited. Lot of interesting stories given by museum owner. Incredible amount of stuff not available outside of Apple dealers network (like official video instructions on laserdiscs).
I could add more and more photos here but trust me — it is far better to see it with own eyes than through blog post.
Again I highly recommend it to anyone. Never mind are you an Apple fan or just like old computers. Just remember to go to Apple Museum Poland on Facebook first to arrange a visit.
Earlier this month I got a new task at Linaro: to take a look at LOCI project. How they are building container images with OpenStack components and does it work on AArch64. And fix it if it does not.
So I went. Fetched code, started run. Looked at failures, did some first hacks (wrong and bad ones) and then discussed with Sam Yaple (one of core developers in LOCI project) about those. And went more proper way.
Turned out that whole project is quite simple. You build ‘requirements’ image which works as a kind of cache for Python packages and then use it to build rest of images. Took me some attempts to get it built. Mostly because some modules are available as binaries when your target is x86-64 architecture (think ‘numpy’, ‘scipy’, ‘scikit-learn’).
So first good patch was adding some extra headers to get those packages compiled. Then handling of ‘numpy’ and ‘scipy’ got several versions.
In meantime I created ‘loci-base’ image to not populate LOCI repo with AArch64 details like extra Linaro repo (ERP:18.06) with newer version of libvirt or ceph packages. It also has all packages required by LOCI already preinstalled to cut some seconds from build time.
Then I added building of images into Linaro CI where we have multiple cpu cores machine available. It shown that ‘scipy’ is a nightmare package to build if your processor does not have 10GHz clock… So I started checking are were able to build all images without building ‘scipy’ (and ‘scikit-learn’) at all.
Turned out that we can as those packages were requested by ‘monasca_analytics’ project which we do not have to care about. Build time got cut by about half (on old 8 core machine).
Now all my patches got merged. Images build. Next step? Verification by deployment.