취미와 밥줄사이

[ SE ] 그냥 공부기록.. 본문

Infrastructure

[ SE ] 그냥 공부기록..

취미와 밥줄사이 2022. 9. 23. 10:57

# Flash-backed write cache

These controllers use a write-back caching scheme
that lets host applications continue without wating 
for write operations to complete to the disk.

A controller without a write-back cache returns 
comletion status to the OS after it writes the data
to the drives.

A controller with write-back caching can "post"
write date to high-speed cache memory, and then
immeiately return completion status to the OS.

The write operation completes in microseconds
rather than milliseconds.

The controller writes data
from the controller's write cache to disk later, 
at optimal time for the controller.

Once the controller locates write data in the cache,
subsequent reads to the same disk location 
come from the cache.

Subsequent writes to the same disk lcoation 
will replace the data held in cache.

This is a "read cache hit." 
It improves bandwith and latency for applications
that frequently write and read the same area of the disk.

The write cache will typically fill up and reamin full usually 
in high-workload enviorments.

The controller uses this opporuity to analyze 
the pending write commands 
to improve their efficiency.

The controller can
- Use write coalescing that combines small writes to adjacent logical 
blocks into a single larger write for quicker execution

- Perform command reorering, rearranging the execution order of 
the writes in the cache to reduece the overall disk latency

- Flash-backed write cache(FBWC) uses flash devices to retain cache data
and the energy pack to provide power during a power loss.

The FBWC offers significant advantages over earlier BBWE systems.
While a battery-bacekd write cache(BBWC) requires backup power during
the entire power loss, 
an FBWC only needs power during the time it takes to backup 
from DRAM to flash. Since the FBWC writes the contents of memory 
to flash devices,
there is no longer a 48-hour energy pack life limitationm, 
and the data posts to the disk drive on the next power-up








 

 

 

BBWC(Battery Backed Write Cache)

전원이 나갔을 떄 BBU(Battery)의 전원으로 캐쉬메모리(DRAM)의 정보를 유지하기 때문에, 

BBU의 전원이 방전되기 전에 전원 연결이 다시 되지 않으면 Data loss 발생합니다. 

FBWC(Flash Backed Write Cache)

FBWC는 전원이 나가면 Power Cap의 전원으로 캐쉬메로리(DRAM)의 데이터를 내장된 플래시 메모리에 

저장하며 데이터 유지를 위한 더 이상의 전력이 필요하지 않습니다.(플래시 메모리에 저장)

전원이 연결이 되면 플래시 메모리의 데이터를 다시 캐쉬 메모리로 복사를 하여 데이터를 복구합니다.

BBWC의 장점을 보완한 기술로 BBU 교체가 필요없어 유지보수에 대한 비용발생이 없습니다. 

 

 

Reference

https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=inpiniti10&logNo=40145329470 

 

Raid Controller BBWC FBWC 차이점

안녕하세요. 오늘은 Raid Controller 에 대해 알아보려고 합니다. HP Raid Controller 에는 B110i (...

blog.naver.com

 

'Infrastructure' 카테고리의 다른 글

[ SE ] Windows Server 특징  (0) 2022.06.24
[ SE ] 리눅스: 서버용 OS  (0) 2022.06.24
[ SE ] 서버용 메모리  (0) 2022.06.24
[ SE ] 서버용 메인보드 특징  (0) 2022.06.24
[ SE ] 디스크  (0) 2022.06.24