[TUHS] Antoni Sawicki reports Locus (AIX PS/2 TCF) working on pair of emulated 486s

Bakul Shah via TUHS tuhs at tuhs.org
Tue Nov 24 15:17:14 AEST 2026


On Nov 20, 2026, at 6:34 PM, Larry McVoy via TUHS <tuhs at tuhs.org> wrote:
> 
> Some general comments.  vproc, like vnode, was a pretty cool concept.  I was
> a fan of this sort of thinking long before I knew of this work.
> 
> Why?  Because I hated large scale multi threading.  I went through the start
> of that at Sun and then saw it even more at SGI.  It's little stuff that 
> starts to add up.  SGI rearranged all their struct entries so that the ones
> that got used the most were right next to each other so if you faulted on
> one you might get the other.
> 
> I *hated* that.  It made cache lines the most important thing.  I've always
> liked looking at the data structures, if they are layed out well, you can
> see what people are thinking, what makes sense.  When you start putting 
> stuff next to each other for cache lines, you start to erode what makes
> sense.

Cache line are important for performance (hence the interest in
cache oblivious algorithms etc.). Perhaps a compiler can do such
placement (but probably not in C/C++).

> 
> And the fine grained locking.  Oof.  I really wanted data structure
> locking, imagine you could do 
> 
> struct some_name _needs_locking {
> whatever
> }
> 
> and the locking was just built into the struct.  If you have done
> threading work, you know this doesn't scale at all.  Locking at the
> item level doesn't work when you need locking at the linked list level.
> But I have always imagined a world where stuff like this would work well
> enough and you did the rest through Locus clusters.

Brinch-Hansen talked about this in his 1973 "Operating System Principles"
book and proposed a language construct e.g. A variable of type "shared T"
would only be accessed in a "critical section" which can be entered by
threads one at a time. For example,
	var v: shared T
	... 
	region v do <stmt> ...

He pointed out how two critical regions can deadlock and how one can
deal with them using conditional critical regions.

In Concurrent Pascal he encapsulated a shared variable and procedures
that operate on it in a new type "monitor". Very similar to Ada's
protected" types. [IIRC Ada folks consulted with Brinch-Hansen re
concurrency design]

Note that a unix kernel with its syscall interface is roughly similar on
a uniprocessor. But interrupts and signals complicate things! On a multi-
processor I suppose it is more like a set of monitors!

See
http://pascal.hansotten.com/uploads/pbh/Monitors%20and%20Concurrent%20Pascal.pdf

PBH later on focused on distributed systems (as shared var designs don't
scale much).

> 
> I started BitMover, all those years ago, to try and do clusters. I wanted
> what Locus did, or what I think it did.  I wanted coarse grained SMP where
> it wasn't so fine grained nuts, it was just we'll put a few locks in and
> get it to scale to maybe 4 cpus, maybe 8, probably not 8.  Then you do
> the cluster thing and get that to scale to orders of magnitude better.
> 
> I didn't get what I wanted, yeah, we got clusters but they are just a 
> bunch machines sort of loosely connected, nothing like the Locus work.
> 
> It's one of my great regrets that this work didn't take off like the
> vnode work took off.  We could be living in a very different world,
> imagine that this got put back into Unix and lots of people worked
> on it.  
> 
> On Mon, Nov 16, 2026 at 06:06:32PM -0500, Clem Cole via TUHS wrote:
>> below
>> 
>> On Sun, Nov 15, 2026 at 11:24???PM Charles H. Sauer via TUHS <tuhs at tuhs.org>
>> wrote:
>> 
>>> From
>>> https://virtuallyfun.com/2026/11/15/aix-ps-2-1-3-on-qemu-w-x11-and-networking/
>>> :
>>> 
>> Wonderful == what great memories.
>> 
>>> 
>>> "TCF (Transparent Computing Facility) is the single system image that
>>> Locus built for AIX PS/2 and AIX/370: several machines work as one Unix
>>> system, with one file tree and processes that can run on, or move to, any
>>> of them.
>>> 
>> In case it wasn't clear,  the 370s and PS/2 were in the same cluster, and if
>> you had a binary that required specific hardware, TCF would ensure that it
>> ran on a node that had it.
>> 
>> 
>>> "TCF works! Two LEMU VMs as one Locus TCF cluster: [screenshot]
>>> 
>> Yep -- it does.   Next trick: get AIX/370 running on Hercules and add it to
>> the cluster.
>> 
>> BTW, a cool party trick we taught the sales folks to do at trade shows.
>> Have a pair of PS/2s in the booth as part of a cluster, boot a third into
>> DOS, and clear its disks.  Put the AIX PS/2 boot floppy in and reboot, and
>> tell it join the cluster.  After joining, its disk would slowly be
>> replicated so it no longer had to reach across the network to get binaries
>> for an exec.
>> 
>>> 
>>> "X11 from another node! From site 1, TCF???s on aixps2b runs X apps on site
>>> 2, with no rsh and no login. X11 shows their windows back on site 1:
>>> [screenshot]
>>> 
>>> "What I couldn???t do: find IBM???s TCF commands (clusterstart and friends),
>>> which came as a separate install, so I wrote small stand-ins."
>>> 
>> I can't help with the original IBM commands, as I never worked on or had
>> access to that codebase, but assuming I can read an old 4mm TNC tape, I
>> might have newer versions of similar functions [Roman and I were carefully
>> firewalled from Bruce and the IBM team.  We could share architecture and
>> debated ideas, but we were trying to be very careful with what IBM owned
>> and what LCC owned, and the source trees lived on different computers at
>> different sites].
>> 
>> So anything I find would have to be backported to TCF, which used different
>> data structures and core kernel integration [*i.e*., TCF was embedded
>> throughout the AIX kernel (which ISTR was mostly a BSD-like system); while
>> TNC was based on vproc, which did to the kernel and process technology what
>> vfs did for file systems; we had gotten smarter by then].    If TCF was
>> 'Version 2' of Gerry's 'Locus' vision that he started at UCLA on the
>> PDP-11/70 and later Vaxen, TNC was 'Version 3.'
>> 
>> 
>> Clem
> 
> -- 
> ---
> Larry McVoy           Retired to fishing          http://www.mcvoy.com/lm/boat



More information about the TUHS mailing list