Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]
測試環(huán)境和平臺
本文,將會對近期發(fā)布的Fedora 16和Ubuntu 11.10進(jìn)行開機(jī)、功能性能對比測試。
首先,我們需要了解,這兩款系統(tǒng)平臺的不同之處帶來的諸多樂趣。Fedora 16基于Linux 3.1內(nèi)核搭載GNOME 3.2.1桌面環(huán)境,包含GNOME Shell。Fedora 16還進(jìn)一步融合了談?wù)撦^多的init系統(tǒng)服務(wù)。
與此同時(shí),上月發(fā)布的Ubuntu 11.10基于Linux 3.0內(nèi)核搭載Canonical Unity桌面環(huán)境下的某些GNOME 3.0軟件包。Fedora 16和 Ubuntu 11.10也擁有不是共同特點(diǎn),比如都使用GCC 4.6編譯器,默認(rèn)設(shè)置上延續(xù)了EXT4文件系統(tǒng)。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959380.jpg)
在電池和能耗測試方面,我們使用了市場上較為流行的聯(lián)想ThinkPad T61、華碩Eee PC和聯(lián)想ThinkPad W510作為測試平臺。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959381.png)
測試平臺一覽(點(diǎn)擊查看大圖)
系統(tǒng)啟動速度則仍然采用了熟悉的Bootchart工具,而且這兩個(gè)系統(tǒng)平臺都是安裝的64位版本,系統(tǒng)啟動過程中全部設(shè)置為自動登錄模式,其他設(shè)置全部選為默認(rèn)。更為重要的是,在記錄啟動數(shù)據(jù)之前每個(gè)系統(tǒng)都重啟三次。
首先采用Bootchart進(jìn)行測試的是華碩Eee PC 1301N平臺。該上網(wǎng)本配有Intel Atom 330雙核x86-64處理器,Nvidia GeForce 9400 M顯卡,2GB內(nèi)存以及容量為250GB、5400轉(zhuǎn)的日立SATA硬盤。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959382.jpg)
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959383.jpg)
通過Bootchart測試得出Fedora系統(tǒng)啟動時(shí)間為32.72秒,Ubuntu 11.10則為32.40秒,稍微快一點(diǎn)點(diǎn)。#p#
Fedora 16啟動落后13秒
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959384.jpg)
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959385.jpg)
然而,在配有Intel酷睿雙核T9300、4GB內(nèi)存、100GB和7200轉(zhuǎn)SATA日立硬盤的ThinkPad T61平臺上,Ubuntu 11.10的系統(tǒng)啟動表現(xiàn)出眾,二者的差距明顯拉大。Fedora 16啟動時(shí)間為28.23秒,Ubuntu 11.10則僅為22.88秒。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959386.jpg)
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959387.jpg)
最后一個(gè)測試平臺ThinkPad W510——基于Intel 酷睿i7 720QM四核處理器(支持超線程)、英特爾160GB SSD(SSDSA2M160)的筆記本電腦。該測試環(huán)境下,F(xiàn)edora 16啟動時(shí)間為25.81秒,Ubuntu 11.10更快,達(dá)到12.24秒。#p#
閑置情況下能耗對比
能耗測試方面,我們首先使用了搭載Atom 330、Nvidia ION(GeForce 9400)顯卡在電池運(yùn)行模式下的上網(wǎng)本進(jìn)行測試。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959388.png)
能耗測試環(huán)境
測試發(fā)現(xiàn),這兩款Linux發(fā)行版都處于閑置運(yùn)行狀態(tài)下,F(xiàn)edora 16的能耗比Ubuntu 11.10略低。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/0959389.png)
系統(tǒng)閑置情況下能耗對比
而在運(yùn)行OpenArena game狀態(tài)下,F(xiàn)edora 16的能耗表現(xiàn)同樣優(yōu)于Ubuntu 11.10。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593810.png)
運(yùn)行OpenArena時(shí)能耗對比
此外,在Fedora 16系統(tǒng)上運(yùn)行的OpenArena速度略比Ubuntu要快,因?yàn)樗捎昧薭leeding-edge開源顯卡處理能力。而在Atom 330硬件環(huán)境下,C-Ray運(yùn)行較為吃力,其能耗介于Canonical和紅帽O(jiān)S之間。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593811.png)
這次,Ubuntu 11.10反敗為勝,雖然它們都采用了GCC 4.X編譯器,但Ubuntu 11.10運(yùn)行速度還是要快些。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593812.png)
ThinkPad T61下能耗對比
下面展示的是基于ThinkPad T61的能耗對比測試。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593813.png)
在該測試環(huán)境下,同樣處于閑置狀態(tài)下的系統(tǒng),Ubuntu 11.10能耗稍低于Fedora 16。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593814.png)
而在運(yùn)行OpenArena游戲時(shí),Ubuntu 11.10擁有比Fedora 16更高的能效。
不過,得益于Nouveau驅(qū)動,F(xiàn)edora 16運(yùn)行OpenArena速度更快。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593815.png)
在C-Ray能耗測試結(jié)果方面,二者幾乎相近。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593816.png)
而在C-Ray運(yùn)行速度方面,F(xiàn)edora 16再次勝出。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593817.png)
ThinkPad W510下能耗對比
最后,我們使用ThinkPad W510對這兩個(gè)系統(tǒng)進(jìn)行能耗測試。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593818.png)
同樣,我們分別在Ubuntu和Fedora系統(tǒng)運(yùn)行OpenArena游戲,其能耗平均下來相差無幾。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593819.png)
而OpenGL性能為Fedora 16運(yùn)行該游戲帶來了顯著的速度提升。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593820.png)
在運(yùn)行C-Ray時(shí),這兩款Linux發(fā)行版系統(tǒng)的能耗表現(xiàn)也別無二致。
![Ubuntu vs.Fedora 開機(jī)功耗大比拼[圖]](http://images.51cto.com/files/uploadimg/20111206/09593821.png)
雖然Ubuntu 11.10通常情況下,系統(tǒng)啟動速度要比Fedora 16快,但其能耗方面表現(xiàn)并不出眾。很多情況下,Ubuntu 11.10和 Fedora 16能耗大體一種,但還是要取決于CPU、GPU和其他因素。幸運(yùn)的是,在接下來的Ubuntu 12.04 LTS和Fedora 17上都有更 好的能耗管理提升,相信它們會比此次測試表現(xiàn)更加優(yōu)秀。
【編輯推薦】