Uses Figure 5 design method, the server may also act according to the client side feedback the RTCP package of knowing client side network condition, adopts certain strategy to carry on the RTP package of transmission task in view of the different customer network quality the dispatch, regarding the band width quality good customer, the event thread may put some RTP package to the formation in; Regarding because the network quality creates the soon overtime's customer connection, the server may also carry on the special handling through the task scheduling way, maximum limit provides the different quality the customer connection service.
The above design is in the hardware has in a CPU situation, when the system hardware has the CPU integer is when n (n>1, does in fact for class media server's hardware demand, CPU is cannot satisfy system requirements by far), the procedure will use n processing thread to share the event thread dispatch the duty, enhances the performance using system's extendibility.
2.4 performance analyses
The new design's plan has displayed the instruction topicality and the data topicality merit fully. The processing thread when processes the formation duty, because in the formation each operation does the matter same (for example does not stop sends the RTP package), therefore each operation's command sequences are identical; Moreover, when customer after connection requests when obtains the hot spot program's media file, the instruction operation's data will be also close, in a scope very small region. Thus, after undergoing several operations, when the instruction is loaded to Cache, the data loads after the memory, no longer needs to move from the floppy disk, enhanced the procedure performance enormously.
The new design's plan may realize the class media data to deposit continuously in the memory, the quick access as well as the Cache prefetching, the resource management way transforms from take the application thread as the central resource management and the assignment into take the data as the central resource management and the assignment.
The weight class media server's performance may act according to serves CPU the load situation to weigh. The CPU service condition is main and the connection customer number, the client side operation like read, enters quickly, the search and so on is related. Regarding a 22kbps document collection, the improvement server design proposal and the traditional server design proposal's performance fit and unfit quality comparison curve, as shown in Figure 6.
Figure 6 manifested along with CPU number increase, the tradition design proposal performance change has not been big, the improvement design proposal in many CPU systems, has used the Cache formidable function which fully CPU brought, the CPU overall load obvious drop, might obtain the performance the enormous enhancement.
Other pages: : <<Prev * 1 * 2 * 3 * 4 * 5 * Next>>
|