I own a lets say a decent laptop with 6gb ram and i5 4CPUs ~2.5 Ghz and I create a virtual machine with half of my resources with default options, I don't change anything and after some time let's say 1h OR if I don't to nothing on virtual machine the cpu start to idle and if I came back to the virtual machine it works VERY slow, looks like the VM freeze or something. There is any options to improve performance on VMware? Why it freeze? Also sometimes the vmware crash. Any tips?
EDIT
I installed a new version of vmware I will comeback to an answer after a few hours too see how it goes...
SOLVED Works great with the last version of VMware... the version which cause me probles was from 2013.
When you have i5 and 6GB of ram. VMware should run perfectly fine. Make sure that there are no other applications running in your base operating system.
The probable reasons can be insufficient RAM or CPU over heat.You dont have to allot half of your resources until and unless you are going to use them in your virtual machine.
If possible reinstall your VMware with optimum resources. Need not to be half of your system.
Related
I have an N5010 Dell Inspiron laptop from an old time. Due to some problems, I cannot install an operating system on it.
I don't want to explain the details of the problem to avoid someone bypass the answer. What I want to do is to install the operating system on the hard disk from virtualbox and then move the hard-disk back to the laptop. The problem is that an operating system cannot be installed by a system and then work on another system. Therefore, I should have a virtual machine very similar to my laptop.
My laptop's spec is
CPU : Intel Core(TM) i3 CPU M380 # 2.53 GHz
Memory : 8GB
HDD : 1TB
Mother Board : 09909 -1 D15 A14 MB
The questions are
Can I simulate such a system on virtualbox?
Are these information enough to make the systems identical enough for OS to work?
When I use vm a long time, or started operations with big files in my vm, periodially I get bug: process vmware-vmx.exe never stop disk activity and vm stops responding(or very slow).
Host system: windows 10;
Client (usual): ubuntu 16.04.
That problem happened on different disks (samsung, seagate) and different client systems (various ubuntu).
All disks have alot of free place and don't have bad sectors.
This problem resolved: just update vmware with 12.1.0 to 12.5.2 and in a vm-ubuntu system: etc/fstab swap should not be disabled.
I am using Eclipse for C/C++ development. I am trying to compile and run a project. When I compile and run the project after a while my CPU gets to 100% usage . I checked "Task Manager" and there I found that Eclipse isn't closing any of the previous build and it's running in the background which uses my CPU heavily. How do I solve this problem. When at 100% usage my PC becomes very very slow.
If you don't want the build to use up all your CPU time (maybe because you want to do other stuff while building) then you could decrease the parallelism of the build to a point where it leaves one or more cores unused. For example, if you have 8 cores you could configure your build to only use 6 of them.
Your build will take longer, but your machine will be more responsive for other tasks while the build runs.
Adding More RAM seems to have solved my problem. Disk usage is also low now. Maybe Since there wasnt enough RAM in my laptop the CPU was fetching data from the Disk directly which made the disk usage to go up.
If we assume we have only the binary, we can use windbg to drop into assembly and see what’s going on. Since windows guests run in fully emulated mode, it should be straightforward to trace in the guest.
If we want to trace what is happening in the virtualization layer, i.e. hypervisor, it will be a bit difficult. It depends on what kind of machine we are running on. These days all machines are 64 bit with VMX enabled which allow the hypervisor to intercept guest instructions on the fly, since processor virtualization is implemented in hardware.
Since it is just a trap by which the guest drops into hypervisor it is almost impossible to tell when the guest has entered the hypervisor and when its back. However we probably will not achieve much by tracing any code in the hypervisor.
In a VMX enabled machine only page table write changes and IOPL changes will go to hypervisor. Everything else is handled in the guest itself.
For all practical application debugging windbg should be fine.
Can we Trace the running Process(.exe) & its Instructions at guest OS using WinDbg??
Please help on this...
Im really appreciating your time on this ..
Thank you .. :)
I'm not entirely sure what you're asking, but if you're asking if you can run windbg on a virtualized machine, then yes, it works just like it does on a physical machine.
If you want to attach to the process that is running the virtual machine itself, but look at a process that is inside of the guest os, then the answer is no.
i wrote a cuda program and i am testing it on ubuntu as a virtual machine. the reason for this is i have windows 7, i don't want to install ubuntu as a secondary operating system, and i need to use a linux operating system for testing.
my question is: will the virtual machine limit the gpu resources? So will my cuda code be faster if i run it under my primary operating system than running it on a virtual machine?
I faced a similar task once. What I ended up doing was installing Ubuntu on a 8GB thumb drive with persistent mode enabled.
That gave me 4GB to install CUDA and everything else I needed.
Having a bootable USB stick around can be very useful. I recommend reading this.
Also, this link has some very interesting material if you're looking for other distros.
Unfortunately the virtual machine simulates a graphics device and as such you won't have access to the real GPU. This is because of the way the virtualisation handles multiple VMs accessing the same device - it provides a layer in between to share the real device.
It is possible to get true access to the hardware, but only if you have the right combination of software and hardware, see the SLI Multi-OS site for details.
So you're probably out of luck with the virtualisation route - if you really can't run your app in Windows then you're limited to the following:
Unrealistic: Install Linux instead
Unrealistic: Install Linux alongside (not an option)
Boot into a live CD, you could prepare a disk image with CUDA and mount the image each time
Setup (or beg/borrow) a separate box with Linux and access it remotely
I just heard a talk at NVIDIA's GPU technology conference by a researcher named Xiaohui Cui (Oak Ridge National Laboratory). Among other things, he described accessing GPUs from Virtual machines using something called gVirtuS. He did not create gVirtuS, but described it as an opensource "virtual cuda" driver. See following link:
http://osl.uniparthenope.it/projects/gvirtus/
I have not tried gVirtuS, but sounds like it might do what you want.
As of CUDA 3.1 it's virtualization capabilities are not vivid, so the only usable approach is to run CUDA programs directly on the target HW+SW
Use rCUDA to add a virtual GPU to your VM.