※ 引述《[email protected] (請加入HOT_Game板)》之銘言:
> 簡而言之就是 -jX 就是最多會同時執行幾個compiler程式, 會增加效能的前提是
> 您有多顆或多core的CPU可讓每個compiler個別使用不同的core執行.
> 若只有一個core, 那就沒什麼差別了, 頂多是等I/O的時間會少一點點...
> ※ 引述《operationcow (香蕉公車)》之銘言:
> : # make -j4 buildworld
> : make(1) will then have up to 4 processes running at any one time.
> : Empirical evidence posted to the mailing lists shows this generally
> : gives the best performance benefit.
現在不建議用 -j# 了,在 /usr/src/UPDATING 有以下這段:
COMMON ITEMS:
General Notes
-------------
Avoid using make -j when upgrading. From time to time in the
past there have been problems using -j with buildworld and/or
installworld. This is especially true when upgrading between
"distant" versions (eg one that cross a major release boundary
or several minor releases, or when several months have passed
on the -current branch).
--
☆Origin: 星情小築 ( Star.leobbs.net )
★Author: JoeHorn
☆From: 123-204-156-248.static.seed.net.tw