* Re: Help Requested in Defeating Ring Buffer Software Patent
@ 1991-09-29 17:48 Howard Bussey
1991-09-29 19:05 ` Clarence Wilkerson
1991-09-29 19:51 ` Daan Sandee
0 siblings, 2 replies; 5+ messages in thread
From: Howard Bussey @ 1991-09-29 17:48 UTC (permalink / raw)
The SCOPE (and later KRONOS and NOS) operating systems on the CDC 6000
and 7000 series used a circular buffer for I/O. The control structure
was like:
struct CBUFFER {
int *first, *in, *out, *limit;
};
first and limit pointed to the first, and 1 past the last "words" in the
buffer (so the size of the buffer is (limit - first)).
in and out pointed to the next available word for writing and reading,
respectively.
in==out implied the buffer was empty. in+1 == out (in the equivalence
class implied by CBUFFER) meant the buffer was full.
The constraints were first <= {in|out} < limit.
This was used to allow a program to read or write data (even
continuously!). Most of the operating system ran in peripheral
processors (PPs). When an I/O operation was started, with the CIO
(Combined I/O) service, a PP was allocated to the request. It would
poll (yes, poll!) the CBUFFER structure. When (in != out), the PP would
transfer data. So the CBUFFERs were used for inter-processor
communication. Actually, the PPs were only 1 processor, which
time-multiplexed itself each microsecond among 10 or 20 different
contexts, resulting in what looked like 10 or 20 individual PPs (each
with 1 microsecond instruction cycle times).
The SCOPE/KRONOS/NOS operating system may have allowed several
simultaneous and independent transfers. I do know that tape-tape copies
could keep the tapes spinning continuously.
[N.B. IMHO, the 6600 was the first RISC machine! please, discussion
directly to me]
--------------------------------------------------------------
Howard Bussey <howard@thumper.bellcore.com>
Bellcore Room 2P-288/445 South Street/Morristown NJ 07962-1910
voice: +201 829 44 79; fax: +201 829 58 88
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Help Requested in Defeating Ring Buffer Software Patent
1991-09-29 17:48 Help Requested in Defeating Ring Buffer Software Patent Howard Bussey
@ 1991-09-29 19:05 ` Clarence Wilkerson
1991-09-29 19:51 ` Daan Sandee
1 sibling, 0 replies; 5+ messages in thread
From: Clarence Wilkerson @ 1991-09-29 19:05 UTC (permalink / raw)
Most interrupt drive io systems for Z80 's in the late 70's used ring bufferes of some kind. I'm
pretty sure the console io on the Heath-Zenith H89 used this, and the Mostek io modules did
also.
Clarence Wilkerson
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Help Requested in Defeating Ring Buffer Software Patent
1991-09-29 17:48 Help Requested in Defeating Ring Buffer Software Patent Howard Bussey
1991-09-29 19:05 ` Clarence Wilkerson
@ 1991-09-29 19:51 ` Daan Sandee
1991-09-30 21:02 ` Steve Jay
1 sibling, 1 reply; 5+ messages in thread
From: Daan Sandee @ 1991-09-29 19:51 UTC (permalink / raw)
This in response to Dave Goldblatt's request on the history of circular buffers,
and as comment on Howard Bussey's response.
Note I have set the followup to comp.sys.cdc, so we old CDC hands can go and
wallow in nostalgia without annoying the rest of the universe further.
There's still stuff that I don't know either that Dave would want to know,
i.e. the real first date, so this is a hint to Dave to keep reading this
newsgroup, as more details may turn up. -- Daan.
In article <882@salt.bellcore.com>, howard@thumper.bellcore.com (Howard Bussey) writes:
|> The SCOPE (and later KRONOS and NOS) operating systems on the CDC 6000
|> and 7000 series used a circular buffer for I/O. The control structure
|> was like:
|>
|> struct CBUFFER {
|> int *first, *in, *out, *limit;
|> };
[ excellent description deleted ]
|> .............. Actually, the PPs were only 1 processor, which
|> time-multiplexed itself each microsecond among 10 or 20 different
|> contexts, resulting in what looked like 10 or 20 individual PPs (each
|> with 1 microsecond instruction cycle times).
(not quite relevant, and not quite correct either. With 20 PPs, there were
*two* PP chassis each acting as 10 logical PPs in a slot-and-barrel
arrangement. Only the 6000 series ; don't know about 7000 series ; Cyber 70's
were the same but optionally had 7 PPs per chassis ; Cyber 170s from Model D
onwards had real hardware individual PPs).
|> The SCOPE/KRONOS/NOS operating system ....
Well, there's SCOPE, later known as NOS/BE ; and KRONOS, later known as
NOS. That's two operating systems.
The fact that both Scope and Kronos had circular buffers means that the
feature must be *very* old. After 1970, they weren't talking to each other.
In fact, lots of the Scope and Kronos development consisted of the two sides
(re)inventing the same wheels, though in a different order.
|> ..... may have allowed several
|> simultaneous and independent transfers. I do know that tape-tape copies
|> could keep the tapes spinning continuously.
At least in SCOPE, the CPU-resident program could set up TWO of these structs
(called File Environment Tables, or FETs), one for reading, one for writing,
using the same buffer, then fire up one PP for reading and one for writing.
The read PP would move the IN pointer, and the write PP would move the OUT
pointer, and the CPU program could sit back and watch. This mechanism was known
as pointer chasing. In this manner a tape-to-tape copy would proceed at full
tape speed. If there was a hitch (say, error recovery on read) the write PP
would find the buffer empty and give up. The CPU program would regain control,
wait for data to be available, and fire up the write PP again.
|> --------------------------------------------------------------
|> Howard Bussey <howard@thumper.bellcore.com>
Dave's original request was for any code before Oct 81. Well, I can find code
which I *think* I wrote around 1976. But the basic principle was in CDC
operating systems *at least* in the very early 1970's. Before my time, anyway.
I first heard of this method in late 1973. (I wonder, do I still have the
SCOPE 3.4 Handbook, dated 1972 or 1973, which describes this?)
Is Greg Mansfield out there ? or Dave Cahlander ? Or Seymour Cray, for that
matter : I don't think he invented it, but I'm sure he knows who did.
Daan Sandee sandee@think.com
Thinking Machines Corporation
Cambridge, Mass 02142
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Help Requested in Defeating Ring Buffer Software Patent
1991-09-29 19:51 ` Daan Sandee
@ 1991-09-30 21:02 ` Steve Jay
0 siblings, 0 replies; 5+ messages in thread
From: Steve Jay @ 1991-09-30 21:02 UTC (permalink / raw)
In <1991Sep29.195103.18362@Think.COM> sandee@Think.COM (Daan Sandee) writes:
>Dave's original request was for any code before Oct 81. Well, I can find code
>which I *think* I wrote around 1976. But the basic principle was in CDC
>operating systems *at least* in the very early 1970's. Before my time, anyway.
>I first heard of this method in late 1973. (I wonder, do I still have the
>SCOPE 3.4 Handbook, dated 1972 or 1973, which describes this?)
>Is Greg Mansfield out there ? or Dave Cahlander ? Or Seymour Cray, for that
>matter : I don't think he invented it, but I'm sure he knows who did.
The "Circular I/O" technique being discussed here was in the original COS
(Chippewa Operating System) for the 6600 in 1964. It is described in
the COS Reference Manual. If someone's life depends on it, I know where
I can get a copy of that manual.
Steve Jay
shj@ultra.com ...ames!ultra!shj
Ultra Network Technologies / 101 Dagget Drive / San Jose, CA 95134 / USA
(408) 922-0100 x130 "Home of the 1 Gigabit/Second network"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Help Requested in Defeating Ring Buffer Software Patent
@ 1991-09-27 10:41 Dave Goldblatt
0 siblings, 0 replies; 5+ messages in thread
From: Dave Goldblatt @ 1991-09-27 10:41 UTC (permalink / raw)
[ I apologize for the wide distribution (especially if you've seen it before),
but as this could conceivably affect a wide number of people, I figure
it's worth it. Flames to email, please. ]
I am looking for information which could be used to invalidate
a patent which covers one of the most basic techniques in software:
the ring buffer. Specifically, the patent is on the idea of using two
circular buffers in commonly addressable memory to queue pointers to
messages (also in shared memory) between two processors. One buffer
contains messages going in one direction, and the other buffer
contains messages going in the other.
The allegedly inventive feature is having one of the
processors tell the other processor the size of the ring buffers.
I'm looking for code or references to this technique written
before October 5, 1981. An example of dual processor communication
would be ideal, however, inter-process communication via this method
could also prove useful. I know of at least one network adapter which
violates this patent, and also of an Ethernet controller which does as
well, but neither are before the required date. I've also heard that
the CDC 6x00 line used this method -- details would be appreciated.
Any information will be GREATLY appreciated! For better
results, email will be appreciated even more so.
Thanks!
-dg-
--
"We go out in the world and take our | Dave Goldblatt [daveg@clearpoint.com]
chances / Fate is just the weight of | Subsystems Software Engineering
circumstances / That's the way that | Clearpoint Research Corporation
lady luck dances / Roll the bones.." - Rush
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1991-09-30 21:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-09-29 17:48 Help Requested in Defeating Ring Buffer Software Patent Howard Bussey
1991-09-29 19:05 ` Clarence Wilkerson
1991-09-29 19:51 ` Daan Sandee
1991-09-30 21:02 ` Steve Jay
-- strict thread matches above, loose matches on Subject: below --
1991-09-27 10:41 Dave Goldblatt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox