Re: slow performance for FITS table writing over NFS with CIAO under OS-X

From: Patrick Broos (patb@astro.psu.edu)
Date: Tue May 20 2008 - 16:00:31 EDT


On Apr 22, 2008, at 3:53 PM, Nancy Evans wrote:

> FITS table file writing through the CXC Data Model slows by a
> significant
> factor on Mac OS X machines - both 10.4 (Tiger) and 10.5 (Leopard) -
> when the
> data is accessed via a networked file system (NFS) mount. This issue
> does not
> affect Solaris or Linux platforms.
>
> The bug page for this issue has details and workarounds to alleviate
> the
> problem:
> http://cxc.harvard.edu/ciao/bugs/nfsmount.html

Chandra Observers,

Under the c-shell you can easily set up an alias that will cd to your
observation via the local path when you're on the machine hosting the
disk, and via the NFS path on other machines. A habit of using such
an alias will ensure that you access your data via the (fast) local
path when possible.

alias 30dor 'eval "if (`hostname -s` == "sequoia") then \\
                pushd /Volumes/Bulk/townsley/30dor/data/ \\
              else \\
                pushd /bulk/sequoia2/townsley/30dor/data/ \\
              endif"'

In this example above, the NFS disk /bulk/sequoia2/ is accessed via
the path /Volumes/Bulk/ when you're on the local machine, sequoia.

Regards,
Patrick Broos
ACIS Team @PSU



This archive was generated by hypermail 2b29 : Wed May 15 2013 - 01:00:12 EDT