瀏覽單個文章
Arucueid
Master Member
 
Arucueid的大頭照
 

加入日期: Feb 2004
您的住址: 加拿大
文章: 2,391
引用:
作者ponpon0618
如果可以的話
是不是把分頁檔分成兩半
設在兩顆硬碟上面
請問這麼做有用嗎?@@
小弟我不太了解>q<


首先,只要使用Raid 0, 檔案自動會取決於硬碟數量而被分為數個部分,在每顆硬碟上同時寫入/讀取,

所以,分頁檔設在Raid 0上面的確會增加效能

但是,即使使用Raid 0,也比不上加主記憶體來的有效(以下可省去不看,因為是題外話...)

因為用硬碟模擬記憶體,資料要由硬碟到控制器,然後由PCI通道經過南橋,再到北橋,
就算是最近出的PCI-E連接,頻寬最大也只有4X (以Intel的來說), 相當於1G左右的流量

而主記憶體直接連到北橋,甚至在K8上直接連進CPU,由CPU/北橋直接存取,當然要比經由南橋來的快

再者,硬碟先天的機械限制,加上匯流排頻寬,要達到1GB/s都有問題

怎麼能跟主記憶體隨便就6.4GB/s (DDR 400,雙通道模式下) 的速度比?

所以建議是,
除非有買新的硬碟來裝東西,這時可以用硬碟的空間虛擬,
否則,先儘可能加主記憶體,主記憶體達到最大之後再來撐虛擬記憶體
__________________

Rule #12: Never date a co-worker.
Rule #13: Never involve lawyers.
Rule #23: Never mess with a Marine's coffee if you want to live!
Rule #51: Sometimes you are wrong

純白の吸血鬼は微笑む:私を殺した責任、とってもらうからわ - アルクエイド ブリュンスッド
貴方に出逢い STAR輝いて アタシが生まれて
Was aus Liebe gethan wird, geschieht immer Jenseits von Gut und Böse - Friedrick Wilhelm Nietzsche

Cain was the first man ever to strike down another... and when the Lord came to him and said ‘What have you done!?’, Cain could not hide his crime. For the voice of his brother’s blood cried out from the very ground

The world has been your battlefield, everywhere you go. The blood of brothers and sons screams out against you. Perhaps you cannot yet hear it, because the soil is not your own, but you will... you will
舊 2004-09-27, 03:06 PM #7
回應時引用此文章
Arucueid離線中