Possible Duplicate:
Are there performance issues when using pragma pack(1)?
What's the downside of doing pragma pack(1) in C? I have defined some struct data for a communication protocol and I want to turn off any byte alignment so the data is exactly where it should be and I get the actual size of the struct (11 bytes). What's the downside of turning off byte alignment? Is it performance?