EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: NFS performance problems on vxWorks
From: Dirk Zimoch <[email protected]>
To: TECHTALK <[email protected]>
Date: Thu, 11 Nov 2004 16:57:40 +0100
Hi all,

our vxWorks IOCs mount their boot directory, auto-save-and-restore directory and data aquisition directory via NFS.

Now, I noticed a very poor performance on several IOCs. Test performance, I have a 10MB file in a mounted directory and copy it to the null device:

timex copy,"/work/bench/big10","/null"

or

sp timex,copy,"/work/bench/big10","/null"

In the best case, it takes about 4 to 6 seconds, but it can also take up to 16, 25, 60, even 300 seconds. On some IOCs I can't even read the file at all (copy: error reading file after copying 5619712 bytes.)

It does not matter if the copy runs in the background or in the foreground.

With tcpdump, we found that from time to time while reading the file, the IOC repeats an NFS read request for a block of data after 5 seconds. This leads to the assumption that the IOC had not received the data block. Every read problem adds another 5 seconds to the execution time.

I have also tried to write 10MB to an NFS directory. There are the same problems. From time to time, the file stops growing for a few seconds.

I found that on newer IOCs (MVME5110) running vxWorks 5.5, the problem is less frequent than on MVME2306 running vxWorks 5.3, but I also found fast MVME2306s and slow MVME5110s.

Different IOCs on the same switch mounting from the same PC behave differently.

When only vxWorks is running but not EPICS, it seems to be ok. If an empty EPICS (no records) is running, there few errors. The problem does not depend on the EPICS version (I tried 3.13.2 and 3.13.9). The idle time of the ioc is about 80%.

Unforunately, I don't know for how long the performance is that bad. Maybe it was always like now.


Does anyone have any idea?


What is your experience with NFS?


Dirk


--
Dr. Dirk Zimoch
Swiss Light Source
Paul Scherrer Institut
Computing and Controls
phone +41 56 310 5182
fax   +41 56 310 4413

Replies:
Re: NFS performance problems on vxWorks Andrew Johnson

Navigate by Date:
Prev: Re: Options for local booting of vxWorks and applications Graham Waters
Next: Re: NFS performance problems on vxWorks Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Modbus and Wago Bill Nolan
Next: Re: NFS performance problems on vxWorks Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·