Mikä on suurin RAM-arvo, jonka voit teoriassa laittaa 64-bittiseen tietokoneeseen?

Sisällysluettelo:

Mikä on suurin RAM-arvo, jonka voit teoriassa laittaa 64-bittiseen tietokoneeseen?
Mikä on suurin RAM-arvo, jonka voit teoriassa laittaa 64-bittiseen tietokoneeseen?

Video: Mikä on suurin RAM-arvo, jonka voit teoriassa laittaa 64-bittiseen tietokoneeseen?

Video: Mikä on suurin RAM-arvo, jonka voit teoriassa laittaa 64-bittiseen tietokoneeseen?
Video: Ransomware: Protecting Yourself from online Criminals - YouTube 2024, Huhtikuu
Anonim
Image
Image

Useimmat ihmiset päivittävät 32-bittisestä tietojenkäsittelystä 64-bittiseen tietojenkäsittelyyn 4GB RAM-rajan läpi, mutta mitenpitkälle voitko puhaltaa tämän rajan läpi, kun olet tullut 64-bittisten tietokoneiden maailmaan?

Tämänpäiväinen kysymys- ja vastaus-istunto tulee meille Hyvinkään, Super-käyttäjän, Stack Exchange-jaosta, joka on yhteisöllinen Q & A-sivustojen ryhmittely. Kuva Petr Kratochvil.

Kysymys

SuperUser-lukija KingNestor on utelias, kuinka paljon RAM-muistia 64-bittinen tietokone voi pitää:

I’m reading through my computer architecture book and I see that in an x86, 32bit CPU, the program counter is 32 bit.

So, the number of bytes it can address is 2^32 bytes, or 4GB. So it makes sense to me that most 32 bit machines limit the amount of ram to 4gb (ignoring PAE).

Am I right in assuming that a 64bit machine could theoretically address 2^64 bytes, or 16 exabytes of ram?!

Sanotko Exabytes? Nyt, nyt, älä ole ahne. Aloitamme teratavuilla tai kahdella.

Vastaus

KingNestorin vastaukset ovat mielenkiintoinen yhdistelmä käytännöllisistä ja teoreettisista näkökohdista. Matt Ball hyppää suoraan teoreettisen vastauksen kanssa:

Theoretically: 16.8 million terabytes. In practice: your computer case is a little too small to fit all that RAM.

https://en.wikipedia.org/wiki/64-bit#Limitations_of_practical_processors

Conrad Dean hyppää huomion kanssa siitä, kuinka täysin epäkäytännöllistä olisi se, että maksimoidaan teoreettinen RAM-raja käyttämällä nykypäivän tekniikkaa:

To supplement Matt Ball’s answer, the current largest stick of RAM I can find on one particular online retailer is 32GB. It would take 32 of these to reach 1 terabyte. At about a half inch per stick this brings us to a devoted 16 inches of space on your motherboard for a terabyte of commercial ram. To reach 16.8 million terabytes would require a motherboard 4,242.42 miles. The distance from LA to NYC is about 2141 miles, so the motherboard would stretch across the country and back to accomodate that much RAM.

Clearly this is impractical.

How about we didn’t put our RAM all in one row like on most motherboards, but instead placed them side-by-side. I want to say the average stick of ram is about six inches long, so if we allow a half an inch for width, you can have a square unit of 12 sticks of ram in a 6 inch square. Let’s call this square a RAM-tile. A RAM-tile then holds 384GB of RAM. To reach the required 16.8 million terabytes in 384GB tiles would take 44.8 million tiles. Let’s be messy, and use square root of that to conclude that this will fit in a square of 6693 by 6694 tiles, or 13,386 by 13,388 feet, which is close enough to 2.5 feet squared, enough to cover downtown Seattle in shadow, as if they didn’t already have enough to complain about.

Lopuksi, David Schwartz toteaa, että nykyinen CPU-arkkitehtuuri saa jopa teoreettisen rajan:

Note that no existing x86 64-bit processor can actually do this. Their caches don’t have enough tag bits, their address buses don’t have enough width, and so on. 46-bits (8TB) is the maximum for many modern x86 CPUs.

Onko jokin asia lisättävä selitykseen? Kuulkaa kommentit. Haluatko lukea lisää vastauksia muilta tech-tajuilta Stack Exchange-käyttäjiltä? Katso koko keskusteluketju täältä.

Suositeltava: