SSHFS makes the ROOT launch speed slow?

From: OKUMURA, Akira <oxon_at_astro.isas.jaxa.jp>
Date: Thu, 27 Jan 2011 10:52:25 -0800


Hello ROOTers,

I often use Macfusion (http://macfusionapp.org/) and SSHFS (http://fuse.sourceforge.net/sshfs.html) on my Mac to mount a remote file system via SSH, because X11 is very slow with a slow network connection.

My problem is that the ROOT launch speed is slow when I launch ROOT in an SSHFS directory.

This is the result of "time" command on the local file system. It is fast enough.
$ time root -b -q

root [0]
root -l -b -q 0.09s user 0.03s system 97% cpu 0.127 total

And this is the result when I launch ROOT in a directory which is mounted via SSHFS.
$ time root -b -q

root [0]
root -l -b -q 0.09s user 0.04s system 11% cpu 1.143 total

In this example, it takes only 1.1 second because the value was measured from my office where LAN speed is fast. But when I do it from my home, it takes 5 to 10 seconds. In worst case, it takes several ten seconds.

I suppose ROOT does something in a directory when being launch, and hence, it takes long time in the case that SSHFS speed is low.

Is there any hack to get the launch speed faster?

ROOT 5.28.00
OS X 10.6.6
Macfusion 2.0.3

Regards,

--
OKUMURA, Akira oxon@{astro.isas.jaxa.jp,stanford.edu}
Institute of Space and Astronautical Science (ISAS/JAXA)
Now at KIPAC/SLAC/Stanford
Varian Physics #306, 382 Via Pueblo Mall, MC 4060
Stanford, CA 94305-4060
TEL 650-736-0971/FAX 650-724-5065
Skype : okumura.akira
Received on Thu Jan 27 2011 - 19:52:44 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 01 2011 - 17:50:01 CET