Methods and systems for performing operations in response to detecting a computer idle condition
First Claim
1. A method of determining when to perform a computer background process, the method comprising:
- allowing the computer background process to access a computer resource for a first predetermined time period;
after the first predetermined time period has elapsed, inhibiting the computer background process from accessing the computer resource for a second predetermined time period;
after the second predetermined time period has elapsed, determining if the computer resource is being used by another process, wherein if the computer resource is being used by another process, waiting for a third predetermined time period and again determining if the computer resource is being used by another process, and if the computer resource is not being used by another process, allowing the computer background process to access the computer resource again.
3 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the invention enable the efficient use of shared resources by different processes, such as background and foreground processes sharing a mass storage device. Thus, disk intensive operations, such as file indexing, do not unduly interfere with higher priority processes. In one embodiment, a first process is permitted to access a computer resource for a first predetermined time period After the first predetermined time period has elapsed, the first process is inhibited from accessing the computer resource for a second predetermined time period. After the second predetermined time period has elapsed, a determination is made as to whether the computer resource is idle, wherein if the computer resource is not idle, the embodiment waits for a third predetermined time period and again determining if the computer resource is idle, and wherein if the computer resource is idle, the embodiment allows the first process to access the computer resource again.
122 Citations
84 Claims
-
1. A method of determining when to perform a computer background process, the method comprising:
-
allowing the computer background process to access a computer resource for a first predetermined time period;
after the first predetermined time period has elapsed, inhibiting the computer background process from accessing the computer resource for a second predetermined time period;
after the second predetermined time period has elapsed, determining if the computer resource is being used by another process, wherein if the computer resource is being used by another process, waiting for a third predetermined time period and again determining if the computer resource is being used by another process, and if the computer resource is not being used by another process, allowing the computer background process to access the computer resource again. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A computer system that detects a computer resource idle condition, the computer system comprising:
-
a processor;
memory coupled to the processor;
a computer resource; and
program instructions stored in computer readable memory configured to;
enable a computer background process to access the computer resource for a first time period;
after the first predetermined time period has elapsed, prevent the computer background process from accessing the computer resource for a second time period;
determine if the computer resource is idle;
allow the computer background process to access the computer resource again if the computer resource is idle;
prevent the computer background process from accessing the computer resource for a third time period, if the computer resource is not idle, and after the third time period, again determine if the computer resource is being used by another process.
-
- 26. The computer system as defined in claim 26, wherein the computer resource is a mass storage device.
-
48. A method of allocating access to a computer resource, the method comprising:
-
permitting a first process to access a computer resource for a first time period;
after the first time period has elapsed, inhibiting the first process from accessing the computer resource for a second time period;
after the second time period has elapsed, determining if the computer resource is idle based at least in part on a computer resource performance indicator, wherein if the computer resource is not idle, waiting for a third predetermined time period and again determining if the computer resource is idle, and if the computer resource is idle, allowing the first process to access the computer resource again. - View Dependent Claims (49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66)
-
-
67. A system that allocates access to a computer resource, the system comprising:
-
computer readable memory; and
instructions stored in the computer readable memory configured to;
permit a first process to access a computer resource for a first time period;
after the first time period has elapsed, inhibit the first process from accessing the computer resource for a second time period;
after the second time period has elapsed, determine if the computer resource is idle based at least in part on a computer resource performance indicator, wherein if the computer resource is not idle, cause the first process to wait for a third predetermined time period and again determine if the computer resource is idle, and if the computer resource is idle, allow the first process to access the computer resource again. - View Dependent Claims (68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84)
-
Specification