Bad results may contain very information. So I can help you, tell me what is the experimental design used. For example: number of VMs, workloads, and the scenario considered.
i am working in allocating cloudlets to vms i use pso GA for this purpose when using 5 vm give me good results but when i change it give me bad results
the good result is minimizing the execution time than the default algorithm and bad result give me more time than the default one
The number of VMS influence the performance, especially if they are co-hosted on a single physical host. This occurs due to interference of virtualization. In this case, the VM is equal workload, consequently, they compete for the same resources.
That depends on how you are simulanto these VMs and the resources involved.