CPC G06F 3/0631 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0644 (2013.01); G06F 3/0659 (2013.01); G06F 3/0665 (2013.01); G06F 3/067 (2013.01)] | 20 Claims |
1. A method of managing a plurality of virtual partitionings of a storage unit comprising a plurality of portions, each virtual partitioning of the plurality of virtual partitionings allotting none, one, or more than one portion of the plurality of portions of the storage unit to each of at least two types of data, the plurality of virtual partitionings being used to allocate one or more portions of the plurality of portions of the storage unit to a plurality of tasks for temporarily storing the at least two types of data, the method comprising:
configuring each virtual partitioning of the plurality of virtual partitionings with a default configuration in which a maximum of X-D portions of the storage unit is allotted to a first type of data of the at least two types of data, wherein X is a total number of portions of the storage unit and D is a default guaranteed number of portions of the storage unit for use by a task to store a second type of data of the at least two types of data;
determining whether a task of the plurality of tasks requires more than the default guaranteed number of portions of the storage unit to be allocated for storing the second type of data prior to execution of the task;
in response to determining that the task requires more than the default guaranteed number of portions of the storage unit to be allocated for storing the second type of data prior to execution of the task, temporarily configuring one or more virtual partitionings of the plurality of virtual partitionings so that each virtual partitioning of the plurality of virtual partitionings allots a maximum of X-R portions of the storage unit to the first type of data and causing the task to be initiated, wherein R is the number of portions of the storage unit required to be allocated prior to execution of the task; and
in response to determining that the task has been executed, configuring the one or more virtual partitionings with the corresponding default configuration.
|