Allocation of shared system resources
First Claim
1. A computing device, comprising:
- a processor comprising one or more processing cores and operating in a multi-tenant environment, whereinthe one or more processing cores executes at least a first virtual machine and a second virtual machine simultaneously, andthe first virtual machine comprising a first plurality of computer executable instructions for a first tenant and the second virtual machine comprising a second plurality of computer executable instructions for a second tenant;
a cache or a buffer in the processor shared by the first virtual machine and the second virtual machine, the first virtual machine and the second virtual machine executing simultaneously on the one or more processing cores wherein simultaneously executing virtual machines comprises concurrently processing at least one executable instruction belonging to the first virtual machine and at least another executable instruction belonging to the second virtual machine, wherein neither of the instructions belonging to the first virtual machine and the second virtual machine have completed execution;
a hardware resource allocator implemented in microcode for the one or more processing cores or privileged code executing on the one or more processing cores to;
assign a first identifier to the first virtual machine; and
associate a portion of the cache or the buffer with the first identifier; and
the processor comprising a hardware resource manager to;
restrict access for computer executable instructions executed from the first virtual machine to the portion of the cache or the buffer associated with the first identifier, wherein the computer executable instructions access other portions of the cache or the buffer.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques are described for allocating resources to a task from a shared hardware structure. A plurality of tasks may execute on a processor, wherein the processor may include one or more processing cores and each task may include a plurality of computer executable instructions. In accordance with one technique for allocating resources to a task from a shared hardware structure amongst multiple tasks, aspects of the disclosure describe assigning a first identifier to a first task from the plurality of tasks, associating a portion of the shared hardware resource with the first identifier, and restricting access and/or observability for computer executable instructions executed from any other task than the first task to the portion of the hardware resource associated with the first identifier.
-
Citations
16 Claims
-
1. A computing device, comprising:
-
a processor comprising one or more processing cores and operating in a multi-tenant environment, wherein the one or more processing cores executes at least a first virtual machine and a second virtual machine simultaneously, and the first virtual machine comprising a first plurality of computer executable instructions for a first tenant and the second virtual machine comprising a second plurality of computer executable instructions for a second tenant; a cache or a buffer in the processor shared by the first virtual machine and the second virtual machine, the first virtual machine and the second virtual machine executing simultaneously on the one or more processing cores wherein simultaneously executing virtual machines comprises concurrently processing at least one executable instruction belonging to the first virtual machine and at least another executable instruction belonging to the second virtual machine, wherein neither of the instructions belonging to the first virtual machine and the second virtual machine have completed execution; a hardware resource allocator implemented in microcode for the one or more processing cores or privileged code executing on the one or more processing cores to; assign a first identifier to the first virtual machine; and associate a portion of the cache or the buffer with the first identifier; and the processor comprising a hardware resource manager to; restrict access for computer executable instructions executed from the first virtual machine to the portion of the cache or the buffer associated with the first identifier, wherein the computer executable instructions access other portions of the cache or the buffer. - View Dependent Claims (2, 3, 4)
-
-
5. A computing device, comprising:
-
a processor comprising one or more processing cores, wherein the one or more processing cores executes a plurality of tasks simultaneously, wherein each task comprises a respective plurality of computer executable instructions and belongs to a separate virtual machine executing on the one or more processing cores and wherein simultaneously executing tasks from the plurality of tasks comprises concurrently processing at least one executable instruction belonging to a first task from the tasks and at least another executable instruction belonging to a second task from the tasks, wherein neither of the instructions belonging to the first task and the second task have completed execution; a cache or a buffer in the processor shared by the plurality of tasks executing simultaneously on the one or more processing cores; a hardware resource allocator implemented in microcode for the one or more processing cores or privileged code executing on the one or more processing cores, to; assign a first identifier to the first task from the plurality of tasks; and associate a portion of the cache or the buffer with the first identifier; and a hardware resource manager in the processor to restrict, for computer executable instructions executed from another task than the first task from the plurality of tasks, access to the portion of the cache or the buffer associated with the first identifier, such that the other task cannot infer information associated with execution of the first task. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12)
-
-
13. A method, comprising:
-
executing simultaneously a plurality of tasks on a processor, the processor comprising one or more processing cores, each task comprising a respective plurality of computer executable instructions and belonging to a separate virtual machine executing on the one or more processing cores and wherein simultaneously executing tasks from the plurality of tasks comprises concurrently processing at least one executable instruction belonging to a first task from the tasks and at least another executable instruction belonging to a second task from the tasks, wherein neither of the instructions belonging to the first task and the second task have completed execution, and wherein the plurality of tasks executing on the processor share a hardware resource associated with the processor; assigning, by microcode or privileged instructions executing on the one or more processors, a first identifier to a first task from the plurality of tasks; associating a portion of the shared hardware resource with the first identifier, wherein the shared hardware resource is a cache or a buffer in the processor; and restricting observability, for computer executable instructions executed from a task other than the first task, the other task and the first task executing simultaneously on the one or more processing cores, to the portion of the shared hardware resource associated with the first identifier, such that the other task cannot infer information associated with the execution of the first task. - View Dependent Claims (14, 15, 16)
-
Specification