FreeBSD 6.0 on VMware Server Time and Clock Slow Down在FreeBSD 6.0就VMware服務器的時間和時鐘放緩

FreeBSD 6.0, when running as guest operating system in VMware Server or VMware Workstation 5.0, the FreeBSD system encounters considerable clock ticking slowdown, up to as high as 60% of time loss compared to real time clock.在FreeBSD 6.0 ,運行時,作為客戶操作系統在VMware Server或VMware工作站5.0 , FreeBSD的系統遇到了相當大的時鐘滴答的放緩,最多高達60 %的時間損失相比的實時時鐘。 Even right after you reset the clock and set the time properly, after a while, the gap between FreeBSD virtual machine time and actual time will be widen.甚至權後,您重置時鐘,並設置適當的時間,過了一段時間,之間的差距FreeBSD的虛擬機的時間和實際時間,將擴大。

One possible solution or workaround to this problem is to disable the use of APIC (note: Not ACPI) by adding the following line in /boot/loader.conf:一個可行的辦法或替代這個問題是要禁用使用apic (注意:不符合ACPI )加入以下線在/開機/ loader.conf :

hint.apic.0.disabled=1 hint.apic.0.disabled = 1

By disabling APIC device, FreeBSD is forced to fall back on the IRQ timers to avoid the rate of the clock and timer on emulated FreeBSD machine on VMware slows down.通過禁用apic設備, FreeBSD的是被迫依傍的IRQ定時器,以避免率的時鐘和計時器就效仿FreeBSD的機器上的VMware放緩。 The down side to this resolution is that FreeBSD cannot runs in as SMP kernel mode as a virtual SMP machine on the emulated machine.向下的一面,這項決議是在FreeBSD不能運行在作為SMP的內核模式作為一個虛擬的SMP機上模擬機。

Another alternative is to comment out the “device apic” line in the kernel config file and rebuild the kernel, but only if you are technically know what you’re doing.另外一個替代方案是評論了“裝置apic ”路線,在內核的config檔和重建內核,但只有如果您是在技術上知道您正在做的。

For VMware host in Windows NT operating system, reboot and run the Windows OS in safe mode may solve the timing incorrect issue too, although it’s better to format and install the whole machine as FreeBSD rather than running it as Windows safe mode host.為VMware公司的主機在Windows NT作業系統,重新啟動和運行Windows操作系統在安全模式下可以解決的時機不正確問題太,雖然它的更好的格式和安裝整個機器的FreeBSD ,而不是運行它作為Windows安全模式的東道國。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明 :這是一個機器翻譯網頁是“按原樣”提供的擔保。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article英文原版的文章 whenever possible.只要有可能。

Share and contribute or get technical support and help at分享和貢獻,或取得技術的支持和幫助,在 My Digital Life Forums 我的數字生活論壇 .



