[OpenAFS] replication over slower bandwidth
Jeffrey Altman
jaltman@your-file-system.com
Thu, 09 Feb 2012 23:29:18 -0500
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8C6B98E7E9C57AB17A87147F
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 2/9/2012 11:05 PM, muayad y wrote:
> After changing rx.h and recompile debian source packages I was able to
> transfer 4.6 MB in 10 seconds 400KB/s. Not sure if this was mistakenly
> commented out
> diff openafs-1.4.12.1+dfsg/src/rx/rx.h ./rx.h.org
> 243c243
> < afs_int32 maxPacketSize; /* max packet size should be
> per-connection since */
> ---
>> /* afs_int32 maxPacketSize; max packet size should be
> per-connection since */
>=20
That field was commented out before OpenAFS and maxPacketSize was not
referenced anywhere in the source code. What restoring that field to
rx.h does is force the struct rxevent * values that follow it to become
properly aligned in 64-bit builds.
Lack of proper alignment can really hurt.
--------------enig8C6B98E7E9C57AB17A87147F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iQEcBAEBAgAGBQJPNJ0hAAoJENxm1CNJffh4aMUIAIPWBlZeDSqX04/UvmOWrUjd
mgukhyv6VfI6LqE08uuVrQW6vbuzmjXKZ4/DlGh/jTBfdRc88ptwqz3oPHLYdn4h
Kc8XLoN7QfOkbRCf677f+nmqVOAgLuE3aqxrcuCzuQfl0uEr0kC7wudhgtio+Et5
BHL4Q32JNlV75pgDGnOGn145E2g2QAAWWKk8mMa48We7ERjRpni8fUynKbMVg9RL
uMAUW0ReMirC5caj7g9y7E10Q9te6JQHEjM65iJT5B8CH9TDccHPuYFugKNHb0DJ
e3EjXyrcSQkLGYKnMfi1p5RWHY5JAnG513ksn/CMSRqFj0OgHKBdWR7DfYKh6JY=
=saYd
-----END PGP SIGNATURE-----
--------------enig8C6B98E7E9C57AB17A87147F--