METHOD AND DEVICE FOR ALLOCATING RESOURCES ACCORDING TO TYPE OF PCI DEVICE, AND MEDIUM

A method and device for allocating resources according to the type of a PCI device, and a medium, the method comprising: in a process of starting up a BIOS, acquiring information of a switch chip captured in a PCI enumeration operation; then, determining whether the PCI device is connected to a GPU...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: SUN, Xiuqiang
Format: Patent
Sprache:chi ; eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A method and device for allocating resources according to the type of a PCI device, and a medium, the method comprising: in a process of starting up a BIOS, acquiring information of a switch chip captured in a PCI enumeration operation; then, determining whether the PCI device is connected to a GPU server according to the information of the switch chip; if yes, canceling an operation of allocating IO resources to the PCI device; and if not, allocating the IO resources and memory resources to the PCI device according to a predetermined allocation rule. In the present method, whether a PCI device is connected to a GPU server is determined using information of a switch chip, and then it is determined whether IO resources need to be allocated. Therefore, compared to resource allocation methods in existing technology, the present method has the advantages of the allocation of the IO resources to the PCI device being selectively canceled when the IO resources are insufficient and being able to guarantee the normal