Patent ID: 8185898
Filing Date: 2012-05-22
Classification: G06F

Abstract:
1. A method of streaming remote procedure invocation for multi-core systems to execute a transmitting thread and an aggregating thread of a multi-core system, comprising the steps of: temporarily storing data to be transmitted; activating the aggregating thread if the amount of the temporarily stored data to be transmitted is equal to or greater than a first threshold and the aggregating thread is at pause status; and pausing the transmitting thread if there is no space to temporarily store the data to be transmitted; wherein the method further comprises the steps executed by a middleware of: retrieving data to be aggregated; activating the transmitting thread if the amount of data to be aggregated is less than a second threshold and the transmitting thread is at pause status; and pausing the aggregating thread if there is no data to be retrieved; wherein the middleware is implemented on a processor architecture comprising a plurality of clients and a plurality of servers, and the middleware comprises: a streaming channel module configured to be the communication channel for transmitting streaming data between the clients and the servers; a plurality of streaming buffer modules configured to temporarily store the data to be transmitted through the streaming channel module; and a streaming controller module configured to monitor the streaming channel module and control transmitted and aggregated behaviors operated on the streaming buffer modules; wherein the second threshold is equal to or less than the result of the response time of the next processor stage of a server minus the activation time of the server and the data processing time required by the server multiplied by the rate of a client access to the streaming channel module.