Date: Wed, 16 Feb 2011 16:45:19 +0100 From: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= <canevet@embl.fr> To: freebsd-fs@freebsd.org, freebsd-net@freebsd.org Subject: Re: showmount sometimes slow with carp Message-ID: <1297871119.3097.36.camel@pc286.embl.fr> In-Reply-To: <1297870150.3097.30.camel@pc286.embl.fr> References: <1297858944.3097.20.camel@pc286.embl.fr> <1297870150.3097.30.camel@pc286.embl.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-lPyBYh3OoVl54tUoAhA2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi again, again, The problem seams to be even more general (so I put freebsd-net in copy). When I ping carp interface, I lost some pings... ping data-test PING data-test.embl.fr (172.26.9.236) 56(84) bytes of data. 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D7 ttl=3D64 time=3D0.183 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D8 ttl=3D64 time=3D0.217 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D23 ttl=3D64 time=3D0.273 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D24 ttl=3D64 time=3D0.217 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D25 ttl=3D64 time=3D0.219 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D26 ttl=3D64 time=3D0.132 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D27 ttl=3D64 time=3D0.203 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D28 ttl=3D64 time=3D0.157 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D29 ttl=3D64 time=3D0.191 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D30 ttl=3D64 time=3D0.238 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D31 ttl=3D64 time=3D0.226 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D32 ttl=3D64 time=3D0.272 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D33 ttl=3D64 time=3D0.215 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D36 ttl=3D64 time=3D0.180 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D37 ttl=3D64 time=3D0.314 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D38 ttl=3D64 time=3D0.169 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D39 ttl=3D64 time=3D0.206 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D40 ttl=3D64 time=3D0.170 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D41 ttl=3D64 time=3D0.158 ms ^C --- data-test.embl.fr ping statistics --- 41 packets transmitted, 19 received, 53% packet loss, time 40184ms rtt min/avg/max/mdev =3D 0.132/0.207/0.314/0.045 ms Is it a bug, or am I doing something wrong ? Here is my network configuration: defaultrouter=3D"172.26.9.254" hostname=3D"pc234.embl.fr" cloned_interfaces=3D"lagg0 carp0" ifconfig_bge0=3D"up" ifconfig_em0=3D"up" ifconfig_em1=3D"172.26.14.234/24" ifconfig_lagg0=3D"laggproto failover laggport bge0 laggport em0" ipv4_addrs_lagg0=3D"172.26.9.234/24" ifconfig_carp0=3D"vhid 1 pass 497500fd0f6c3988d1f advskew 10 172.26.9.236/24" Tomorrow I'll try with a carp interface that is not over a network bonding to see if the problem comes from that. Micka=C3=ABl On Wed, 2011-02-16 at 16:29 +0100, Micka=C3=ABl Can=C3=A9vet wrote: > Hi again, >=20 > I also have a problem when I mount an exported filesystem through the > carp VIP. >=20 > When I do that: >=20 > mount <real IP or alias>:/data/user /mnt > while true; do time df -H /mnt > /dev/null; sleep 5; done 2>&1 | grep > ^real >=20 > real 0m0.004s > real 0m0.004s > real 0m0.004s > real 0m0.004s > real 0m0.004s > ... >=20 > But when I do that: >=20 > mount <carp vip>:/data/user /mnt > while true; do time df -H /mnt > /dev/null; sleep 5; done 2>&1 | grep > ^real > real 0m0.005s > real 0m0.207s > real 0m0.206s > real 0m52.150s > real 0m0.004s > real 0m0.004s > real 0m0.002s > real 0m0.204s > real 0m0.206s > real 0m0.614s > real 0m0.004s > real 0m0.207s > real 0m0.205s > real 0m0.206s > real 0m0.206s > real 0m0.613s > real 0m0.003s >=20 > Every now and then I have a long delay with the vip that I don't have > with the real IP or an alias... >=20 > On Wed, 2011-02-16 at 13:22 +0100, Micka=C3=ABl Can=C3=A9vet wrote: > > Hi, > >=20 > > I installed a redundant NAS with FreeBSD 8.2RC3 + Hast + ZFS + Carp. > >=20 > > Each machine has its own IP address, and share a virtual IP with carp. > >=20 > > When I launch 'showmount -e <one machine real ip>' from a linux client > > or a freebsd client, I got my answer immediately (about 5ms). But when = I > > try with carp virtual IP or FQDN, it sometimes takes around 20 seconds, > > or even 1 minute, but not everytime. > >=20 > > It is really annoying because automount, at least the linux version, > > seams to use showmount to get server exports. So it sometimes does not > > work through the carp virtual IP. > >=20 > > Can anybody help me ? > >=20 > > Thanks a lot, > >=20 > > Micka=C3=ABl >=20 --=-lPyBYh3OoVl54tUoAhA2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk1b8Q8ACgkQZjBmN5Hi/YZtJQCgjAybI68s9DyqnQIkm4SaXPI7 GvUAn2q+wv2XqgeXVNGsoOJ1CxODYc5B =c3hP -----END PGP SIGNATURE----- --=-lPyBYh3OoVl54tUoAhA2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1297871119.3097.36.camel>