EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Arcturus uCDimm + TFTP
From: Eric Norum <[email protected]>
To: John Dobbins <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Tue, 15 Feb 2011 13:13:34 -0800
The problem is that the network stack provided by the uCDIMM bootstrap has a *very* small receive queue.    If you have any significant broadcast traffic on the network segment you'll start losing TFTP packets resulting in massive slowdowns.

Possible workarounds:
1) Burn your first application into the ColdFire using TFTP on a quiet network segment -- I did this by connecting the ColdFire directly to my laptop -- with only two device on the network the TFTP transfers run very fast.
2) From then on use the EPICS flash memory driver to update your application.  The RTEMS network stack is much more robust and doesn't drop packets so easily.

What's really annoying is that the bad behaviour could be fixed with a small change in the bootstrap code -- once TFTP has begun, turn off reception of broadcast packets in the network hardware then turn reception back on when the TFTP command is terminated.   This would completely fix the problem while still allowing RARP/etc. to continue to work.   I suggested this to Arcturus several times, but they clearly haven't fixed things yet.


On Feb 15, 2011, at 1:01 PM, John Dobbins wrote:

> Hello All,
> 
> I have just built EPICS base and an example IOC for an RTEMS-uC5252 target (EPICS R3.14.11, RTEMS 3.9.3), which I can say went swimmingly well. However tftp problems are sucking all the fun out of it. The Arcturus uCDimm comes with a TFTP server which I am using with a 255.255.0.0 netmask. File transfer takes forever and usually ends in a time-out error. We have some evidence that things work much better on a subnet with a 255.255.255.0 mask. Can anyone shed light on any of this?
> 
> Regards,
> 
> John Dobbins
> 
> Cornell University

-- 
Eric Norum
[email protected]



Replies:
Re: Arcturus uCDimm + TFTP John Dobbins
References:
Arcturus uCDimm + TFTP John Dobbins

Navigate by Date:
Prev: Arcturus uCDimm + TFTP John Dobbins
Next: Re: Arcturus uCDimm + TFTP Nicholas P. DiMonte
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Arcturus uCDimm + TFTP John Dobbins
Next: Re: Arcturus uCDimm + TFTP John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·