摘要 |
In order to properly allocates a limited number of sockets to applications (202, 202, . . . ) in a computer system so as to improve the system network performance, an application management module (300) memorizes the total number of sockets which OS (100) can supply to the applications (202, 202, . . . ), and a target number of sockets for each application. When an application (202) wants to obtain a socket, the application management module (300) recalculates the target number of sockets which can be allocated to the application (202), using a predetermined scheduling algorithm (312), based on the number of sockets presently unallocated and the priority revel of the application (202), and notifies the recalculated target number to the application (202). The application (202) judges from the notified target number whether a socket can be obtained or not, and based on the judgment determines whether or not to actually obtain a socket from the OS (100).
|