PCDVD數位科技討論區
PCDVD數位科技討論區   註冊 常見問題 標記討論區為已讀

回到   PCDVD數位科技討論區 > 電腦硬體討論群組 > 儲存媒體討論區
帳戶
密碼
 

  回應
 
主題工具
dmwc
Master Member
 

加入日期: May 2001
文章: 1,622
引用:
作者kkk
我認為那是因為硬碟讀取的速度跟 傳輸到memory的速度不同步
為了不使這兩個傳輸介面互相影響 所以中間有個暫存記憶體

所以我認為他是buffer

http://www.seagate.com/pdf/marketing/PO-Cuda7200.9.pdf
是Cache 不是 Buffer,是Buffer那就和容量大小無關了,因為只要夠緩衝後,再多也沒用,如果FIFO下 FO > FI ,無論2M 8M都不會增加效能

HDD Buffer應該在控制器內就已經有了或是他會從那Cache切一塊去當Buffer也有可能,但不管怎麼樣,連廠商都說那塊是Cache就不應去誤解為Buffer
     
      
__________________
已關閉簽名檔
舊 2005-10-27, 02:47 PM #11
回應時引用此文章
dmwc離線中  
lawson7212
Master Member
 
lawson7212的大頭照
 

加入日期: Jan 2005
您的住址: k隆星
文章: 1,761
定義Cache & Buffer...(當然大家都能接受的...)

就不會有爭執了...
 
__________________
最近要跟補習班請假..
最近家裡網路真的慢的不像話
不知道發生了什麼事情
開個MSN
上網看信
開一個網頁都要好幾分鐘
實在沒耐心等...

潛水去~
舊 2005-10-27, 06:17 PM #12
回應時引用此文章
lawson7212離線中  
kkk
*停權中*
 
kkk的大頭照
 

加入日期: Aug 2005
文章: 240
引用:
作者dmwc
http://www.seagate.com/pdf/marketing/PO-Cuda7200.9.pdf
是Cache 不是 Buffer,是Buffer那就和容量大小無關了,因為只要夠緩衝後,再多也沒用,如果FIFO下 FO > FI ,無論2M 8M都不會增加效能

HDD Buffer應該在控制器內就已經有了或是他會從那Cache切一塊去當Buffer也有可能,但不管怎麼樣,連廠商都說那塊是Cache就不應去誤解為Buffer



如果傳輸方向是單向的 容量再多也沒用

不過硬碟是雙向的傳輸 所以buffer愈大還是有用

因為一個方向 FIFO FO>FI 另一個方向就是FI>FO

要知道 硬碟能讀 也能寫

不過我真的很懷疑為何要cache
硬碟資料的傳輸 不都是使用者決定的??? 為何還要開個cache 去預測要抓什資料
需要嗎???
舊 2005-10-27, 07:51 PM #13
回應時引用此文章
kkk離線中  
Xforce
Senior Member
 
Xforce的大頭照
 

加入日期: Feb 2002
您的住址: 宜蘭
文章: 1,341
引用:
作者dmwc
http://www.seagate.com/pdf/marketing/PO-Cuda7200.9.pdf
是Cache 不是 Buffer,是Buffer那就和容量大小無關了,因為只要夠緩衝後,再多也沒用,如果FIFO下 FO > FI ,無論2M 8M都不會增加效能

HDD Buffer應該在控制器內就已經有了或是他會從那Cache切一塊去當Buffer也有可能,但不管怎麼樣,連廠商都說那塊是Cache就不應去誤解為Buffer


http://www.seagate.com/support/kb/disc/tp/cache.html

Since computers tend to access the disc drive in a sequential or predictably ordered manner, performance can be greatly increased by reading extra data into a memory cache before the computer asks for it. This way, when the computer asks for the next bit of data, it is already in memory, and data retrieval from memory can be several thousand times faster than having to get it from the disc. Tests show that if a computer requests data from a certain location, there is an 80% to 90% chance the next request will be for data in the following location. Unfortunately, using a cache to improve performance is a gamble. We make the effort to read the extra data based on the 80% chance it will be used next.

Caching, in effect, anticipates requests for certain data (usually the next in line) and draws that data into memory before the system needs it. Because the caching program reads information into memory before it is needed, it is often also called a Read Look-Ahead Buffer. Caching occurs at many levels within a company, so it is not necessary for the cache to reside with the host computer's main memory. A disc drive can handle the caching for itself, leaving the host computer free from the burden of managing the cache for that device.

>>>Caching is often also called a Read Look-Ahead Buffer

http://www.seagate.com/support/glos...che_buffer.html

Cache Buffer
A bank of solid-state memory on a drive that stores some data from the discs. The system may then refer to this memory for information instead of going to the media, increasing the processing speed.

Cache Buffer 比較完整的說法
__________________
AMD Athlon 64 3000+
Asus A8N-E nfoce 4 empowered
Simems DDR 400 512MB *2
Benq 1640
---------------------------------

此文章於 2005-10-27 08:48 PM 被 Xforce 編輯.
舊 2005-10-27, 08:29 PM #14
回應時引用此文章
Xforce離線中  
有夠呆
Regular Member
 