5 Responses to “FreeBSD 6.0 on VMware Server Time and Clock Slow Down” 5反應“的FreeBSD 6.0就VMware服務器的時間和時鐘放緩”

  1. Rexiology... rexiology ... : Clock in a VMWare FreeBSD Guest Runs More Slowly or Quickly Than Real Time... :時鐘在一個VMware的FreeBSD的客戶運行速度更慢或更快的時間比真正的...
    January 7th, 2007 20:30 2007年1月7日20時30分
    1

    [...] , vmware, APIC   Share this post: email it! [ … … ] , VMware公司, apic分享此職位:電子郵件! | bookmark it! |書籤! | digg it! | digg ! | live it! |活! Published 07-01-2007 08:28 by Rex Filed under Useful Tools, Information Technology,Linux [...] 2007年7月1日8時28分公佈的由雷克斯提交下有用的工具,信息技術, Linux的[ … … ]

  2. Planeta FreeBSD » Clock in a VMWare FreeBSD Guest Runs More Slowly or Quickly Than Real Time… planeta FreeBSD的»時鐘在一個VMware的客戶運行FreeBSD的速度更慢或更快,比的實時…
    January 7th, 2007 21:08 2007年1月7日21時08分
    2

    [...] ;umm, seems that I am little bit enthusiastic about knowing all those unix-like system recently, since I didn’t pay ;much time to know ;them before. [ … … ] ;烏姆,似乎我有點熱衷於知道所有這些類Unix系統最近,因為我沒有支付;太多時間知道;之前。 right now I’ve set up ;3 VMs with vmware‘>CentOS4.4 , Gentoo Linux 2006 ;(since it is able to run in Sun SPARC machine), FreeBSD 6.1 , and going to setup one more VM with Sun Solaris 10 x86 (11/2006 version) ;arch to get familiar with all those main stream unix-like OSes.while toying around with Gentoo and FreeBSD, I did found that Gentoo seems had no problems on the clock issue happened in my CentOS as well as FC6 as described in my previous post.我現在已經成立;三月船民使用VMware “ > centos4.4 ,參與Gentoo Linux的2006年; (因為它是能夠運行在Sun SPARC的機器) ,和FreeBSD 6.1 ,去安裝一個更越南船民與Sun的Solaris 10 x86 ( 11/2006版) ;拱,以熟悉所有這些主流的UNIX一樣, oses.while玩弄左右,與Gentoo的和FreeBSD ,我也發現, Gentoo的,似乎沒有問題,對時鐘的問題發生在我的centos以及fc6形容我在以前的職位。 but FreeBSD did encounter this problem again.但在FreeBSD沒有遇到這個問題。 the clock is much slower than real one on the host OS.by searching to Google, I found this post saying about FreeBSD clock is slowing when acting in VMWare as guest OS, and it was also the same reason in Linux that the OS is using APIC to get the clock for the time.時鐘慢得多,比真正的一對東道國os.by搜索到Google ,我發現這個職位說,關於FreeBSD的時鐘正在放慢採取行動時,在VMware作為客戶操作系統,而且它也是同樣的理由認為,在Linux操作系統使用apic得到時鐘的時間。 the solution is to disable APIC on the boot time by editing /boot/loader.conf and put a line:hint.apic.0.disabled=1in the file and reboot FreeBSD, or to ;’to comment out the “device apic” line in the kernel config file and rebuild the kernel’.解決的辦法是禁用apic就開機時間編輯/開機/ loader.conf ,並提出了線: hint.apic.0.disabled = 1in文件並重新啟動FreeBSD的,或; '評論指出, “裝置apic ”線在內核的config檔和重建內核' 。 also by doing so will loose the ability for the guest OS to run in SMP mode.此外,這樣做將鬆散的能力,為客戶操作系統運行在SMP的模式。 pretty same as what ;happened in Linux.漂亮的一樣是什麼;發生在Linux 。 After doing the loader.conf modification and reboot the FreeBSD VM, the clock is back to normal without problem.後做loader.conf修改和重新啟動FreeBSD的越南船民,時鐘恢復正常,沒有問題。 by installing VMWare-Tools into FreeBSD vm, verifying that vmware-guestd is running and also in the FreeBSD guest OS’s .vmx file, set toos.syncTime to TRUE, the time in my FreeBSD vm is back to normal and won’t need NTP to sync the real time, just like what I did in my CentOS in previous post.通過安裝的VMware工具進入FreeBSD的越南船民,核實VMware公司- guestd運行和還表現在FreeBSD的客戶操作系統的。 vmx文件,設置toos.synctime ,以真,時間在我的FreeBSD的VM是回复正常,並不會有需要的NTP同步的實時性,就像我曾在我的centos在先前的文章。 It’s pretty cool that I can run all those 3 VMs with different unix-like OSes simutaniously in my Windows 2003 R2 Server with 2GB RAM.它的很酷,我可以運行所有這些三船民與不同的UNIX類操作系統simutaniously在我的Windows 2003 R2服務器與2 GB的內存。 I gave ;each guest OS 384mb RAM to run and thanks to VMWare Workstation’s dynamic memory allocation technology, while my testing of those 3 VMs I can still have more than 1 gb RAM for my host OS.我給每個客戶操作系統384mb內存運行和感謝VMware工作站的動態內存分配技術,而我測試這些三船民我仍然可以有多於1 GB的RAM用於我的主機操作系統。 I think it should be no problem for me to boot up one more Solaris 10 VM in the same time.我認為應該沒有問題,我開機一更多的的Solaris 10的越南船民在同一時間舉行。 The goal is to understanding all those system and networking administration tasks on those different main-stream unix-like OSes and further more to host web applications and database systems on them.目標是要了解所有這些系統和網絡管理任務,對這些不同的主流類Unix操作系統一樣,並進一步更多的東道國的Web應用程序和數據庫系統對他們的影響。 maybe than trying to develop some Mono projects ;to run ASP.NET websites ;upon them.也許比試圖發展一些單項目;運行asp.net網站;他們。 ;I’ve already found that it’s pretty different on the admin of ; Linux and BSD systems since it’s pretty different on the directory structures as well as those admin commands and locations of various config files. ;我已經發現它的美麗不同,管理的; Linux和BSD系統,因為它的美麗而有所不同的目錄結構,以及那些政府當局的命令和地點不同config文件。 wondering if it’s also different ;in a Solaris OS… anyway, it’s always nice to learn new things, and I am enjoying it on my weekend… Technorati Tags: linux ;, ;freebsd, ;solaris, ;CentOS, ;ntp, ;clock, ;kernel , ;vmware, ;APIC ; [...]想知道如果它也有不同;在一個Solaris操作系統…無論如何,這總是好的學習新事物,而我享受我的週末… Technorati標記: Linux的; , ; FreeBSD的, ; Solaris系統; centos , ; NTP公司達成和解, ;時鐘, ;內核, ; VMware公司; apic ; [ … … ]

  3. Planeta Gentoo » Comment on FreeBSD 6.0 on VMware Server Time and Clock Slow Down by Planeta FreeBSD » Clock in a VMWare FreeBSD Guest Runs More planeta Gentoo的»評論在FreeBSD 6.0就VMware服務器的時間和時鐘放緩,由planeta FreeBSD的»時鐘在一個VMware的FreeBSD的客戶運行更
    January 8th, 2007 00:20 2007年1月8日0時20分
    3三月

    [...] Original post by Comments for My Digital Life [...] [ … … ]原職由評論我的數字生活[ … … ]

  4. Permasalahan Time di FreeBSD GuestOS pada VMware « Admin Juga Manusia 2.0 ™ permasalahan時間邸FreeBSD的guestos pada VMware的«政府當局也工作於manusia 2.0 ™
    July 3rd, 2007 07:02 2007年7月3日7時02分
    4

    [...] 2. [ … … ] 2 。 Tambahkan baris ‘hint.apic.0.disabled=1′ di /boot/loader.conf. tambahkan巴里斯' hint.apic.0.disabled = 1 '迪/開機/ loader.conf 。 Solusi ini saya dapat dari link ini.解決方案的INI saya必須有作者的聯繫的INI 。 [...] [ … … ]

  5. Virtualized LoadRunner?虛擬LoadRunner的? (Part 3 of 3) by LoadRunner TnT (第3部分, 3 ) LoadRunner的TNT炸藥
    October 13th, 2007 14:41 2007年10月13日14時41分
    5

    [...] FreeBSD 6.0 on VMware Server Time and Clock Slow Down [from My Digital Life] [...] [ … … ]的FreeBSD 6.0就VMware服務器的時間和時鐘放緩[從我的數字生活] [ … … ]

