After a bit of wrangling of hardware logistics and with the FreeBSD Foundation purchasing a box, a Tyan POWER8 evaluation server appeared. Nathan Whitehorn started poking at it and managed to get a basic "hello world" going, but stalled on issues with the Linux KVM virtualisation environment.
Fast forward a few weeks - he's figured out the KVM issues, their lack of support for some mandated hypervisor APIs and other bugs - FreeBSD now boots inside of the hypervisor environment and seems stable enough to do development on.
He then found the existing powerpc pmap (physical memory management) code wasn't very SMP friendly - it works fine on one and two CPU powerpc machines, but this POWER8 evaluation board is a 4-core, 32-thread CPU. So a few days of development went by and he rewrote most of the pmap code to be much more fine grained locked and scale much, much better than the existing code. (He also found the PS3 hypervisor layer isn't thread-safe.)
What's been done thus far?
- FreeBSD boots inside the hypervisor environment;
- Virtualised console, networking and storage all work;
- (in progress) new, scalable pmap implementation;
- Initial support for the Vector-Scalar Extension (VSX) that's found on POWER7 and POWER8.
Now I kind of want some larger POWER8 hardware.
This comment has been removed by the author.
ReplyDeleteYo how about a 8286-42A?
ReplyDeleteIBM /does/ have a loaner program that provides free access to POWER8 servers for software development.
http://www-304.ibm.com/partnerworld/wps/pub/systems/vlp
Hi! We looked into it, but unfortunately the programme only gives us VM access on a subset of the CPUs and CPU time. That's fine for application porting, but not for bringing up an OS. :(
Deleteyes ibm have a loaner program that provides free access to POWER8 servers for software development.IBM /does/ have a loaner program that provides free access to POWER8 servers for software development.
ReplyDeleteBhoomiBazaar
OPenBSD is doing some work on this now. Perhaps both of you - along with NetBSD - could make the porting and setting up of the OSes much easier as a team.
ReplyDeleteAny initiative to support OpenBSD in bare-metal POWER8 based machine?
ReplyDelete