[Info-vax] SAMBA really sloooow on OVMS Integrity. Any Ideas????

John Reagan johnrreagan at earthlink.net
Wed Aug 18 11:27:33 EDT 2010


"Bob Koehler" <koehler at eisner.nospam.encompasserve.org> wrote in message 
news:qjIOklihOgrD at eisner.encompasserve.org...
>   The best way to access a poorly alined external data stream is to
>   grab the whole thing, then code the movement from an unaligned to
>   an aligned copy (or back) in such a manner as not to create alignment
>   faults.
>

I would not say that is the best way.  For such stores, you have to worry 
about other pieces of code using bytes near your unaligned variable.  That 
is what /GRANULARITY specifies on Alpha.  How much slop you willing to let 
the compiler write back along with your data.

The best solution is to use byte and word sized instructions.  You store 
only the data you want and no alignment faults.

John 





More information about the Info-vax mailing list