加入日期: Aug 2002
文章: 56
叫緩衝記憶体~
也可以叫磁碟緩衝暫存區~
有人叫他Cache 也有人叫他Buffer(看個人,應該不會有人會為了這個在吵架吧,知道在講什麼就好)
他有Cache的功用,也有Buffer的功用~
雖然是愈大愈好,不過其實非常大的話.
對一般使用者而言應該是沒什麼差別~
舊 2005-10-28, 03:49 AM #15
回應時引用此文章
有夠呆離線中  
dmwc
Master Member
 

加入日期: May 2001
文章: 1,622
引用:
作者kkk
如果傳輸方向是單向的 容量再多也沒用

不過我真的很懷疑為何要cache
硬碟資料的傳輸 不都是使用者決定的??? 為何還要開個cache 去預測要抓什資料
需要嗎???

雙相傳輸只是Buffer變兩塊,IO方向變了而已,也是容量再多也沒用,只要Buffer永遠空不了就足夠了,就和你用燒錄軟體開10MB buffer或1G buffer,只要Buffer空不了燒錄速度就不會變慢,越多只是在等的資料越多而已

Cache原理很簡單,而且是很重要的,硬碟的資料傳輸是使用者決定的沒錯,但如果沒有Cache,資料分布會呈現線性,例如讀1>4>7>10 ... ,但是其他2,3,5,6 時間就可能浪費掉的,硬碟就可以順便把那些資料放入Cache,Cache就是把多餘的時間利用而已,某些HDD甚至會對FAT去做Cache

寫入Cache就像Buffer,就比較沒那麼特殊神奇,但也是一樣很重要,他可以對要寫入的區域做整理後整批寫入,和純Buffer 不同於Buffer一定要 FIFO ,不能插隊

Cache 也有人說他是 Buffer 的一種,但Buffer 不是 Cache的一種
__________________
已關閉簽名檔
舊 2005-10-28, 12:51 PM #16
回應時引用此文章
dmwc離線中  
rabbit100
*停權中*
 

加入日期: Jun 2005
文章: 286
叫 快取 Cache 或 Buffer 緩衝 都可以啦 這個沒有一個明確的定義
兩者都一樣啦 就是畫出一塊記憶體 供資料當作快取用
只是在不同的裝置上運作的方式不同而已 如何運作當看程式的設計

希捷 那個資料 只是用於公司內部統一辨識用 外界並沒有那麼明確的定義
舊 2005-10-28, 02:03 PM #17
回應時引用此文章
rabbit100離線中  
maxalan
Major Member
 
maxalan的大頭照
 

加入日期: Mar 2002
文章: 138
是Buffer才對,首先您要知道這緩衝區有何功用,是硬碟的讀寫臂受牽扯至碟片上方時,是需要時間的,這時南橋就可先將資料先存進緩衝區內,等磁頭定位後在由緩衝區取出資料進行寫入,相反的,當南橋繁忙時,這時硬碟磁頭便可先將資料先存進緩衝區內,等南橋忙完後再由緩衝區內取出資料來處理,這樣可節省些等待時間,所以這是當做緩衝使用,而不是當做快取來使用的......
__________________
古今多少事,都付笑談中~
舊 2005-10-28, 02:23 PM #18
回應時引用此文章
maxalan離線中  
kkk
*停權中*
 
kkk的大頭照
 

加入日期: Aug 2005
文章: 240
引用:
作者Xforce
http://www.seagate.com/support/kb/disc/tp/cache.html

Caching, in effect, anticipates requests for certain data (usually the next in line) and draws that data into memory before the system needs it. Because the caching program reads information into memory before it is needed, it is often also called a Read Look-Ahead Buffer. Caching occurs at many levels within a company, so it is not necessary for the cache to reside with the host computer's main memory. A disc drive can handle the caching for itself, leaving the host computer free from the burden of managing the cache for that device.
...


-->A disc drive can handle the caching for itself, leaving the host computer free from the burden of managing the cache for that device.

硬碟可以處理自己的快取,使得host 端不用再負擔硬碟的快取動作

蠻有趣的設計
舊 2005-10-28, 03:19 PM #19
回應時引用此文章
kkk離線中  
kkk
*停權中*
 
kkk的大頭照
 

加入日期: Aug 2005
文章: 240
引用:
作者dmwc
雙相傳輸只是Buffer變兩塊,IO方向變了而已,也是容量再多也沒用,只要Buffer永遠空不了就足夠了,就和你用燒錄軟體開10MB buffer或1G buffer,只要Buffer空不了燒錄速度就不會變慢,越多只是在等的資料越多而已



此言差矣

如果是執行硬碟寫入, host 端愈早寫完,他的memory bus,HTT bus, 南橋的bus
愈早釋放出來給別人用。 當然 buffer 愈大愈好。
主機上又不只一顆硬碟,也不只有硬碟這種device
舊 2005-10-28, 03:22 PM #20
回應時引用此文章
kkk離線中  


    回應


POPIN
主題工具

發表文章規則
不可以發起新主題
不可以回應主題
不可以上傳附加檔案
不可以編輯您的文章

vB 代碼打開
[IMG]代碼打開
HTML代碼關閉



所有的時間均為GMT +8。 現在的時間是05:23 AM.


vBulletin Version 3.0.1
powered_by_vbulletin 2026。