Re: [SLUG] VMWare hates me -- guest processes hang

From: Jason Boxman (jasonb@edseek.com)
Date: Mon Jul 31 2006 - 12:05:12 EDT


Eben King wrote:
> On Mon, 31 Jul 2006, Jason Boxman wrote:
>
>> On Monday 31 July 2006 00:18, Eben King wrote:
>> <snip>
>>> That indicates to me that the guest OS is trying to invoke a screen
>>> saver, and VMware doesn't support the method it's using. If there's a
>>> boot option to disable it, use it. It might be part of some power-saving
>>> package (think ACPI).
>>
>> I finally came across a thread that sounds similar to that, but the issue
>> was the host OS CPU was being throttled down.
>
> Yeah, I think you should disable ACPI from inside the guest OS. The best
> situation is that it sees the CPU state accurately, and its instructions to
> the OS are heeded. But the host OS will always have at least as accurate a
> picture, and its instructions are sure to be heeded.

I thought about it, but my laptop is a P4-based Celeron and doesn't support
any MHz throttling.

>> I did finally complete a Dapper text-only install, so it seems I may have
>> not been waiting long enough. It took two hours. After, even with VMWare
>> tools, my X session would 'hang' for five to thirty seconds on occasion
>> with the host OS idle and the guest doing simple things like opening
>> Konsole windows. I think my laptop is simply too slow, although I had no
>> issues doing this ages ago with VMWare on a much slower laptop with less
>> RAM and VMWare 2.x or 3.x. Oh well.
>
> Try running "top" in your guest OS to see how much swap it's using. It may
> be thrashing. Actually I think it might be more efficient to just give
> VMware more RAM, and skip swap entirely.

That was my first thought, but my favorite part is that wasn't happening at
all. I was at most 12M in swap. Generally my CPU was always pegged in the
host at 100%. `vmstat` reported nearly no disk access and never any I/O
wait at all, just sys pegging the guest. I never could pin it on anything
specifically as the host was idle. Ordinarily I'd suspect DMA was off in
either the host or the guest, except it wasn't.

Really a mystery.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:10:30 EDT