CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0652 (2013.01); G06F 3/0688 (2013.01); G06F 13/24 (2013.01)] | 20 Claims |
1. A storage device comprising:
a nonvolatile memory; and
a storage controller configured to control the nonvolatile memory, and including a first controller and a second controller,
wherein the first controller is configured to process a first command from a first external device, the second controller is configured to process a second command from a second external device, the storage controller is configured to select one among the first command and the second command based on a first value and a second value, the first value corresponds to both a first weight and a first workload of the first controller during a first time period, the second value corresponds to both a second weight and a second workload of the second controller during the first time period, the first weight corresponds to a first minimum performance of the first external device, and the second weight corresponds to a second minimum performance of the second external device,
wherein, when the storage controller selects the first command among the first command and the second command based on the first value and the second value, the first controller processes the first command before the second controller processes the second command, and
wherein, when the storage controller selects the second command among the first command and the second command based on the first value and the second value, the second controller processes the second command before the first controller processes the first command.
|