This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: udp problem & network stack questions


> 2. Using a tcp/ip connection (that works) I noticed that the decoding time 
> of the mpeg3 decoder doubles if during the decoding the network threads are 
> active.
> More clearly, the test I've done to understand why the mpeg3 decoder was not 
> real-time is the following:
> 
> - The client initializes the interfaces (init_all_network_interfaces)
> - connects to the server
> - starts decoding taking encoded frames from the memory
> 
> The decoding time in this case is double with respect to the secoding time I 
> get without the first two steps. Is it possible such a performance 
> decreasing only caused by the presence of network threads?

What priority is the network threads compared to the mpeg3 decoder?
TCP is obviously not real time, so there is no point running it at a
higher priority than the decoder. 

       Andrew


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]