Patent attributes
Storage devices can be configured to utilize one or more memory buffers located within a host-computing device. These host buffers may allow for faster access to some data, including control pages. However, host buffers are susceptible to fragmentation issues similarly to standard user memory arrays. As the data stored within the host buffers becomes more fragmented, performance can suffer. This performance loss in storage devices becomes more pronounced as the desired performance levels of these storage devices increase. Therefore, various methods and systems described herein manage fragmentation within host buffers by conducting one or more operations. These operations may include locating a continuous portion of allocated or unallocated memory within the host buffer and either swap or copy high-usage or high-priority data to those continuous portions. When continuous portions of host buffer memory are not available, relevant portions of data may be cashed within the storage device to increase performance.