Method and apparatus for runing a service, and electronic device
Embodiments of the disclosure provide a method and apparatus for running a service, and an electronic device. An embodiment of the method includes: determining a target deployment manner of a graphics processing unit (GPU) according to performance data of each service in a service set, where the dep...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Embodiments of the disclosure provide a method and apparatus for running a service, and an electronic device. An embodiment of the method includes: determining a target deployment manner of a graphics processing unit (GPU) according to performance data of each service in a service set, where the deployment manner includes: dividing the GPU into sub-GPUs of a respective size and determining a service configured to be run by each sub-GPU; and switching, for the service in the service set, running of the service from a sub-GPU indicated by a current deployment manner to a sub-GPU indicated by the target deployment manner. According to the embodiment, waste of the GPU can be reduced by running a plurality of services on the GPU. |
---|