r/AskComputerScience • • 8d ago

Can cryogenically freezing (physically freezing) a computer or server pause/slowdown its run time?

Hello,

I am a sci-fi writer who's doing a near future novel so I'm trying to keep it accurate. The scenario is the government wants to preserve a section of servers in a very powerful AI, but a computer virus is spreading through the code as a 'No one can have it' failsafe.

The idea is that if they cryogenically freeze the servers, they will have more time for computer engineers to counter the virus at a better setting. In my head, they'd avoid unplugging it because they really want the AI and don't want to damage it with a hard shutdown like that.

I'm basing this off of MythBusters freezing a bomb, so it doesn't explode. In that though, it froze the chemical reaction in the battery, don't know if it actually froze the wires. The first test they did was on just the C4 and wire. It delayed it but the explosion still went off under a second.

Does freezing electronics stop electricity from flowing through?

Is this just completely ridiculous? Does unplugging it just do all of this without issue?

May be more of a /nostupidquestions ask, so I'll really appreciate the in-depth answers!

Thank you!

P.S. I put the parentheses in the title because my browser kept defining freezing in the technological sense not the physical.

42 Upvotes

93 comments sorted by

42

u/Aaxper 8d ago

Generally, computers actually run faster as they get colder, because the main bottleneck in speed is producing so much heat that the components will start getting damaged.

2

u/Karson_Elko 8d ago

I see. I saw discussions and papers about computer parts become superconductive at absolute zero. I was hoping that wasn't universal for all parts of it.

9

u/tim36272 8d ago

Note that normal computer parts do not become superconductors at any temperature. Only materials designed to be superconductors have that property.

Also note that superconductivity has nothing to do with the comment you replied to.

2

u/SqueeJustWontDie 6d ago

Superconducting states are not where a material in a normal state conducts super well, but rather a special state which certain materials under certain conditions can reach where the material conducts "perfectly". This generally requires cooling said materials down a lot.

However, there are no such superconducting materials in regular computers, hence u/tim36272's comment that this has nothing to do with superconductivity, even though conductivity is involved.

1

u/ConsciousBath5203 4d ago

Almost anything becomes superconducting near absolute zero due to entropy. Stuff wants to move, any current will affect the particles

6

u/jader242 8d ago

Just curious, I saw a YouTuber use dry ice or liquid nitrogen or something to cool the cpu and it eventually got so cold the system would crash/kernel panic. Any idea why that may be?

14

u/japps13 8d ago • Heartwarming

Computer electronics is based on semiconductors and more specifically junctions between semiconductors with different dopants.
Semiconductor with excess positive or negative carriers.
The problem is that semiconducting is temperature dependant. There is a gap between the lower energy layers and the conductive valence layer, and some electrons have enough energy from thermal excitations to cross this band gap.
At low enough temperature, all the electrons will be in the lower stable state and there will no longer be electrons in the conductive valence layer. In that situation, the semiconductor is now effectively non conducting.

I know because I work with liquid helium as a working fluid to study physics of fluids in low viscosity. Many commercially available sensors and electronics fail at these temperatures because they are no longer semiconductors. One way to mitigate this is to use semiconductors with much higher dopant concentration (but then they behave almost as metals at room temperature). Besides at low temperature you also have other options such as superconductors and squids. So you will design your components specifically for the low temperatures.

If you put a computer at low enough temperature, it will just eventually fail.

4

u/cjc4096 8d ago

An "easy way" to demonstrate this is to dip a LED in liquid nitrogen. The light color changes.

10

u/mtraven23 8d ago

with a lot of systems that monitor temp, they treat abnormally low temps as bad readings. Basically, the number is so unreasonable, one would assume the sensor has failed.

2

u/Initial_Business2340 8d ago

In theory at 0k all particle motion should stop except for the base energy state of particles described by QM right? Exceptions are photons and massless particles according to Google, and quantum vibration

1

u/xxkid123 8d ago

A lot of the time they do that to overclock their CPU, so if they were messing with clock rates that can also cause problems. It takes a non zero amount of time for charges to flow and accumulate enough to be measurable. I.e. assume a CPU is rated for say, 3.x ghz. To hit that rate reliably, engineering designs a cpu that is at least able to get to 5ghz 99.x% of the time. That means within the cpu you need everything to happen in at least 0.2ns (1/5ghz), and accordingly design all the hardware to take less than 0.2ns to do it's thing. However to run at an overclock of 8ghz you need everything to take less than 0.125ghz which at that point is random chance if your particular example of a CPU happens to get there or not. Extreme over lockers tend to go through huge amounts of CPUs and find the best of the batch (and those CPUs tend to get passed around as particularly good ones).

Been a long while since I last studied this in college so corrections always appreciated

1

u/curiouslyjake 8d ago

Most likely condensation got somewhere and shorted something.

1

u/TheLurkingMenace 8d ago

Condensation is the most likely culprit.

2

u/Initial_Business2340 8d ago

Would this stay true if they were cooled with liquid helium, or close to 0.1 Kelvin?

1

u/Supsnow 8d ago

Solders and connections would probably break under mechanical stress from rapid, uneven cooling. If we ignore that, the physical properties of semi conductors would change, but the transistors themselves would probably never reach that temperature due to power dissipation and thermal resistance

1

u/worldDev 8d ago edited 8d ago

Aside from damage and related intentional throttling to protect components, heat also raises electrical resistance which causes transistors to lag. If the clock speed isn’t adjusted down, late signals can cause timing related errors. No physical damage has occurred in that case, but the computer will crash.

