[OpenAFS] Re: Request for testing: NATs and 1.6.6pre*

Jukka Tuominen jukka.tuominen@finndesign.fi
Sat, 21 Dec 2013 09:33:45 +0200


Thank you Atro,
That is very promising, I  will look into it. I remember tweaking ff prefere=
nces more network friendly earlier, but this particular one I can't recall.=20=


I'd be happy to fix the ff issue, but I still think there is something more g=
eneric also. Propably it is not NAT related, but I may try it anyhow to be o=
n the safe side.=20

br, jukka

Sent from my iPhone

> On 21.12.2013, at 0.28, Atro Tossavainen <openafs@atrotossavainen.fi> wrot=
e:
>=20
>> On Sat, Dec 21, 2013 at 12:17:05AM +0200, Jukka Tuominen wrote:
>>=20
>> These hangs can last 10+ seconds over WAN, but not quite a minute at leas=
t
>> today. However, when I straced firefox, there are indications that a
>> missing /etc/ld.so.nohwcap file and installed "preload" package may be
>> causing at least part of the problem. Maybe the system is trying speed up=

>> things by loading files to memory, but the loaded files are not local. I
>> need to study this a bit further.
>=20
> My experience (going back a few years, at this point) is that Firefox
> is painfully slow when your home directory is on AFS, even when the
> client and servers are connected through a gigabit LAN.
>=20
> I think it has to do with the sqlite databases that Firefox is using.
>=20
> If you google "firefox slow network home directory", you can find a few
> Mozilla bugs where the context is that the home directories are on AFP
> (Macs with Mac networking).
>=20
> Nathan Froyd had this to offer in one such discussion:
> (This is in https://bugzilla.mozilla.org/show_bug.cgi?id=3D918612)
>=20
> "My guess is that xFetch and xUnfetch don't work properly across remote sh=
ares.  I think sqlite should be fixed, but we'd need a short-term solution. =
 Maybe there's an SQLite VFS for Unix that DTRT with remote drives...does se=
tting the boolean pref storage.nfs_filesystem to true help out at all?"
>=20
> To which Steven Michaud replied:
>=20
> "> does setting the boolean pref storage.nfs_filesystem to true help out a=
t all?
>=20
> Yes!  It cleared the problem right up.
>=20
> You probably want to try this, Marty.  Note that the setting doesn't alrea=
dy exist -- you need to create it in about:config."
>=20
> Marco Bonardo comments:
>=20
> "I think there are various issues here.
>=20
> First bug 719952 shows that we have a long story of problems on remote sha=
res, basically most remote FS are bogus and Sqlite makes its best, but won't=
 be able to work flawlessy cause the FS lies to it."
>=20
> I'm getting a headache already.
>=20
> Cheers, Atro
> --=20
> Atro Tossavainen, Chairman of the Board
> Infinite Mho Oy, Helsinki, Finland
> tel. +358-44-5000 600, http://www.infinitemho.fi/
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info