1. A memory swapping method comprising: receiving at a storage device queue information from a host device, the queue information for a memory swapping task; performing part of the memory swapping task in the storage device based on the queue information; receiving a command at the storage device, the command corresponding to the queue information from the host device, said receiving of the command occurring after said performing of the part of the memory swapping task is completed; and performing in the storage device a remaining part of the memory swapping task according to the command by using a result of the part of the memory swapping task previously performed.