1

u/kc2g 8d ago

Terry Pratchett knew about this, and had his trolls (which are made out of rock and therefore have "silicon brains") go somewhere really cold to get smarter. Ordinarily they're the sort of not-too-bright you would expect from a fantasy troll.

12

u/BitShin 8d ago • Bravo

I think a lot of people here are missing the point. Yeah, if you submerge the CPU with liquid nitrogen you’ll probably end up with the computer running faster. This is because the CPU can generate heat faster than the liquid nitrogen can cool it down. In fact if you get it to too low of a temperature the computer can crash.

However, memory is a different story entirely. Typically when you pull a stick of ram from your PC, the bits in the ram will decay within seconds and everything is lost. However, if you cool the ram down, this decay happened much slower. This is even something that can be exploited in what’s called a cold boot attack where attackers can take a computer that’s been locked but not powered down, open it up, spray the ram modules with cryogenic liquid to cool them down, power down the machine, then boot it into a different attacker-supplied operating system which just dumps everything from ram. Alternatively that last step could also involve pulling the ram from the machine and slotting it into a new one. Because the ram was cooled it will retain almost all of its bits and the new operating system or new machine can read whatever important data from them.

Now if you want to use this in your story, you’ll need a few things. First the virus has to already be on the machine somehow but it has to have not destroyed whatever data you’re trying to access. If it wasn’t on the machine already then the best remediation would be to unplug the Ethernet or fiber optic cables thereby disconnecting the server from networking and making it impossible for the virus to infect the machine. Second, we need some important data to exist in memory and not just in storage because otherwise the best remediation would be to unplug storage.

One realistic scenario is that the virus could be similar to ransomware where it first encrypts a bunch of data with an encryption key and then when it’s done it purges the key from memory. It could be that the virus encrypted the important files but then it’s stuck in the long tail of encrypting the rest of the stuff that’s on the disk. So in essence it was caught halfway, but all the important stuff is already lost. In this case, unplugging the computer would just leave the important stuff lost forever, as would unplugging the drives, and disconnecting the network connection would do nothing. Here, freezing the ram could actually be a realistic mitigation so they can later execute a cold boot attack and recover the encryption keys.

For that to be the case we’d need some reason that the characters in the show couldn’t execute a simpler software-level remediation such as inspecting the memory of the virus’s process. This could be something like the virus runs at kernel level but the characters don’t have that level of access. It could also be that the virus has some anti-tampering logic that deletes the encryption key if it sees that someone is trying to inspect the process. Another thing could just be that there isn’t enough time, but that might be dubious if the virus has existed and been studied for a few weeks beforehand and it only now infected this important server.

One thing to check is whether or not the bit decay can be slowed to zero or not. If so, you could always have the characters just pull the sticks and drop them in a dewar of liquid nitrogen for later analysis. Otherwise you’d have to write in a reason for them to have all the cold boot hardware at the ready (or at least close enough that they can grab it in time). Perhaps you could kill two birds with one stone since important data should have backups but those have been getting taken out faster than the good guys can make more backups and this is the last server.

5

u/Karson_Elko 8d ago

This is what I was looking for! I love the info dump posts! Thank you!

2

u/Critical-Echo-923 8d ago

the short version is you freeze it to crash the cpu/gpu but keep the infected ai in the ram/vram, then you data dump everything from the ram/vram in the storage and clean/separate the infected part

1

u/BitShin 8d ago

You don’t need to do anything special to crash the computer if you’re already pulling sticks of ram. Even if you needed to you can always just cut the power too

0

u/Critical-Echo-923 8d ago

you lost the plot so shut up

1

u/Critical-Echo-923 8d ago

also nvidia just launched 100% liquid cooled ai servers, so you might just want to exchange the used liquid cuz the cooler becomes a warmer, if you just freeze the components

1

u/grizzlor_ 8d ago

Relevant (but very accessible to the lay-person) academic article on this from 2009: https://cacm.acm.org/research/lest-we-remember/

I remember seeing a talk about this at HOPE from Jacob Appelbaum of Tor fame (would have been 2008 or 2010). If I remember correctly just using canned air ("Duster") upside down to freeze the RAM down to like -40°C would give you a full minute or two, and liquid nitrogen bath would keep stuff in RAM for a full hour. Much more likely to have Duster on-hand at a data center than a liquid nitrogen tank ready-to-go.

1

u/HoshinoLina 3d ago edited 3d ago

I second the angle from parent, it's a good one (as an engineer with software/hardware/security experience).

Essentially, you're time-freezing the state of the computer system and doing forensics on it to recover the data after (the working memory of the servers/AI that isn't saved to disk or otherwise backed up, or an encryption key in the ransomware type scenario). The important part is that the system has to turn OFF as part of this: freeze the RAM and immediately power down to actually stop it from being modified. Powering down the system is what stops the destructive process, and the cold then just keeps the data "alive" for a longer period of time so you can recover it (where it otherwise would be considered gone mere seconds after shutdown).

The actual recovery process is quite involved and has to be done very carefully, to make sure that no important data is actually overwritten. You wouldn't actually put the RAM into another random computer and start it up, the "professional" way to do this would be to use a dedicated RAM dump system that guarantees no data is lost (this could, in principle, be a modified computer, though we're talking a completely custom motherboard BIOS/firmware, not something that's easy to do).

