Yes, virtual machines definitely affect performance. You have to set aside RAM, disk space, CPU cores, and other resources from the host (main) PC to each guest.