WHAT IS bestfit

최대 1 분 소요

What is bestfit ??

bestfit == 알고리즘 메모리를 관리하기위한 알고리즘

It involves allocating the smallest available memory block that is large enough to accommodate a requested size. This helps minimize memory wastage, but may result in fragmentation over time.

bestfit은 수반한다 허용을 수반한다 사용가능한 작은단위의 메모리 블럭형태로
메모리를 방지가 가능(장점), 하지만 시간이지나면 단편화를 초래할 수 있음(작은 여러 메모리 조각들이 흩어져 공간이 비효율적이게됨을 의미)

사용처

OS에서 메모리관리를 위해 사용됨

operating systems to manage memory for processes. When a program requests a certain amount of memory, the Best Fit algorithm searches for the smallest available memory block that can accommodate the request. This method aims to reduce wasted memory by utilizing space more efficiently.

순서

  1. 어떤 프로그램이 유효한 메모리를 요청함
  2. 알고리즘은 작은단위의 사용가능한 메모리블럭을 검색
  3. 메모리블럭은 해당 프로그램이 동작하기위한 메모리사이즈가 맞는지 맞춰볼 수 있음 더불어 해당 메소드가 효율적으로 낭비없이 사용될 수 있는지 맞춰볼 수 있음

카테고리:

업데이트: