Patent ID: 7836227

Claim:
A computer-readable recording medium having recorded thereon a communication program that causes a computer to perform communication processing of received packets in response to reception of interrupt processing, the interrupt processing being performed by a network adapter as a packet reception notification after the lapse of a predetermined holding time has elapsed, wherein the communication program causes the computer to perform: a packet counting process of counting the number of received packets received by the network adapter per unit time and generating a counting result; a parameter value changing process of changing, based on the counting result of the packet counting process, a timer parameter value for determining the holding time; and a CPU usage rate calculation process of calculating the CPU usage rate for each parameter value based on the counting result of the packet counting process, a preset communication processing time required for the communication processing, and a preset interrupt processing time required for the interrupt processing, wherein the parameter value changing process changes the timer parameter value based on a calculation result of the CPU usage rate calculation process.