CPC G06F 3/0662 (2013.01) [G06F 3/061 (2013.01); G06F 3/0659 (2013.01); G06F 3/0679 (2013.01)] | 17 Claims |
1. A system, comprising:
a computing device comprising a processor, a memory, and a swap device comprising a plurality of queues, wherein the swap device is at least one of a hard disk drive, a solid state drive, or a network interface card, the swap device configured to store one or more pages of memory from the memory, wherein each queue of the plurality of queues is configured to store input/output (I/O) requests, wherein I/O requests are requests to access a respective memory address in the one or more pages of memory stored by the swap device, and wherein the plurality of queues is configured to be serviced by the swap device; and
machine-readable instructions stored in the memory that, when executed by the processor, cause the computing device to at least:
set a first queue in the plurality of queues on the swap device as a highest priority queue;
set a second queue in the plurality of queues on the swap device as a low priority queue;
receive an I/O request to access an address of a memory page stored on the swap device;
determine a type of the I/O request by evaluating a message provided by a virtual memory system; and
assign the I/O request to the first queue or the second queue of the swap device based at least in part on the type of the I/O request.
|