[Evans] We can compute these using the Python interpreter.
You didn't need to submit your code for this. You needed to compute the answers.
And the answers that you should have gotten is that a light bulb,
the latency distance is approximately 300,000 kilometers;
for a CPU register, where the latency is less than 0.4 nanoseconds,
the equivalent latency distance is 0.12 meters, about 120 centimeters;
for the DRAM, DRAM is much cheaper.
The latency is much higher than a CPU register.
That corresponds to 3.6 meters of latency distance.
Possiamo calcolare questi valori tramite l'interprete.
Non dovevate sottoporre la risposta all'interprete, ma solo utilizzarlo per calcolare le risposte.
La risposta nel caso della lampadina è che la latenza
in termini di distanza è approssimativamente 300.000 kilometri;
per il registro della CPU dove la latenza è 0.4 nanaosecondi
la distanza equivalente è 0.12 metri, circa 120 centimetri
per la DRAM, la DRAM è più economica.
La latenza è superiore rispetto ai registri.
Questo corrisponde a 3.6 metri di distanza.
Pythonインタプリタを用いてこれを計算します
コードを提出する必要はなく
答えを計算すれば大丈夫です
あなたが得られたであろう解答です
電球のレイテンシの距離は
約300,000キロメートルで
CPUレジスタのレイテンシは0.4ナノ秒未満です
それに匹敵するレイテンシの距離は
0.12メートルで約120センチメートルです
DRAMはもっと安く
レイテンシはCPUレジスタよりはるかに高いです
それはレイテンシの距離3.6メートルに相当します
我们可以使用Python解释器进行计算
你不必上交代码 而是要计算出答案
正确答案是 对于灯泡来说
延迟距离大约是30万千米
对于CPU寄存器来说 延迟时间少于0.4毫微秒
相应的延迟距离是0.12米 大约是120厘米
DRAM更加便宜
延迟时间比CPU寄存器长
对应的延迟距离是3.6米
我們可以使用 Python 解譯器來計算
你不必繳交程式碼,而是要計算出答案
正確答案是:對於燈泡來說
延遲距離 (latency distance) 大約是 30 萬公里
對於 CPU register 來說,latency 小於 0.4 奈秒
相對應的延遲距離是 0.12 公尺,
大約是 12 公分
對於 DRAM,DRAM 更加便宜
latency 比 CPU register 長多了
對應的延遲距離是 3.6 公尺