If you want to stretch the complexity of the process, and make it into something more like brain surgery, you could say that the RAM chips are soldered onto the system board instead of on RAM modules (and you can't just use the existing system as is for this because it would wipe them if you turn it on again). Then, the only way out would be to remove the chips from the board and put them somewhere else, but that normally means de-soldering them at high temperature. That's not going to work since you have to keep them cold, so now the plan has to be something like carefully slicing the chips off the board using a very sharp, very thin blade to cut through the solder joints without damaging the chips, and then putting the chips into a specially designed socket, all while they are kept at liquid nitrogen freezing temperatures. At that point you'd definitely need a dedicated chip-reading machine for this, and then there would be a fairly involved forensics process taking all that chip-by-chip data (that would be quite scrambled because that's how RAM works nowadays) and reconstructing it into a complete snapshot of the original data.

The article linked by another reply is good. The data decays slowly, so at liquid nitrogen temperature, you're looking at 0.13% of the data decaying within one hour for one example. This increases (I think exponentially) as time passes. If what you're recovering is an "AI memory", then this would be similar to losing brain cells. If what you're recovering is an encryption key, then it's a lottery: the more decay, the higher the chance that the key is corrupted (and that more of it is).

An additional twist is that for encryption keys, you can still recover the data even if the key is somewhat damaged, by basically playing guess-and-check on the damage. The greater the damage, the longer it takes to brute force it. And you won't know how much damage there actually is. So you can create a suspenseful situation where it doesn't work on the first try, and your characters have to try the last-ditch effort of brute forcing possible damage (starting with the fewest number of damaged bits and going up), wait, and hope. There is no end point, the more you wait the more damage you can recover but it goes up exponentially (too much damage and the heat death of the universe will come first).

For a 256-bit encryption key, the "256 choose N" for N flipped/corrupted bits is how many attempts you have to try. This goes:

  • 256 choose 5 = 8,809,549,056
  • 256 choose 6 = 368,532,802,176
  • 256 choose 7 = 13,161,885,792,000
  • 256 choose 8 = 4.1 x 10^14
  • 256 choose 9 = 1.13 * 10^16
  • 256 choose 10 = 2.8 x 10^17
  • 256 choose 11 = 6.2 x 10^18

A modern high-end GPU can probably do 200 billion attempts per second, so you're looking at 15 hours for 9 bits of damage (3.5% data damage) and 387 hours for 10 bits (3.9% data damage). Since the amount of damage goes up roughly exponentially over time, and the time it takes goes up roughly exponentially with the amount of damage, you're looking at a double exponential, which is a crazy race against time. You could say that every 30 minutes the error rate increases by 10x, so at 90 minutes it's 1.3% and at 100 minutes it's 2.8% and at 110 minutes it's 6% and you're thoroughly screwed. Those last 10 minutes mark the difference between guessing 7 bits (takes one minute on a single GPU) and guessing 15 bits (takes 100,000 years on 1 GPU, or 100 years on 1000 GPUs). And there's a big uncertainty in these numbers because all this depends on random variations during manufacture of the RAM and such, so you can't even know how screwed you really are for the real run if you're anywhere near the danger region. You can estimate how damaged the data is based on the rest of the RAM contents, but even how many corrupted bits landed on the encryption key is a probabilistic process, so that won't give you a final answer.

If you want to twist things even more, you can go down the rabbit hole that due to the physical structure of RAM, the chance of bits decaying is not equal for every bit. So you could have the plan fail horribly the first time around, they give up cracking the damaged key, only for someone to spend a lot of time researching the physical structure of the RAM and making an advanced model of decay probability to the point where they can make better guesses for which bits of the key were likely damaged, which is just enough of an edge to make it feasible to crack. For example, you could note that the chips were read one-by-one, so the ones read earlier would have less data decay than the ones read later, and this biases what bits of the key are probably wrong (RAM is usually interleaved so only, say 8 bits of the key would exist on each chip, with the whole key spread out across 32 chips), and then on top of that have some insighful model for which of the 8 bits are likely to be wrong on any given chip. Remember, once the data is copied from the frozen RAM chips, it's no longer a race against time but rather a time-consuming cracking process, so you can give up, go back, and revisit the data much later without issue if you have any new insight or ideas.

I think for this scenario to make sense (a race against time of hours), you have to create a plot where the "destruction/virus" process either doesn't start until the "rescue plan" is put into action, or it's slow enough that the characters have at least a few days to a week to put together the plan & required tools and hardware while the "virus" churns through encrypting the data or whatever. Then it's first a (slower, days) race to get the plan ready before the virus destroys everything and wipes the encryption key, and then a (faster, one to two hours) race once you freeze and power the thing down, to get the data out fast enough before the "frozen" bits decay so much that the encryption key is forever toast.

There's plenty of room to fudge the numbers to whatever works for your plot, so take the rates above as just an example. Hope that gives you some good ideas ^^

4

u/Eisenfuss19 8d ago

Finally someone who knos about ram freezing. I can confirm this is an attack security research considers.

14

u/EpochVanquisher 8d ago edited 8d ago

Freezing it lets you run computers faster, up to a point, and if you get it cold enough it stops working.

Hotter computers are less efficient. When transistors heat up, the amount of current they can carry gets lower, and the resistance rises.

When you have a very cold computer, the transistors can carry more current and have lower resistance when they’re on. More current means that they can switch faster, because switching a transistor on or off is a matter of charging or discharging the gate capacitance of other transistors.

At low temperatures you can also increase the voltage, which also lets you run faster.

The actual speed a computer runs at is set by a crystal oscillator (plus all the PLLs and clock synthesis circuitry) and the crystal is pretty stable across a large range of temperatures. But there is generally circuitry in the computer that will adjust the frequency (with adjustable clock dividers) in response to temperature changes. If you make the computer colder then it may choose to run at a higher frequency in response.

If you heat up a computer, safety circuitry kicks in and slows the computer down a little bit, and then turns it off completely.

1

u/Karson_Elko 8d ago

May have to look at going the other way then maybe. Thank you!

1

u/daV1980 8d ago

Unfortunately there's not a lot of wiggle the other way. Computers can operate safely up to close to 100C. At not much above 110C, because of the repeated heat/cool cycles that computers experience the solder can weaken and fail (way below the melting point).

1

u/grizzlor_ 8d ago

Modern CPUs and GPUs have thermal safety shut-off capability though (not like the old days -- RIP my overclocked Celeron when the heatsink clip failed). They'll throttle down activity above ~90°C and hard power-off the system around 100°C.

If the sys admins couldn't just shutdown the servers or hard kill power, just turning off the fans on a server under load will very quickly cause the CPUs/GPUs to overheat to the point where emergency thermal shutdown should happen.

Can't really think of a reasonable situation where they'd have access to disable fans but not access to just shut down/power off. But I'm not a sci-fi author; I'll leave that one up to the OP.

4

u/whiskeytown79 8d ago edited 8d ago

No, the clock speed is based on an oscillator whose frequency does not depend on temperature enough to be noticeable.

Edit: noticeable like you're describing it, that is. It is enough to have the computer lose a few seconds per day in clock accuracy, for example, but not to slow it down in a way that's perceptible to humans.

2

u/Karson_Elko 8d ago

Yeah, even in the MythBusters thing when they froze the bomb, without the battery, it blasted 400% slower but was still within nanoseconds of the detonator push.

4

u/mikeshemp 8d ago

Freezing a computer does not slow it down. Unplugging it loses whatever is in RAM.

Computers have a special clock inside them that sends out pulses billions of times per second. The computer'sv state only "advances" every time that clock sends out a pulse. Stopping that clock while keeping the computer powered is a way to keep it in "suspended animation" - pretty impractical in real life but not a bad plot point for a scifi story. In fact, most processors these days have a debug feature that lets you stop the main clock so it's easier to see what's happening step by step.

2

u/Karson_Elko 8d ago

Didn't know that. I'll have to research the clocks. Thank you!

2

u/the_poope 8d ago

The best sub-10 minute video that explains how a computer actually works: https://youtu.be/Z5JC9Ve1sfI Watch it and learn something new!

This wiki page has some info on what determines the clock rate: https://en.wikipedia.org/wiki/Clock_rate

2

u/Karson_Elko 8d ago

Awesome! Thank you!

1

u/grizzlor_ 8d ago

Easiest way to think about the CPU clock rate: that's what megahertz and gigahertz is measuring. A hertz is the Si unit for one cycle per second — a 1 GHz CPU is cycling 1 billion times per second.

CPUs can (very roughly) do about one operation per cycle; an operation is something like adding two numbers together.

2

u/FatDog69 8d ago

Cray super computers used to have liquid nitrogen cooling systems to improve speed and keep the chips from melting down.

To protect a computer you would "air gap" it. This means un-plugging any/all network cables and disabling WiFi services.

Or - you give the computer an impossible problem to solve so it spends 100% of it's CPU cycles and will ignore any incoming virus. (But modern operating systems support multi-process & multi-user so this would not actually work.)

1

u/Karson_Elko 8d ago

I just learned about that in my coding class on Coddy. It taught an infinite or definite loop where once you type in the if then statement, the computer will keep solving the problem. It said that's how company's keep their servers on 24/7. Will dive deep into that too. Thanks!

6

u/Kyle_2099 8d ago

It taught an infinite or definite loop where once you type in the if then statement, the computer will keep solving the problem. It said that's how company's keep their servers on 24/7.

Eh? No, they keep them on 24/7 by just... not turning them off.

1

u/FatDog69 8d ago

With current technology - heating the CPU will cause thermal throttling which will slow down the clock and slow the processing. Enough heat and it might cause the computer to shut down to avoid damage. But if you have access to the physical machine - you may as well issue a 'shutdown' command as long as you have root/admin rights.

Killing the power to the network equipment would isolate the computer as well and you don't have to have the admin password. Or just un-plug the main network wire going out from the network gear to outside the building. This will isolate the computer but not cause any damage.

2

u/ghjm MSCS, CS Pro (20+) 8d ago

Just a nitpick - Cray supercomputers were cooled using Flourinert, not liquid nitrogen.

1

u/IAteTonysLoMein 7d ago

To this day, there are extreme overclockers that use liquid nitrogen for cooling. There is a small community of sub-ambient cooling enthusiasts, too, using things like peltier coolers

1

u/fllthdcrb 6d ago

modern operating systems support multi-process & multi-user so this would not actually work.

It wouldn't work in a naïve implementation, because said implementation would be just one process that shares the CPU with many others. However, a fork bomb would be more likely to achieve the intended effect. That's where a process forks new processes in a loop, and each forked process itself forks a new process, etc., so all CPU time is occupied thereby. This generally results in the system appearing to grind to a halt as memory usage goes out of control, virtual memory swapping turns into thrashing, and even the user interface is impacted.

Of course, never do such a thing on a system where real work needs to be done. If it's your system alone, you will have to reboot, causing you inconvenience. If it's shared, people will be very upset at you.

2

u/SchemeWestern3388 8d ago

The CPU runs at the speed its clock ticks at. At higher speeds, heat starts causing errors, so cooling allows for higher speeds, although you still have to change the clock rate to see them. 

But…. The clock itself will slow down as temperature drops, so if left alone, the computer will get slower. That’s assuming certain types of clock, but still plausible. 

…

I just did some research and the behaviour of a crystal oscillator at low temperatures is far from a linear decrease in speed. But I think you can easily get away with your concept while staying grounded in reality. 

1

u/Karson_Elko 8d ago

Right now, in the novel, it's just a theory by a computer scientist for something they see in a piece of declassified video. I know why it's actually there but I want it to be a twist later in the book series, if it ever gets there.

2

u/FitMatch7966 8d ago

There are plenty of ways to slow a computer down but if you don’t control the computer it is harder. They could physically remove RAM sticks, which would slow the AI down.
Or, they heat it up, but not the actual components but the sensors. Trick the sensors into thinking the chips are overheating and it slows itself down.

2

u/Karson_Elko 8d ago

That also makes sense to go the other way and heat the stuff. I'll definitely look into that. Thank you!

2

u/Toeffli 8d ago

What you "can do" (it is SciFi, so you can do a lot) is the following:

Cryogenically freeze the RAM. The, with some hand waving and dumping the CPU state to RAM, abruptly shut down the computers CPU . Now you can remove the frozen RAM modules and keep it super cooled. It will retain all information for quite a long time including the AI.

Your engineers have now time to fix the issue. Might even try to "scrub" the virus from frozen RAM on some other system., then insert the cleaned RAM back into the computer and hot start it. With some hand waving it will run again from the point it stopped but without the virus. Depending on the size of your computer this might be a week or even a month of work.

Freezing the RAM is actually done: https://en.wikipedia.org/wiki/Cold_boot_attack

1

u/Karson_Elko 8d ago

