ETA:
You don’t incorrectly claim that the Soviet Union was ever ahead of the United States in computing, but you use similar examples to some people who do. If so, you should appreciate the accomplishments of Soviet computer engineers in the proper context. It produced some successful machines that were not based on Western ideas, but it was always behind. From your reference to the BESM-6 and the Soyuz mission, you might have heard this myth from someone like Gavin Mendel-Gleason. (It seems to be amplified by modern-day Communists, who want to believe the Soviet Union really was the technological marvel its propaganda claimed.) It seems to trace back to an especially uncritical reading of Boris Malinovsky’s Pioneers of Soviet Computing that goes beyond even the claims the author made. Typically, it says that the BESM-6 was completed in 1965, was the fastest computer in the world at the time, and that during the Apollo-Soyuz joint mission (in 1975!) completed a task thirty times faster than American computers. At least the first two of these claims are incorrect. The third is uncertain (It comes from combining two ambiguous sentences from Malinovsky’s book.) and irrelevant even if accurate.
The BESM-6 completed its design work in 1967 and went into production in 1968. Malinovsky says, “The BESM-6 prototype was tested in 1965; in 1967, the first manufactured model had its trial run.” (I’ll be generous and compare to American machines that were in production before 1965.) It ran up to 1 MIPS, although only for a certain subset of single-address instructions, at a clock speed of 10 MHz. In comparison, the IBM 7030 Stretch, built in 1961, already ran at 1.2 MIPS (although the instruction sets weren’t directly comparable). In 1964, the CDC 6600 supercomputer was two to three times faster than the BESM-6 would be when it was finished in 1967, running at the same 10 MHz clock speed.
By 1975, when the Apollo-Soyuz mission took place, the CDC STAR-100 supercomputer, one of the first to support vector instructions, ran at 100 MFLOPS, one hundred times faster than the BESM-6. NASA just didn’t happen to use one for that particular mission. This allowed the Soviets to claim a propaganda victory, although Boris Malinovsky, the source for this claim, is ambiguous about what he is actually comparing, and gives no citations. Even on a favorable account, the Soviets were continuing to build ten-year-old supercomputer in 1975—Malinovsky actually says these calculations were done by “a new computer complex that included a BESM-6 and other domestic high-speed computers”—over a time period when American computers got thirty-three to fifty times faster than they were in 1965.
The history of Soviet computing is not going to make any sense to someone who mistakenly thinks that the Soviet Union was anywhere close to the United States in computing in the 1970s, much less that it was far ahead.
Original Answer
I highly recommend Jimmy Maher’s series, “Tales of the Mirror World,” posted on the Digital Antiquarian blog. (Which anyone who scrolls this far down the page should definitely be reading!)
In particular, part II covers the inflection point, around 1970, when the Soviet Union gave up on designing systems like the BESM mainframe, which was technically on par with Western computers despite not being made from integrated circuits, but which the Soviet Union was unable to produce in quantity. The main problem it had was not in its computer designs, as the Rand Corporation noted at the time, but its ability to produce them. In 1970, the Soviet Union only had approximately five thousand computers.
The article gives as an example:
A popular story that circulated around Western intelligence circles for years involved Viktor Belenko, a Soviet pilot who went rogue, flying his state-of-the-art MIG-25 fighter jet to a Japanese airport and defecting there in 1976. When American engineers examined his MIG-25, they found a plane that was indeed a technological marvel in many respects, able to fly faster and higher than any Western fighter. Yet its electronics used unreliable vacuum tubes rather than transistors, much less integrated circuits — a crippling disadvantage on the field of battle. The contrast with the West, which had left the era of the vacuum tube behind almost two decades ago, was so extreme that there was some discussion of whether Belenko might be a double agent, his whole defection a Soviet plot to convince the West that they were absurdly far behind in terms of electronics technology. Sadly for the Soviets, the vacuum tubes weren’t the result of any elaborate KGB plot, but rather just a backward electronics industry.
The Ryad project that began in 1970 marked a departure from the BESM-6, in that it was a copy of the IBM 360. It would not be the last: Leo D. Bores, an American surgeon who saw the Agat microcomputer called it a copy of the Apple II, and a bad one. DEC was aware that the Eastern Bloc was copying its designs, and began etching messages in pidgin Russian into their CPUs, where they would show up on X-ray scans. One of them was intended to say, “CVAX: When you care enough to steal the very best.” The East German team reverse-engineering the CPU, either unfamiliar with the Hallmark greeting-card slogan the Americans were riffing off of, or wanting to flatter their Russian overlords, told them that it said, “Why steal? You already have the best.” Similarly, the KP580BM80A is, as the name suggests, a copy of the Intel 8080.
Up until the 1970s, the Soviet Union had sometimes been able to buy chip-fabricating equipment from the West, but the Carter and Reagan administrations put export restrictions on American technology that ended those transactions. Starting in 1970, the Soviets began trying to split up the design and manufacturing of different computer components among its Warsaw Pact allies.
There was at least one locally designed computer of the ’80s that deserves mention, however: the Electronica BK-0010. Its CPU was compatible with the instruction set of the American PDP-11, but was an original design, and the machine was a 16-bit personal computer at a time when most American home computers were still 8-bit. It cost one-fifth as much as the Agat, although that meant there was always a long waiting-list to get one, and some people instead tried putting one together from kits. It was created to fulfill a promise by the new Soviet Premier, Mikhail Gorbachev, to put a computer in every classroom.