Page 1 of 3

2.4.20-ck2 大幅增加Gentoo Desktop的效能

Posted: Sat Feb 08, 2003 8:31 pm
by pahud
GWN有報導這個thread
裡面有個人用這個kernel, 賽陽850跑得嚇嚇叫!
Aniruddha Shankar wrote:I've used 2.4.20-ck2 for over 10 days now and I have to say that they're
extremely stable and VERY fast, with load displaying none of the
tendency to rise that it did with some other kernels. At loads of upto
14 with 120+ processes (1 emerge running, vmware machine running windows
98 with mozilla for windows installing on the vmware machine, xmms
playing [without skipping] and slocate updating it's database) the
system is slightly sluggish but quite usable. At other times, the
machine (850mHz Celeron) purrs along and takes most anything I toss at
it.
有興趣的真的可以試試看!!

Re: 2.4.20-ck2 大幅增加Gentoo Desktop的效能

Posted: Tue Feb 25, 2003 1:39 am
by clay_chang
現在是到版本 3 (ck3),解決了 ck2 不能 emerge alsa-sound 的問題(他把 alsa in kernel)拿掉了。

Performance good on my P3-600.

Re: 2.4.20-ck2 大幅增加Gentoo Desktop的效能

Posted: Tue Feb 25, 2003 11:34 am
by asho
clay_chang wrote:現在是到版本 3 (ck3),解決了 ck2 不能 emerge alsa-sound 的問題(他把 alsa in kernel)拿掉了。

Performance good on my P3-600.
好羨慕窩,真想要把此kernel拿到debian上用,最近在debian使用上似乎有點小慢,可能是因為edonkey抓太多摟...

而mozilla又常常掛掉... :twisted:

Re: 2.4.20-ck2 大幅增加Gentoo Desktop的效能

Posted: Tue Feb 25, 2003 11:46 am
by pahud
asho wrote:
clay_chang wrote:現在是到版本 3 (ck3),解決了 ck2 不能 emerge alsa-sound 的問題(他把 alsa in kernel)拿掉了。

Performance good on my P3-600.
好羨慕窩,真想要把此kernel拿到debian上用,最近在debian使用上似乎有點小慢,可能是因為edonkey抓太多摟...

而mozilla又常常掛掉... :twisted:
mldonkey on Debian? :roll:

Re: 2.4.20-ck2 大幅增加Gentoo Desktop的效能

Posted: Tue Feb 25, 2003 11:46 am
by pahud
asho wrote:
clay_chang wrote:現在是到版本 3 (ck3),解決了 ck2 不能 emerge alsa-sound 的問題(他把 alsa in kernel)拿掉了。

Performance good on my P3-600.
好羨慕窩,真想要把此kernel拿到debian上用,最近在debian使用上似乎有點小慢,可能是因為edonkey抓太多摟...

而mozilla又常常掛掉... :twisted:
kernel應該拿到任何一個Linux dist.都可以用吧..應該不是
Gentoo-specific的...

Re: 2.4.20-ck2 大幅增加Gentoo Desktop的效能

Posted: Tue Feb 25, 2003 11:56 am
by asho
pahud wrote:
asho wrote:
clay_chang wrote:現在是到版本 3 (ck3),解決了 ck2 不能 emerge alsa-sound 的問題(他把 alsa in kernel)拿掉了。

Performance good on my P3-600.
好羨慕窩,真想要把此kernel拿到debian上用,最近在debian使用上似乎有點小慢,可能是因為edonkey抓太多摟...

而mozilla又常常掛掉... :twisted:
mldonkey on Debian? :roll:
no...ed2k_gui

easy to use

Posted: Tue Feb 25, 2003 12:02 pm
by pahud

Re: 2.4.20-ck2 大幅增加Gentoo Desktop的效能

Posted: Tue Feb 25, 2003 12:13 pm
by asho
pahud wrote:
asho wrote:
clay_chang wrote:現在是到版本 3 (ck3),解決了 ck2 不能 emerge alsa-sound 的問題(他把 alsa in kernel)拿掉了。

Performance good on my P3-600.
好羨慕窩,真想要把此kernel拿到debian上用,最近在debian使用上似乎有點小慢,可能是因為edonkey抓太多摟...

而mozilla又常常掛掉... :twisted:
kernel應該拿到任何一個Linux dist.都可以用吧..應該不是
Gentoo-specific的...
但總覺得gentoo是從source build出來的,才能發揮硬體最大效能。

剛剛patch之後,怎麼只有看到xfs,preempt,lowlatency的選項,其他的怎麼都看不到呢?

像tuning就沒有看到了。

Re: 2.4.20-ck2 大幅增加Gentoo Desktop的效能

Posted: Tue Feb 25, 2003 1:09 pm
by pahud
asho wrote: 但總覺得gentoo是從source build出來的,才能發揮硬體最大效能。

剛剛patch之後,怎麼只有看到xfs,preempt,lowlatency的選項,其他的怎麼都看不到呢?

像tuning就沒有看到了。
其實我覺得還好...效能有提昇, 但是沒有很誇張,
不過還是建議玩看看, 我個人覺得Gentoo集合了Debian, Slackware, FreeBSD
三家的優點, 有很多跟突破跟創新常常讓我嘖嘖稱奇, 非要自己跳下去摸過才會知道 :wink:

Posted: Tue Feb 25, 2003 2:41 pm
by paar
其實我覺得還好...效能有提昇, 但是沒有很誇張,
不過還是建議玩看看, 我個人覺得Gentoo集合了Debian, Slackware, FreeBSD
三家的優點, 有很多跟突破跟創新常常讓我嘖嘖稱奇, 非要自己跳下去摸過才會知道
這倒真的是..
kernel 就一個例子.
它把各家 patch 的 kernel 都收集好, 看你要用哪一家就用哪一家, 而且我的經驗 mdk 的 2.4.18 和 debian 的 2.4.18 絕對是不會完全一樣.
像我該死的 notebook, 各 dist 都偵測出 pcmcia 的 bus, 但是 mdk, gentoo, debian 統統驅動不了,偶然試了一下 cle(redhat kernel, 我以往很少用紅帽), 竟然發現它會叫了!
所以我 nb 現在是裝 gentoo, 用 gentoo 收集的 redhat kernel.
另外 gentoo kernel 最後一大項有 "Gsercure" 的選項也蠻有趣的, 我的 nb 就玩不到了, 像可以選 pid 亂數, 編出來的核心, 就讓人嚇一跳, ps aux 出來, 除了前幾個 init, cpu, pid 是個位數以外, 其它的 pid 都是亂數, 就令人很驚訝了.

Re: 2.4.20-ck2 大幅增加Gentoo Desktop的效能

Posted: Wed Feb 26, 2003 1:57 am
by clay_chang
pahud wrote: 其實我覺得還好...效能有提昇, 但是沒有很誇張,
不過還是建議玩看看, 我個人覺得Gentoo集合了Debian, Slackware, FreeBSD
三家的優點, 有很多跟突破跟創新常常讓我嘖嘖稱奇, 非要自己跳下去摸過才會知道 :wink:
我覺得最讓人欣賞的是它的 ebuild 編寫方式。你可以自己編寫你想要的 ebuilds,
而且,所有的 installation 都在 portage 的監看之下,不用擔心系統亂亂的。

而且,加了 ~x86 讓我的系統 always up-to-date. :)

