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 我的數字生活論壇 . 。
Related Articles相關文章
- Free VMWare Server Serial Numbers or License Keys免費的VMware服務器序號或許可證
- Download Free VMWare Server Virtualization Software下載免費的VMware服務器虛擬化軟件
- Checking Free Disk Space on FreeBSD Server檢查可用磁盤空間在FreeBSD服務器
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4安裝Web服務器在FreeBSD的6.0與2.2的Apache , MySQL 5.0的和PHP 5 -第4部分
- Seeing Double Wall Clock看到雙壁時鐘
- Enable Logging of Slow Queries (Slow Query Log) in MySQL Database啟用日誌記錄慢查詢(慢速查詢日誌)在MySQL數據庫
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3安裝Web服務器在FreeBSD的6.0與2.2的Apache , MySQL 5.0的和PHP 5 -第3部分
- Awesome Orgasmo Clock可怕orgasmo時鐘
- Change or Set MySQL Long Query Time Value for log-slow-queries改變或設置MySQL的長期查詢時間值為登錄慢的疑問
- FreeBSD Apache HTTP Accept Filter Error FreeBSD上的Apache的HTTP接受過濾器的錯誤



















January 7th, 2007 20:30 2007年1月7日20時30分
[...] , 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的[ … … ]
January 7th, 2007 21:08 2007年1月7日21時08分
[...] ;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 ; [ … … ]
January 8th, 2007 00:20 2007年1月8日0時20分
[...] Original post by Comments for My Digital Life [...] [ … … ]原職由評論我的數字生活[ … … ]
July 3rd, 2007 07:02 2007年7月3日7時02分
[...] 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 。 [...] [ … … ]
October 13th, 2007 14:41 2007年10月13日14時41分
[...] FreeBSD 6.0 on VMware Server Time and Clock Slow Down [from My Digital Life] [...] [ … … ]的FreeBSD 6.0就VMware服務器的時間和時鐘放緩[從我的數字生活] [ … … ]