Hi Axel,
I think in both cases root was installed and launched locally. What differs is the current working directory, which is local in one case and remote-via-sshfs in the other. I know since I'm hit with the same problem - root starts up MUCH slower if the current directory isn't local. Similar (and worse) performance loss is also observed when X is forwarded via ssh tunnel, but these issues are unrelated I guess. For the latter case the only hope was to use the ".R" command, but this doesn't seem to move much in development, at least not from the documentation point of view (sorry if I missed any info pages).
Cheers
Eduard
On Tue, 1 Feb 2011, Axel Naumann wrote:
> Hi,
>
> You could install ROOT locally and access your files via SSHFS.
>
> Cheers, Axel.
>
> OKUMURA, Akira wrote on 01/27/2011 07:52 PM:
> > 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 Tue Feb 01 2011 - 12:40:28 CET
This archive was generated by hypermail 2.2.0 : Tue Feb 01 2011 - 17:50:01 CET