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 */
> 

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.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to