0
I have a desktop tech specs
Core i5 / 12 GB RAM /
HD Seagate Barracuda ST500DM002 500GB 7200 RPM 16MB
The problem that my PC simply freezes or slow downs during of compilation code/... or whenever I run multiple OS.. I'm trying to figure out why. Right now I'm running VMware and Mac os as the guest machine.. the host machine is Linux(Ubuntu)(as you can see from screenshot below).The same performance issues are on windows as host machine I just tried to compile my android project as result my pc became unresponsive for a few minutes. I took screenshot in the moment of compilation.. it shows that there is no system huge usage:
UPDATE: Screenshot of CPU temperature during compilation:
As I can see the temperature is around 50 C..
Can anyone explain why it happens? I assume it 's the Hard Drive fault..but It's about 2.5 years(1 year 10 mo power on hours).. I can afford hardware upgrade. but I need to know exactly what I needs to be upgraded.
Thank you!
Update: As Requested by @Leathe here are results of executing command which shows hard drive's read speeds:
/dev/sdb:
Timing cached reads: 22754 MB in 2.00 seconds = 11386.87 MB/sec
Timing buffered disk reads: 388 MB in 3.00 seconds = 129.13 MB/sec
Can you paste the info you get from
hdparm -Tt /dev/sda
(or whatever it's named as)? It should show you the hard drive's read speeds. – Leathe – 2015-10-27T09:40:35.340Did this problem just start or has it always been doing this? How many cores did you enable on the VM and how much RAM did you allocate to it? Just trying to narrow down the issue. (Edit: Ps. the hard drive read speeds seem to be normal) – Leathe – 2015-10-27T10:05:15.297
This problem occurs whenever I do some "hard core" stuff like launching the second VM.. or | compiling code(large project) along running VM I allocate 4 GB of memory to the VM .. + all 4 cores of my processor. – ProblemSlover – 2015-10-27T10:09:15.520
Do you compile anything on the VM at all? All cores seem a bit excessive if it's not being used. Perhaps toning down on the cores for the VM could potentially work. The RAM amount is fine, could even be higher, but not really necessary. – Leathe – 2015-10-27T10:12:04.247
Ah. So all or most development happens on the VM then? If that is the case, and you don't really have any stress on the host machine, you could actually add cores to the VM. – Leathe – 2015-10-27T10:23:38.097
It's 50% done on VM and 50% on Host.. Sometimes I need to get work on both for convenience :) Anyway.. I Got you .. It's the CPU performance issue. I think 6 Core i7 is my next option or 12 core xenon.. :P.. – ProblemSlover – 2015-10-27T10:28:05.697
If you compile on the VM and the host machine freezes, or vice versa, then the CPU might not actually be the problem here. It just seems too odd if you've split them 50/50 for the cores. However if the machine you're compiling on freezes, then I'm leaning towards the CPU being the bottleneck. (I'll add an actual answer once I get back from lunch) – Leathe – 2015-10-27T10:36:32.723
@Leathe Thank you again. Enjoy your lunch. and Let's clear the comments section :) – ProblemSlover – 2015-10-27T10:41:38.540
I just hope you're not trying to run the android emulator inside the vm... – jiggunjer – 2015-11-04T09:17:26.793
@jiggunjer I run android emulator in the host machine and iOS simulator inside the vm :) – ProblemSlover – 2015-11-04T09:23:30.353
First thing that came to my mind was that VM and emulator might both rely on virtualization technology. So try switching off that setting in your AVD if you have a VM running. – jiggunjer – 2015-11-04T09:41:44.183
@jiggunjer What Visualization Technology has to do here. You mean it's number of dedicated CPU Cores? – ProblemSlover – 2015-11-04T10:09:51.977
I meant intel VT. Though it is only used when emulating x86, not ARM. – jiggunjer – 2015-11-04T13:04:37.470
@jiggunjer Hey, Thank you very much for your Input. I believe something could go wrong with my RAM memory Units. I noticed that my pc slows down(freezes) whenever Ram Usage goes above 6gb / Perhaps the second unit of Ram Memory malfunctioning or something like that. since I have 12 Gb memory. first one is 7+ gb and the second one is about 4GB.. perhaps the second one is malfunctioning. – ProblemSlover – 2015-11-04T14:28:52.950