News for hackers. Stuff that matters.
Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by coredog64 on Sunday September 04, 2016 @04:34PM (#12426568)
What is the value in continuing to support Alpha, SGI, and PA-RISC?

Were they cool in their day? Sure. But the consumer router you use to hook up an O2 or an Octane to the internet has a more powerful MIPS CPU.

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by notaplumber on Sunday September 04, 2016 @04:37PM (#12426585)
There have been many advantages to running on different platforms, which have various quirks.. different endians, page sizes, strict alignment requirements, stack-grows-up machines (hppa).

It also helps to have systems that are slow or have low memory, occasionally they hit bugs that are unnoticed on modern hardware.

Alpha may have been interesting in that it had some peripheral similarities to PC machines, but were actual 64-bit computers in the 90s. For kernel driver hackers, popping in a PCI network card that was probably never tested on anything besides a x86 PC, getting it to pass packets, and then making it your home firewall, was a thing of beauty.

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by danieldk on Monday September 05, 2016 @02:40AM (#12428549)
There have been many advantages to running on different platforms, which have various quirks.. different endians, page sizes, strict alignment requirements, stack-grows-up machines (hppa).

I think that trying 'oddball' platforms indeed help shaking out bugs. But if that's the goal (rather than supporting the five users that still use such hardware), wouldn't it be more attractive to build pseudo-platforms in an emulator that simulate other architecture choices, and run it on fast and easy-to-get x86_64 hardware?

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by IcePic on Monday September 05, 2016 @03:42AM (#12428741)
You don't find races and bugs on emulators the same way as on real hardware. Also, if you do find a bug in your emulated environment, how much time would you spend wondering if the emulator is bad or your code? Also, there is a real chance that the emulator would let stuff pass (like allowing code make memory or bus access on odd address or some other restraint) which really shouldn't be allowed and you would not notice it.
Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by kristopolous on Sunday September 04, 2016 @07:55PM (#12427305)
you interested in one? I got openbsd and openvms disks for you and the machine itself. You can have that beauty again. You can put it next to the HPPA you'll be getting as the door prize.
Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by notaplumber on Sunday September 04, 2016 @09:15PM (#12427556)
That's tempting, but I'm probably not nearby. If you're really offering hardware, SCSI disks etc. OpenBSD developers surely might jump at the chance.

http://www.openbsd.org/want.html

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by bch on Sunday September 04, 2016 @04:40PM (#12426606)
I think of machines like these (disparate architectures (endianess, buses, processors)) as sort canaries, or watchmen for Good Code. NetBSD (my preferred OS) is the same in supporting multiple architectures with one codebase, and I like to think it strengthens the operating system for all platforms.
Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by hapless on Sunday September 04, 2016 @05:38PM (#12426850)
An Octane is still much more powerful than your average consumer router. Don't underestimate the value of memory bandwidth.

That said, the real reason these platforms continue to exist because volunteers continue to maintain them. You would have to ask those individuals what value they derive from the hobby.

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by eb0la on Sunday September 04, 2016 @07:35PM (#12427248)
There are a lot of 10+ year old pa-risc machines out there than cannot be replaced. I remember an optic fiber network currently in use that had embedded pa-risc in underwater equipment, which means they had to be under maintainable for the 25 years of useable life of the cable.

If anyone knows some similar example please let us know.

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by kev009 on Sunday September 04, 2016 @07:42PM (#12427269)
Usually this comes coupled with a period-correct OS, i.e. HP-UX.

Yes, you could do an image loader for HP-UX bins on another OS, but that level of technical competence is rare.

The reason why OS people do ports - portable software is good software. Avoiding ISA monoculture avoids shortcuts in kernel architecture. Some ISAs (alpha, sparc64) easily trigger invalid assumptions on ordering, alignment, endianness, etc improving overall quality. Alternative archs are also a great way to learn about areas of the system that are "done", so you can go fix and improve the things that were assumed to be "done" once you have requisite background.

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by crest on Monday September 05, 2016 @04:43AM (#12428960)
Running on such systems keeps the developers honest. No mass produced CPU implements as aggressive visible memory access reordering as Alpha AXP CPUs and SPARC faults on unaligned memory accesses while other platforms "just" take a performance hit.
Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by justin66 on Sunday September 04, 2016 @05:31PM (#12426812)
> But the consumer router you use to hook up an O2 or an Octane to the internet has a more powerful MIPS CPU.

Which consumer routers have 64-bit MIPS CPUs? I thought they'd mostly settled on mediocre 32-bit CPUs.

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by hapless on Sunday September 04, 2016 @05:39PM (#12426853)
The Ubiquiti "EdgeRouter" series features Cavium Octeons. They're moderately fast MIPS64 SoCs with hardware offload for a lot of common network operations.

OpenBSD does have a port for the ER series, but it's separate from the SGI MIPS ports:

https://www.openbsd.org/octeon.html

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by justin66 on Sunday September 04, 2016 @06:37PM (#12427059)
How good is that edgerouter hardware? The price is pretty attractive.

(I just realized that's a pretty subjective question but I actually am interested in the opinion of someone who has interest in the odd corners of openbsd)

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by rufius on Sunday September 04, 2016 @06:57PM (#12427132)
I have one for my gigabit connection at home and quite like it. It's able to hit about 933mbps to WAN->LAN which is important.

Note: I don't use OpenBSD on it, just the default OS which is a custom roll of Debian.

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by aomix on Sunday September 04, 2016 @07:28PM (#12427227)
It's worth noting that hitting that performance relies on hardware acceleration not available on OpenBSD. I've read it can still manage ~100 mbps on OpenBSD which should be good enough for most people. But keep that in mind if you want serious routing performance and OpenBSD.
Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by justin66 on Sunday September 04, 2016 @09:58PM (#12427671)
Is that a hardware acceleration of some portion of the network stack that's not carrying over to OpenBSD?

It's certainly not a problem for me if that's really just a limit on bandwidth, and not some kind of additional CPU load or network latency.

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by aomix on Monday September 05, 2016 @12:24AM (#12428104)
I believe the router relies on a binary blob that lets EdgeOS (based on Vyatta which is based on Debian) offload routing to some specialized hardware.

I run a OpenBSD router in a PC Engine Apu1d and it's more than fast enough. I can hit 700+ mbps on iperf with a basic pf rule set. Since OpenBSD is in the middle of updating their network stack to enable SMP I'd bet that number will rise with the next couple releases. I found mailing list posts from a year ago that have the iperf benchmarks of the apu1d right at 500 mbps. I'm interested to see if the network changes that landed in 6.0 will mean a measurable difference. This is entirely academic on a 30 mbps connection but I like it when numbers change.

Re:OpenBSD: Use the space freed up by sparc and zaurus to im... by ams6110 on Sunday September 04, 2016 @09:53PM (#12427654)
The value is probably that there are OpenBSD developers who want to continue supporting these platforms.