The maximum Mac OS for the Performa 640CD DOS is Mac OS 8.1. If you choose to upgrade the processor to a full 68040 though Mac OS 8.1 may not always run reliably. This happened to me when I upgraded my LC 580 to a full 68040. If you decide to upgrade to a full 68040 then I'd recommend Mac OS 7.6.1 instead since it's more reliable in my experience.