Re: FreeBSD 5.0-RELEASE in VMware
On Saturday, 25 January 2003 at 17:36:39 -0800, Kris Kennaway wrote: > On Sat, Jan 25, 2003 at 03:44:18PM -0800, nate wrote: >> Michael Ritchie said: >>> Not sure if this should be in -QUESTIONS or a report to VMware themselves, >>> but when attempting to run FreeBSD 5 within VMware Workstation 3.2 on a >>> Windows XP Pro host, the CPU usage sits at 100% -- whether there are any >>> processes undertaking heavy processing or not. The host PC is a 1.7GHz >>> P4, with 512MB RAM, so there shouldn't be any problems. It takes about 2 >>> minutes for 'man man' to bring up a page. 4.6.2 and 4.7 both work GREAT, >>> even in X. >>> >>> Any thoughts on why this might be the case?? >> >> this is symtomatic of the guest OS(freebsd in this case) not having >> advanced power management features enabled. > > No, it's symptomatic of VMWARE emulating a certain CPU opcode (used in > FreeBSD 5.0 for locking primitives) very inefficiently. See my > previous response. Until proof of the contrary, I'd assume its because FreeBSD 5.0 has an idle process to use up the rest of the CPU time. This is a feature, not a bug :-) Here's my laptop: last pid: 1919; load averages: 0.01, 0.02, 0.00 up 0+02:06:58 16:14:52 100 processes: 2 running, 87 sleeping, 11 waiting CPU states: 0.0% user, 0.0% nice, 0.8% system, 0.0% interrupt, 99.2% idle Mem: 78M Active, 14M Inact, 17M Wired, 4636K Cache, 22M Buf, 6328K Free Swap: 512M Total, 5924K Used, 506M Free, 1% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 11 root -160 0K12K RUN124:14 97.56% 97.56% idle 740 grog 960 45904K 44356K select 0:34 0.00% 0.00% XFree86 962 grog 960 12356K 9920K select 0:23 0.00% 0.00% emacs Note that the system is 99% idle, but the idle process is using 97% of CPU time. The discrepancy is due to different ways of smoothing in the usage calculations. You'll note that the idle process' CPU time is pretty close to the uptime. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: FreeBSD 5.0-RELEASE in VMware
On Sat, Jan 25, 2003 at 03:44:18PM -0800, nate wrote: > Michael Ritchie said: > > Not sure if this should be in -QUESTIONS or a report to VMware themselves, > > but when attempting to run FreeBSD 5 within VMware Workstation 3.2 on a > > Windows XP Pro host, the CPU usage sits at 100% -- whether there are any > > processes undertaking heavy processing or not. The host PC is a 1.7GHz > > P4, with 512MB RAM, so there shouldn't be any problems. It takes about 2 > > minutes for 'man man' to bring up a page. 4.6.2 and 4.7 both work GREAT, > > even in X. > > > > Any thoughts on why this might be the case?? > > this is symtomatic of the guest OS(freebsd in this case) not having > advanced power management features enabled. No, it's symptomatic of VMWARE emulating a certain CPU opcode (used in FreeBSD 5.0 for locking primitives) very inefficiently. See my previous response. Kris msg16735/pgp0.pgp Description: PGP signature
Re: FreeBSD 5.0-RELEASE in VMware
Michael Ritchie said: > Not sure if this should be in -QUESTIONS or a report to VMware themselves, > but when attempting to run FreeBSD 5 within VMware Workstation 3.2 on a > Windows XP Pro host, the CPU usage sits at 100% -- whether there are any > processes undertaking heavy processing or not. The host PC is a 1.7GHz > P4, with 512MB RAM, so there shouldn't be any problems. It takes about 2 > minutes for 'man man' to bring up a page. 4.6.2 and 4.7 both work GREAT, > even in X. > > Any thoughts on why this might be the case?? this is symtomatic of the guest OS(freebsd in this case) not having advanced power management features enabled. Solaris/x86 on vmware does the same thing, unfortunately solaris(last time I tried it on vmware it was solaris 7) had _no_ power management features(e.g. issue HLT instructions) so the host OS always sat at 100% cpu, even if the guest OS was at 0% cpu usage. if you do have power management turned on(I've never used freebsd 5) then it may be a bug in vmware. I tend to lean towards the guest OS though. nate To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: FreeBSD 5.0-RELEASE in VMware
On Sat, Jan 25, 2003 at 09:31:51PM +0930, Michael Ritchie wrote: > Not sure if this should be in -QUESTIONS or a report to VMware themselves, > but when attempting to run FreeBSD 5 within VMware Workstation 3.2 on a > Windows XP Pro host, the CPU usage sits at 100% -- whether there are any > processes undertaking heavy processing or not. The host PC is a 1.7GHz P4, > with 512MB RAM, so there shouldn't be any problems. It takes about 2 > minutes for 'man man' to bring up a page. 4.6.2 and 4.7 both work GREAT, > even in X. > > Any thoughts on why this might be the case?? Read the archives..there's a kernel option you can enable to speed up 5.0 under vmware. Kris msg16726/pgp0.pgp Description: PGP signature
FreeBSD 5.0-RELEASE in VMware
Not sure if this should be in -QUESTIONS or a report to VMware themselves, but when attempting to run FreeBSD 5 within VMware Workstation 3.2 on a Windows XP Pro host, the CPU usage sits at 100% -- whether there are any processes undertaking heavy processing or not. The host PC is a 1.7GHz P4, with 512MB RAM, so there shouldn't be any problems. It takes about 2 minutes for 'man man' to bring up a page. 4.6.2 and 4.7 both work GREAT, even in X. Any thoughts on why this might be the case?? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message