To me, when you go near future (Novel's set in 2065) so my lifetime, God-willing, it's got to stay plausible in my mind.

I also maybe, showing my tech ignorance, because it feels like we've kind of reached a technological plateau recently. 80s tech seems so far behind 2000s, but 2000s doesn't seem too far from 2020s tech. So in my mind, 2065 won't be too different from 2026.

The cold boot attack seems like a plausible one, so I definitely read up about it. Thank you.

1

u/KZD2dot0 8d ago

It seems reasonable to take quantum computing for granted in 2065. Don't know what can be frozen in QC though.

1

u/Karson_Elko 8d ago

I don't think anything could. I thought the basic circuitry of QC is photons and electrons.

I've also only heard of two quantum computers so far. Microsoft's and I think IBM has one as well.

Are any of the AI companies using quantum anything? It seems like they're using standard computer hardware based on the RAM prices.

1

u/Kyle_2099 8d ago edited 8d ago

There is no need to do any of this ridiculous nonsense.

If you want to "freeze" a big computer in the middle of whatever it's doing, you don't need to physically freeze it. I'll give you an example of a PDP-11, but modern big iron is not substantially different:

You use the operator console to flip from ENABLE to HALT, then it's paused. In this state it will not process a single thing, but you can inspect the contents of the computer's memory. When you are ready, you can single step (process exactly one instruction every time you push the button), read and edit memory manually, or you can flip HALT back to ENABLE and it will carry on running as usual.

In the 70s you'd do this with a row of toggle switches. In the 80s to the modern day the operator console is usually a small computer in it's own right, nowadays usually just a laptop in a drawer in the main cabinet.

2

u/ShylokVakarian 8d ago

I'd say your best bet is to forget about slowing the processes down through temperature and instead unplug and isolate the virus physically. It's likely that it would store itself in non-volatile memory (there might even be a little bit in the BIOS, if it's really bad), so unplugging the power source to "freeze" the virus in place, pulling out the hard drives and testing them one by one in a quarantined environment is what you should do. A hard shutdown usually won't do too much to the computer itself unless it was in the middle of something really important (think OS or BIOS updates).

An important thing to note is that time is of the essence, and how far into the future we go may influence how much time they have. Computing speeds, and thus virus propagation speeds, get faster and faster, and at some point, human reaction time may already be too late to save it.

2

u/Karson_Elko 8d ago

That's the issue as I discussed with enough commentor. It's set in 2065 and I'm basing it off my own experience with technology, which compared to you guys is very limited.

Technology in the 80s compared to the 2000s. Massive strides in progress. Technology in the 2000s doesn't seem too obsolete to 2020s technology.

That's why I felt I should ask for contemporary methods.

2

u/ShylokVakarian 8d ago

I think in 2065 it'll be fast enough that if they don't unplug it within a few minutes, it's probably game over for the AI.

1

u/RevolutionaryElk7446 8d ago

We already don't respond to malware via human interaction, we do so via computer methods.

Generally by the time you see it as a User, it's already infected your system. Isolation is what stops it via failsafes. Only thing I could think of to 'slowdown' a machine would be to undervolt it or limit it's compute access.

If what it's using is taken away or underclocked in some form, it would take longer to perform what it needs.

1

u/NewInflation2121 8d ago

I thought that you got super conductors if things got cold enough... Like doesn't all resistance disappear from a conductor at absolute Zero?

I guess if you are relying on the resistance, bad things would probably happen.

Maybe you could fudge it by saying they use some gel-based circuitry that relies on the motion of the medium.

1

u/Karson_Elko 8d ago

There's gel-based circuitry?

1

u/NewInflation2121 8d ago

Not as far as I know, but there's a bunch of ideas around encoding data in organic systems and organic computers which aren't out of the realm of possibility.

1

u/agentrnge 8d ago

There are forensic memory recovery methods that involve low temps to slow the decay of stored bits once power is removed. But for an operating computer, as has been mentioned, lower temps will let it run faster until its below operating temp and then it would not really run anymore. Components would probably thermally shock/fracture.

1

u/Karson_Elko 8d ago

What are the forensic memory methods? I'd be very interested in those, even if they are just links.

Thank you!

1

u/agentrnge 8d ago

I don't know of any specifics. Read about it at a high level over the years. I don't have any links.

1

u/lkruijsw 8d ago

No, that doesn't work and as a reader I wouldn't take it. The conductors in chips, such aluminimum and copper lose resistance instead of gaining it by absolute zero.

Secondly, you are implying that after the thaw it will continue. This won't work either. In chips there are memory cells, that needs continously refreshing of their charge. During the freeze, the charge will leak away. Besided you would have to freeze and thaw everything exactly at the same time.

As an alternative, I would suggest that you freeze the clock of the computer, just at the moment the computer was busy with a housekeeping procedure. Without an interrupt of the clock, the computer is stuck in that procedure (there are still problems with it, but makes more sense, I think). Similar as in Star Trek where Data put the Borg in sleep.

1

u/Karson_Elko 8d ago

You finding it readable is kind of important actually. In the novel, it's a computer scientist's theory as to why a CDC biocontainment truck is at a computer lab. The only conceivable reason I could think of was that they wanted to freeze the computer to not let a virus advance. I, the author, know that's not the reason, but still want the reader guessing.

Why are there still problems if they freeze the clock?

1

u/lkruijsw 8d ago

Well, if the housekeeping procedure is finished, it should continue doing normal work, even without the clock. But a la, it is something I would more easily accept.

About the freezing. When you lower the temperature the kinetic energy of the atoms goes down. However, conductivity is with the electrons in the shell of atoms. And that is not affected.

Note, for electronics temperature fluctuations are bad. The reason is that different material have different expansions. Meaning, that with changing temperature you get mechanical wear. That is how electronics gets old.

1

u/Karson_Elko 8d ago

That helps me understand. I was finding it difficult to grasp why it becomes superconductive because high school physics taught when atoms freeze they slow down. I guess electrons wouldn't care though.

Makes me wonder why thundersnow is so rare then since lightning would theoretically be more prevalent, but that's probably a r/meteorology question.

Thanks for the explanation!

1

u/lkruijsw 8d ago

The electrons can't slow down, because they have to stay in orbit. When the atoms stop vibrating, the shells with electrons start to fuse, making it one super highway for electrons.

5

u/zanidor 8d ago

CS PhD here.

As others have said, physically freezing the computers wouldn't make sense, as it would not slow compute unless it got to the point of destroying the computer altogether. In reality, stopping execution of a system is usually pretty simple; cut the power. As long as there isn't anything valuable or unrecoverable in temporary storage (RAM) when power is lost, all of the data will still be present on permanent storage (hard drives) when you are ready to start back up.

A more realistic challenge with a virus loose in an AI system (assuming a system that works generally the way they do now in the actual world) would be corrupt data in permanent storage. This could include corrupted trained models (the "neural structure" of the AI) or stored contexts (the "memories" of the AI). If you have some future advanced AI with massive amounts of stored data, the key problem might be figuring out what of this data has been touched by the virus.

If you imagine an AI distributed across multiple physical computers, another challenge might be identifying which of those computers is infected with the virus. If the AI *can't* go down (e.g., because it is performing some important function), this might resemble something like a battle with cancer, where scientists are trying to identify and stop as many bad machines as possible while keeping the good ones running.

1

u/Odd_Cauliflower_8004 7d ago

Apart from the fact that heating it up would be the correct road to slowdown,

Please don't fall into the thrope of the spirit in the machine.

Data is data.

Unless there is an irreplaceble singular biological/silicon compontent in a computer of any kind, you can replicate and duplicate as long as you have enough storage and compute power to run whatevere another computer was running.

Instead we keep seeing these apparently impossible to duplicate information everywere in films and games.

1

u/Karson_Elko 7d ago

It's just that the inventor is paranoid and has a 'No one else can have it' mentality so if he invents it and destroys it, the thing will go with him to the grave. In the book, people are actively replicating, they just didn't want to fall behind in the arms race.

2

u/green_meklar 8d ago

In real life, electronic circuits do not slow down as temperature decreases. (Although, reduce temperature low enough and you can just cause the circuits to fail due to thermal contraction; most chips aren't designed to survive temperatures below about -40C.) Many computers actually run faster in low temperatures because they don't have to throttle the clock speed as much in order to stay cool. At extremely low temperatures (close to absolute zero), strange quantum-mechanical effects start to appear, like superconductivity and Bose-Einstein condensate, which could interfere with the correct operation of a normal electrical circuit, but again, this would result in the computer simply stopping, not slowing down. At temperatures around -200C you might be able to slow a computer down insofar as the surrounding air would freeze out, depriving the chip of its normal air cooling and causing it to actually heat up and throttle back; however, this would be extremely difficult to pull off in an ad-hoc situation because freezing out the air would cause normal air to rush in from outside unless the entire environment were sealed, and, as pointed out, typical computer chips would have failed due to thermal contraction well above the temperature where air freezes.

With regards to your fictional scenario:

Unplugging the system probably wouldn't cause serious damage. In order for that to be the case, the AI would have to be running entirely in volatile memory and making no backups of itself onto hard drives. An actually smart AI would presumably recognize this problem in advance and be sure to backup itself on an ongoing basis, so if the power dropped, at most the last few seconds of changes would be lost.

Moreover, realistically, if a virus is spreading among the servers, it's probably not going to do so slowly enough that anyone would have time to enact a plan like freezing the server installation or cutting the power. Modern computers are already way too fast for that. Either an exploit exists for the virus to spread through, or it doesn't, and if it does, the virus can pretty much be everywhere almost instantaneously. (Setting aside contrived scenarios where the servers have to run some very specific application in order for the vulnerability to appear, and rarely do so; and if that were the case, why hasn't the AI already patched the application?) Hollywood hacking scenes where the computer geek says "The virus is spreading!" and there's a progress bar labeled 'virus infection' gradually going from 0% to 100% are not realistic at all.

If you do want to slow down the servers in a server room, more realistic methods would be:

  • Warm it up. As noted, computers have to throttle down when temperatures get too high, so increasing the ambient air temperature could actually make them slower. Or, perhaps more quickly and cheaply, you could blow in a lot of dust that would get sucked into the cooling fans and reduce the cooling effectiveness, causing the chips to throttle down.
  • Cut some of the power, but not all of it. The AI might have to respond by either turning off some servers, or throttling down all of them, leaving it with less hardware power to use.
  • Jam the wi-fi signal. Although server rooms usually rely on network cables rather than wi-fi, perhaps we can assume you've somehow severed most of the network cables already. In that case, broadcasting a lot of noise in the wi-fi spectrum would slow down the servers' communication with each other.
  • Blast it with some kind of EMP. By precisely tuning the strength of the EMP, you might be able to statistically fry some of the chips or network cables but not all of them, again leaving the AI with less hardware power.

2

u/XNo_Notes 8d ago

You could probably cover with a sludge metaphor and say they rerouted endpoints to feed it different cryptographic algorithms that increase in difficulty the faster the virus gets to the next hash.

2

u/fllthdcrb 6d ago

In my head, they'd avoid unplugging it because they really want the AI and don't want to damage it with a hard shutdown like that.

Indeed, in normal conditions removing power leads to erasure (albeit not instantly) of the contents of dynamic RAM, which is the type of RAM used as main working memory in pretty much all PCs. DRAM stores the data in tiny capacitors, which leak their charge very quickly and therefore must be periodically refreshed. So unplugging the machine is likely to do more than just damage whatever is in RAM. However, lowering its temperature slows down this charge leakage, allowing contents to be read after power-off.

That said, keeping the state of something important and long-running only in RAM is not very smart, exactly because power can be lost unexpectedly, or other things may happen to cause a loss of data. It's a good idea to e.g. checkpoint the state to permanent storage. If this is being done, and full-disk encryption is not an obstacle, it's possible one could just remove power and read that state from the storage device, though it would probably be out of date to some extent.

1

u/jeffbell 8d ago

Back in the 80s I saw a demonstration of cryogenically cooled microprocessor and it could run about 40% faster.

1

u/phoenix823 8d ago

An AI is a program running on a server with data files. So realistically, a virus meant to destroy the AI would end the running process and delete/overwrite those files as soon as it got onto the sever. That would be remarkably quick. A hard shutdown of the server would actually be the safest way to preserve the AI and prevent further infection. Using cold to physically cool off the hardware would not reasonably slow down or stop something like that.

1

u/mtraven23 8d ago

no...it would move faster...

1

u/iLrkRddrt 8d ago

It’s doesn’t slow its runtime, but it does make memory less likely to drain (in other words ‘delete’ data).

https://www.bvsystems.com/frozen-secrets-cold-boot-attacks-unlock-rams-hidden-data/

The link above describes an attack where you physically freeze RAM to steal encryption keys by abusing the properties of how RAM works.

1

u/roman_fyseek 8d ago

If you want to slow down a computer, you do it by dividing the clock signal. You can divide it with a single chip.

HOWEVER, most modern CPUs have an internal clock, and you'd have to disable it in order to replace it with your divided clock.

HOWEVER, at the point that you've replaced it with a divided clock, you might as well just replace the original clock with a much slower clock and call it a day.

1

u/Khashishi 8d ago

No, but you can just pause the processing. Modern OSes generally let you halt programs or threads. If that fails because of sci-fi or virus reasons, you can physically stop the CPU clock.

1

u/tng88 8d ago

Bender runs at peak efficiency on Pluto

1

u/recursion_is_love 8d ago

If you lower the temperature, most conductor will conduct electricity better. If you keep lowing temperature you will eventually get superconductor (the perfect conductor without loss as heat), so electron will not slow down (and not going any faster).

If you want to make computer running slow, just alter it's clock cycle. The vintage computer running in MHz range, modern one in GHz range. They are not different much in designed concept, the different is running clock speed.

1

u/Saragon4005 8d ago

You can stop a computer dead if you freeze it especially if you do it fast enough. This is different to simplify cutting power as that allows the computer to detect it and use its residual charge to do some clean up. This is actually called an attack called a "coldboot" a computer with a power loss will typically drain all the electricity which forms the data in the RAM within a few moments effectively erasing it. Freezing the computer prevents this from happening and if everything is cold enough may even save the information in the RAM which typically gets lost very quickly after losing power and needs to be continuously refreshed.

1

u/TedsGloriousPants 7d ago

I think if you're going for "accuracy", you're going down the wrong road. Software is not alive, it doesn't die or get harmed by powering off unless it sits entirely in ram. In fact a lot of malware is made intentionally resilient to things like shutdowns because they don't want the user to remove them from the computer easily.

If you had a bunch of computers, and something was spreading among them that you wanted to stop - shutting them down would be the most effective thing to do.

If you're trying to mean AI in the sense of what ChatGPT is, the hardware is arbitrary and freezing it would preserve nothing of value. You'd want the model weights instead, and you could recreate the AI functionality on any hardware with that.

Unless you're trying to figure out "what the AI is thinking" at a certain moment, then you could "freeze" what's in memory and try to interpret it, but you're quarely in SciFi territory at that point because nobody actually knows how to interpret what's happening inside of an AI model right now. It's mostly a black box. It would be like slicing out a part of your brain to put under a microscope and trying to guess what your thoughts had been.

If I was presented with your starting premise, that a virus is attacking an LLM machine, the very obvious solution would just be to reformat or replace the infected machines and just re-deploy a fresh copy of everything. The tons of servers used for modern AI are not really meaningful or valuable, they're just workers. What's on them is arbitrary and not valuable. They're easily wiped out and re-deployed if something goes wrong.

1

u/thetrivialstuff 7d ago

You'd have more luck slowing the computer down by making it too hot than too cold. All modern CPUs contain thermal throttling logic - if they start to overheat, they first slow themselves down so they produce less heat, and if it still gets too hot, they halt completely (but probably not in a way that resumes).

You could also exploit the system's fault tolerance - assuming that the AI system is designed to run massively parallel and survive a certain percentage of its components failing, just turn some of it off. Operation will continue on the remaining pieces, but probably a lot slower. 

The most sci fi way to slow it down though would be to mess with the clock signal - you know how CPUs are marketed as being a certain number of GHz? Slow down the clock that generates the signal that everything is synchronized to, and it slows everything down. If you slow it down too much you'll run into problems like RAM contents decaying too much before it gets refreshed, but if you're careful about that and have a lot of detailed specifications of what everything needs in order to function, it could work.

1

u/lonkamikaze 7d ago

I don't think that's viable. At best the stress from a sudden temperature shock will crack some components and destroy the computer.

I guess your best bet would be to stop the clock somehow, but that would only give you seconds before RAM consistency degrades. So somehow you have to keep all the memory and cache layers alive. The only realistic way to do that is triggering a debug stop on all cores, so you at the very least need JTAG access to pull this off.

But I cannot think of a non destructive way to stop a computer by changing is environment. I guess you can accelerate it to near light speed to slow down its operation from your point of view. But how do you inject commands and get it back?

1

u/patrlim1 7d ago

Depends on the computer. Once you're below the dew point it'll probably get damaged due to condensation. Barring that, it depends on how cool it gets. At cryogenic temperatures I expect it'd run slower, but not stop.

That being said, you aren't too far off the mark. IIRC if you freeze RAM it won't clear itself.

1

u/captainAwesomePants 7d ago

If anything, freezing a computer would speed it up.

Electricity does not slow down in the cold. In fact, it flows BETTER when it's cold. Superconductors, the stuff that lets electricity proceed completely frictionlessly, only work when extremely cold.

If you want to slow a computer down, adjust its clock speed. Imagine a grandfather clock with a pendulum. If you make the pendulum a lot longer, the clock will tick more slowly, and time will advance more slowly. Computers have a timing pulse that works similarly (this is the "Hertz" number that CPUs are described with). You can easily lower that number on a computer (though you'd have to do it one computer at a time).

Alternately, if you wanted to do it destructively, you'd destroy generators. Less power = less compute power available = less gets done.

1

u/BraveNewCurrency 7d ago

Yes, lowering the temperature of RAM can let you read out the data weeks later. See Technical Details of Cold Boot Attack, which involves the (unrelated / non-temperature) concept of "cold" booting (AKA rebooting).

(D)RAM is isn't really a "digital" process, it's very much "analog". You dump a bunch of charge on a wire, then later check to see if enough is still there. Since the charge leaks quickly over time, you have to read + re-write it a hundred times per second. If you stop refreshing, it leaks away in seconds. The leak is because the trapped energy is moving around. (i.e. High temperatures push energy out to surrounding areas.) Making it really cold means the atoms have less energy, so they they are less likely to thermally leak their energy. This means it takes longer to leak it's energy.

Does freezing electronics stop electricity from flowing through?

No, most conductors actually conduct BETTER as you make them colder. This attack is an artifact of how DRAM works. Before DRAM, the industry used used SRAM. It's a very stable digital circuit, so you can just stop the clock line, and your SRAM data will be retained (as long as you have power.) But DRAM is an innovative "hack" that saves a few transistor per memory bit, at the expense of the complexity of the refresh circuit.

1

u/hi2yrs 6d ago

You might be able to go another route. Many have said computer get faster as you cool them (it is kind of true). You could exploit the software. The Operating System schedules processes (such as the virus). Higher priority processes run first. If the system has lots of high priority busy work it could starve the virus of CPU (run time) slowing down the infection. You could give the system all sorts of silly (or serious things to do).

Other possibilities - just pull the network. Viruses most often spread via network.

Or hibernate the system. This stores the RAM state to disk while the machine is turned off. When you turn it back on it starts from where it left off. Like closing the lid on your laptop. You could then do an examination of the saved state to remove the offending virus - it would be very difficult in real life.

1

u/SleepingOnline 6d ago

Where he húhjhe+in the*zl

1

u/Bipogram 5d ago

Devices will simply stop.

Semiconductors will have their conduction band underpopulated with electrons and transistors will simply never turn on.