Posted: Wed Apr 02, 2003 5:13 pm
by 【Palatis】
最近幾天重編全系統 (因為第一次灌是練習, 後來越用越奇怪, 所以重灌...)
改了幾個 CFLAGS, 也換了適合 Desktop 用的 Kernel.

現在用的是 wolk4.0s rc4, 其中將 .config 的幾個選項 :

Code: Select all

Loadable module support
    Set verion information on all module symbles : n
Processor type and features
    Machine Check Exception : y
    /dev/cpu/microcode - Intel IA32 CPU microcode support : y
    /dev/cpu/*/msr - Model-specific register support : y
    /dev/cpu/*/cpuid - CPU information support : y
    BIOS Enhanced Disk Drive calls determine boot disk (EXPERIMENTAL) : y
    User address space size : 2GB
    Enable Simple Boot Flag Specification : y
    MTRR (Memory Type Range Register) support : y
    Local APIC support on uniprocessors : y
    IO-APIC support on uniprocessors : y
Scheduler, Low Latency, Preempt - Tweaks
    Schedular - Maximum User Real-Time Priority : 200
    Schedular - Maximum Kernel Real-Time Priority : 0
    Kernel Timer Frequency (HZ) : 300
    Low latency sceduling : y
    Low Latency Elevator - block atomic Edition : y
    Preemptible kernel : y
    Enable Memory Pools : y
    Desktop Scheduler Tweaks : y
ATA/IDE/MFM/RLL support
    IDE, ATA and ATAPI Block devices
        IDE Taskfile Access : y
        IDE Taskfile IO : y
        IGNORE word93 Validation BITS : y
編好重開之後, 再用 hdparm -a2 /dev/disks/disk*/disk 把 read-lookahead 關小.

現在啟動 Mozilla, OpenOffice 這些怪物軟體的時候, 反應果然變快了.
提出來給各位作個參考.

Posted: Wed Apr 02, 2003 5:47 pm
by paar
【Palatis】 wrote: 編好重開之後, 再用 hdparm -a2 /dev/disks/disk*/disk 把 read-lookahead 關小.
這個指令的意義為何? 可否指教指教?

Posted: Wed Apr 02, 2003 5:59 pm
by pahud
【Palatis】 wrote: 現在啟動 Mozilla, OpenOffice 這些怪物軟體的時候, 反應果然變快了.
提出來給各位作個參考.
有沒有比較具體的數據, 比方說第一次啟動Mozilla原本所需時間跟現在所需時間差多少...

Posted: Thu Apr 03, 2003 6:01 am
by 【Palatis】
paar wrote:
【Palatis】 wrote: 編好重開之後, 再用 hdparm -a2 /dev/disks/disk*/disk 把 read-lookahead 關小.
這個指令的意義為何? 可否指教指教?
因為 desktop 似乎不需要那麼高的 readahead.
我去各方網站看到的說法是, 如果要作 server, 就將這個數值調高, 如果 desktop, 一點點就好了.
但是關掉反而會變慢, 所以 -a2 是個折衷方案.
我在想, 應該是 desktop 不需要那麼高的 throughput, 所以把 readahead 關小可以讓硬碟早點吐資料出來.
但是全部關掉卻又失去了 readahead 的好處 (需要後面一點東西的時候不用等).
所以我就把他關小到 2 sector (1kb) 摟~
詳情請 man hdparm~