Andras Garzo wrote:
> Hi,
> 
> I'm sorry that I've disappeared, but since then I've absolutely no time 
> to continue this project.
> Now I try to patch my xmit rutin, to trigger transmission atomic, but 
> I'm not sure how it works now...

Well, you placed the timestamp patching outside the lock while your own
comment already marks the right location...

> Please take a look at that, here's the code: 
> http://garzoand.web.elte.hu/blackfin/bfport
> 
> Another question: the telnet via rtnetproxy is very slow, and often 
> freezes my system for 5-6 seconds.
> After that, the system continues running, but some times later hangs 
> again. Do you have any idea, why?

Maybe you are loosing packets somewhere. You should first try to analyze
the traffic on the wire vs. on RTnet node to check where the problem is.

> But there's an another interesting thing: we are using GPS to syncronize 
> system time. The PPS signal is
> connected to one of the pushbuttons, and we are handling the rising irq 
> via rtdm. When the GPS works,
> and we get a PPS signal periodicly in every secounds, the system never 
> hangs (however telnet and ssh still
> slow but useable, FTP and scp works fine). How can it possible?

Last time I checked with my stamp board, the Adeos patch for bfin caused
some negative side-effects on Linux scheduling. I'm not sure if that
issue still persists, but I haven't heard any news regarding this from
Philippe. That issue /may/ also bite you here (ie. you aren't actually
facing packet drops).

However, first check for packets drops / overfull queues. If that is not
the problem, it would interesting to try your load on a different
architecture, e.g. a standard PC.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to