Adjusting thread priority to improve throughput between peer-to-peer (P2P) devices
First Claim
1. A method, comprising:
- receiving, by a processor, a current pending packet number representing a number of packets of data that currently remain to be transferred between two devices;
determining, by the processor, whether to adjust a priority of a thread based on the current pending packet number, a previous pending packet number, and a priority pending packet number, wherein the thread is to be executed by the processor to perform a transfer of the packets of data between the two devices, the previous pending packet number represents a number of packets of data that previously remained to be transferred between the two devices, and the priority pending packet number corresponds to the current priority of the thread; and
adjusting or maintaining, by the processor, the priority of the thread based on an outcome of the determining.
7 Assignments
0 Petitions
Accused Products
Abstract
In some implementations, a processor is configured to receive a current pending packet number representing a number of packets of data that currently remain to be transferred between two devices, determine whether to adjust a priority of a thread based on the current pending packet number, a previous pending packet number, and a priority pending packet number, and adjust or maintain the priority of the thread based on determining whether to adjust the priority of the thread. The thread is to be executed by the processor to perform a transfer of the packets of data between the two devices, the previous pending packet number represents a number of packets of data that previously remained to be transferred between the two devices, and the priority pending packet number corresponds to the current priority of the thread.
8 Citations
21 Claims
-
1. A method, comprising:
-
receiving, by a processor, a current pending packet number representing a number of packets of data that currently remain to be transferred between two devices; determining, by the processor, whether to adjust a priority of a thread based on the current pending packet number, a previous pending packet number, and a priority pending packet number, wherein the thread is to be executed by the processor to perform a transfer of the packets of data between the two devices, the previous pending packet number represents a number of packets of data that previously remained to be transferred between the two devices, and the priority pending packet number corresponds to the current priority of the thread; and adjusting or maintaining, by the processor, the priority of the thread based on an outcome of the determining. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus, comprising:
-
a high speed interface; and a processor coupled with the high speed interface, the processor configured to; receive a current pending packet number representing a number of packets of data that currently remain to be transferred between two devices; determine whether to adjust a priority of a thread based on the current pending packet number, a previous pending packet number, and a priority pending packet number, wherein the thread is to be executed by the processor to perform a transfer of the packets of data between the two devices, the previous pending packet number represents a number of packets of data that previously remained to be transferred between the two devices, and the priority pending packet number corresponds to the current priority of the thread; and adjust or maintain the priority of the thread based on an outcome of the determination. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
a first device; a second device; a high speed interface coupling the first device with the second device; and a processor coupled to the second device, the processor configured to; receive a current pending packet number representing a number of packets of data that currently remain to be transferred between the first and the second devices; determine whether to adjust a priority of a thread based on the current pending packet number, a previous pending packet number, and a priority pending packet number, wherein the thread is to be executed by the processor to perform a transfer of the packets of data between the first and the second devices, the previous pending packet number represents a number of packets of data that previously remained to be transferred between the first and the second devices, and the priority pending packet number corresponds to the current priority of the thread; and adjust or maintain the priority of the thread based on an outcome of the determination. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification