richliu’s blog

Linux, 工作, 生活.

richliu’s blog header image 2

Gentoo 下跑 NPTL

June 21st, 2005 · 1 Comment

Linux 在 Kernel 2.6 及 Glibc 2.4.x 版以後支援 NPTL (The Native POSIX Thread Library)
我的Wiki 有一篇 GentooNPTL 有講到如何讓 支援 NPTL

若是你的系統有用到 MultiThread, 而且 Create/Exit Threads 很頻繁時, 都應該換 NPTL
其實用 LinuxThreads 也不會太慢, 不過就是爽度問題.

個人用的感覺是, 若是系統上有很多 Service , Loading 較輕, 反應時間較快(皆未經嚴格驗證)
目前我自己的系統都是換上了 NPTL…

以下補上兩篇測試報告.

Linux 线程库性能测试与分析

first NPT vs. NGPT vs. LinuxThreads benchmark results

On this day..

Tags: ,

Related posts

Tags: Gentoo · UNIX

1 response so far ↓

  • 只是生活 » Blog Archive » apache+php+mysql // Jun 15, 2008 at 5:02 am
    Using WordPress WordPress 2.5.1

    [...] (The Native POSIX Thread Library) 所以我在裝 gentoo 也啟動了NPTL 相關文件可參閱 Gentoo 下跑 NPTL 及 想要使用gcc34-x86-2004.2 profile, NPTL and a 2.6 kernel? [...]

Leave a Comment