● postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vend>
Active: active (running) since Sun 2022-02-13 06:56:50 EST; 1s ago
Process: 1861715 ExecStartPre=/usr/libexec/postgresql-check-db-dir postgres>
Main PID: 1861722 (postmaster)
Tasks: 8 (limit: 9510)
Memory: 15.6M
CPU: 262ms
CGroup: /system.slice/postgresql.service
├─1861722 /usr/bin/postmaster -D /var/lib/pgsql/data
├─1861746 postgres: logger
├─1861752 postgres: checkpointer
├─1861753 postgres: background writer
├─1861754 postgres: walwriter
├─1861755 postgres: autovacuum launcher
├─1861756 postgres: stats collector
└─1861757 postgres: logical replication launcher
Feb 13 06:56:50 five systemd[1]: Starting PostgreSQL database >
Feb 13 06:56:50 five postmaster[1861722]: 2022-02-13 06:56:50.>
Feb 13 06:56:50 five postmaster[1861722]: 2022-02-13 06:56:50.>
Feb 13 06:56:50 five postmaster[1861722]: 2022-02-13 06:56:50.>
Feb 13 06:56:50 five postmaster[1861722]: 2022-02-13 06:56:50.>
The biggest problem I had was remembering the name of the Fedora PostgreSQL package and that I had to initdb before starting the service. If the Arm CEO really believes software compatibility/availability is Arm's moat then I'm afraid he's in for a big shock.Any idea whether distros are planning to move towards the upcoming RVA22 profile or are they going to remain on GC?
https://www.cnx-software.com/2022/02/13/arm-or-risc-v-mangop...
https://www.cnx-software.com/2021/12/30/sipeed-lichee-rv-ris...
There are also the expensive dev boards from SiFive as well as the softcores from zepan. I think Alibaba and Rockchip will be available soon as well
Jean-Luc's website is great for tracking this space:
The growth of RISC-V will come from the innovation that the freedom allows. Literally anyone looking to design their own core from scratch will consider RISC-V and many have chosen it (Rivos, Tenstorrent, Esperanto Technologies, Alibaba, and many others I forgot).
EDIT: typos
- 2 x HiFive Unleashed
- 2 x HiFive Unmatched
and on the shelf:
- Beagle V Beta (they decided not to proceed)
- PolarFire
- various FPGA-based RISC-V impls, notably a Lattice running PicoRV32
my understanding is that would be a gamechanger because many people would be exposed to it. right?
There was a run of ~ 5 million AllWinner chips and Beagle packaged one into a board which I have, which would have sold for sub $200, but they decided not to pursue the idea.
Debian is almost entirely ported to RISC-V and it's been the biggest early adopter.
96% of the packages are ported: https://wiki.debian.org/RISC-V#Progress
What is missing is powerful and inexpensive CPUs. (Easier said than done)
Edit: I am mistaken, thanks everyone for educating me.
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1dSee AMD's SSE5 vs Intel's SSE4 conflict in x86 - both have instructions that the other doesn't have, and some that both have, and, from what I understand, even the instruction formats conflict.
One cannot easily make an x86 extension because there are approximately ~3 entities on the planet allowed to make x86 extensions.
I wouldn't be surprised if Sony/Microsoft did too for their consoles.
It's doable if you have enough money to get AMD or VIA to make you a one-off.
There is the idea of profiles, i.e. a single nice name for a group of extensions so that there's something one could provide a precompiled binary for, but I don't know what, if any, are RISC-V's plans for that.
Profiles. See RVA22.
It'll likely work much the same way for RISC-V, eg. in Fedora we require that the C (compressed) extension is supported, otherwise the distro won't boot, and things like the vector extension will probably be used only by specialized math libraries and the like.
It's a problem that already exists right now.
If you compile code on a machine with SSE or AVX and run it on an old Pentium, does it crash?
I had a fun bug once running ARM code that had some NEON in it and it would crashed on Scaleway's VPS bc their servers ran chips that didn't have NEON implemented
This doesn’t make sense, though. If you have something in your instruction stream that you don’t understand, it would be insane to do anything but fault immediately, unless the instruction is some sort of optional feature such as a hint or security mechanism where there is no real behavior associated with it. I mean ARM has this “capability” too by virtue of a fixed length instruction set but it doesn’t do anything with this like you’re describing.
Yes. Or it leaves them unused on the machine with avx.
For short runs of instructions, the overhead of fallback selection is larger than the overhead of using the least common denominator. For large functions, fallback selection is done by selecting specific functions after benchmarking.
Things like OpenJDK, pixman, nss, ffmpeg.
To this day writing ARM lambdas on AWS has its own gotchas.
Idk, I think their CEO has a point, it's just that it might be a short lived one given how much money Chinese companies are throwing at risc V.
The good news is even if the CPU is weird the C compiler is likely to be clang and the OS is likely to be some Linux/glibc variant. A lot of the old porting challenges had to do with OS and compiler differences.
Even today, getting random debian packages running on a raspberry pi, I've hit issues of SIGILL due to packages being compiled with the wrong compiler for my CPU...
How long does it take until we have server-side Ubuntu Linux and staple applications like PostgreSQL humming nicely on RISC-V? It does not matter if RISC-V has less ported software today, as long as there is clear roadmap when this advantage of ARM will be gone.