Leave a Reply離開的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用這些標籤:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <刪除日期時間= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱無評論


Custom Search

New Articles新的條款,

Incoming Search Terms for the Article傳入的搜索條件文章

vmware time slow VMware的時間緩慢 - - vmware server time problem VMware服務器時間問題 - - vmware freebsd clock VMware的FreeBSD的時鐘 - - vmware freebsd time VMware的FreeBSD的時間 - - Vmware server clock VMware服務器的時鐘 - - vmware server time VMware服務器時間 - - freebsd vmware time FreeBSD的VMware的時間 - - vmware clock VMware的時鐘 - - freebsd vmware clock FreeBSD的VMware的時鐘 - - vmware server time sync VMware服務器時間同步 - - vmware linux time slow VMware的Linux的時間緩慢 - - vmware clock too slow VMware的時鐘速度太慢 - - vmware server time linux VMware服務器時間的Linux - - freebsd time vmware FreeBSD的時間VMware公司 - - linux slow time Linux的緩慢時間 - - freebsd vmware loader.conf FreeBSD的VMware公司loader.conf - - vmware on freebsd VMware公司在FreeBSD - - vmware server time delay VMware服務器時間延遲 - - vmware freebsd time VMware的FreeBSD的時間 - - VMware Server freebsd VMware服務器的FreeBSD - - freebsd vmware clock slow FreeBSD的VMware的時鐘慢 - - vmware server on freebsd VMware服務器在FreeBSD - - gentoo vmware time Gentoo的VMware的時間 - - freebsd vmware server FreeBSD的VMware服務器 - - vmware server down VMware服務器下跌 - - slow clock download 慢時鐘下載 - - clock on mail server in vmware slows down 時鐘,郵件服務器在VMware放緩 - - vmware freebsd slow clock VMware公司的FreeBSD慢時鐘 - - hint.apic freebsd boot hint.apic FreeBSD的開機 - - vmware-server under freebsd VMware的服務器下的FreeBSD - - vmware and time VMware和時間 - - vmware time to slow VMware的時間來緩慢 - - vmware time freebsd VMware的時間和FreeBSD - - vmware ntp clock VMware公司的NTP時鐘 - - centos 5 vmware time slow centos 5 VMware的時間緩慢 - - guest os clock running too slow 客戶OS的時鐘運行速度太慢 - - linux clock slow under windows vmware server Linux的時鐘慢在Windows下VMware服務器 - - vmware disable apic VMware的禁用apic - - vmware freebsd clock slow VMware的FreeBSD的時鐘慢 - - vmware time VMware的時間 - - centos vmware tools xp host vmware server centos的VMware工具XP的東道國VMware服務器 - - vmware tools timing problem VMware的工具的時機問題 - - FreeBSD VMware FreeBSD上的VMware - - vmware server clock slow VMware服務器的時鐘慢 - - freebsd system clock FreeBSD的系統時鐘 - - vmware time slowdown VMware的時間放緩 - - download vmware freebsd 下載VMware公司的FreeBSD - - system clock slow down 系統時鐘放緩 - - freebsd vmware syncing time FreeBSD的VMware的同步時間 - - freebsd vmware host FreeBSD的VMware的主機 - -