A resource management method, applied to a host, wherein the host comprises a CPU and multiple endpoints connected to the CPU, each endpoint is connected to at least one I/O device , a process is configured in the CPU; and the method comprises: allocating, by the CPU , a target endpoint from the multiple endpoints to a target process, wherein a virtual device is disposed on the target endpoint ; obtaining, by the target endpoint , a performance specification of the target process, wherein the performance specification is a requirement for a type of performance in a service level agreement, SLA; adjusting a performance parameter of the virtual device, by the target endpoint , according to the performance specification, wherein the performance parameter is a value of a type of performance of a resource, such that the adjusted virtual device satisfies a total requirement of performance specifications of all processes that use the target endpoint ; and when the target process needs to access the resource, sending, by the CPU , a resource access request, of the target process, for the virtual device to the target endpoint; and after receiving the resource access request; obtaining, from a resource pool, the resource that satisfies the performance specification of the target process, and providing the obtained resource to the target process for use; wherein resources of the multiple I/O devices from the multiple endpoints form the resource pool together; the adjusted virtual device satisfies a total requirement of performance specifications of all processes that use the target endpoint specifically comprises: for performance that can be shared by multiple processes, satisfying a maximum requirement for this performance parameter in all performance specifications; and for performance that cannot be shared by the multiple processes, satisfying a total requirement for performance parameters in all performance specifications. allocating, by the CPU , a target endpoint from the multiple endpoints to a target process, wherein a virtual device is disposed on the target endpoint ; obtaining, by the target endpoint , a performance specification of the target process, wherein the performance specification is a requirement for a type of performance in a service level agreement, SLA; adjusting a performance parameter of the virtual device, by the target endpoint , according to the performance specification, wherein the performance parameter is a value of a type of performance of a resource, such that the adjusted virtual device satisfies a total requirement of performance specifications of all processes that use the target endpoint ; and when the target process needs to access the resource, sending, by the CPU , a resource access request, of the target process, for the virtual device to the target endpoint; and after receiving the resource access request; obtaining, from a resource pool, the resource that satisfies the performance specification of the target process, and providing the obtained resource to the target process for use; wherein resources of the multiple I/O devices from the multiple endpoints form the resource pool together; the adjusted virtual device satisfies a total requirement of performance specifications of all processes that use the target endpoint specifically comprises: for performance that can be shared by multiple processes, satisfying a maximum requirement for this performance parameter in all performance specifications; and for performance that cannot be shared by the multiple processes, satisfying a total requirement for performance parameters in all performance specifications. for performance that can be shared by multiple processes, satisfying a maximum requirement for this performance parameter in all performance specifications; and for performance that cannot be shared by the multiple processes, satisfying a total requirement for performance parameters in all performance specifications. <EOS>