Efficient Performance Optimization for Ultrafast All-Optical Switching in SOA-MZI Devices