Falls Du WinAVR im AVR-Studio nutzt, findest Du die Optimierung unter Project -> Configuration Options -> General -> unterstes Drop-Down Feld.
-Os ist generell eine gute Wahl.

Gruß,
askazo