| 晚上瀏覽網頁的時候, 發現了一些好東西, 尤其是看到了趙珂的blog,真的不錯。 也找到了一些資料, 比如kernel的performance ,什麼的。 Anatomy of the Linux kernel ,好在, 文章的後面提供了很多的連結, 非常不錯。 http://www.ibm.com/developerworks/library/l-linux-kernel/index.html?ca=dnw-827 Anatomy of the Linux slab allocatorhttp://www.ibm.com/developerworks/linux/library/l-linux-slab-allocator/ Going further
This article just scratched the surface of the Linux kernel architecture and its features and capabilities. You can check out the Documentation directory that's provided in every Linux distribution for detailed information about the contents of the kernel. Be sure to check out the Resources section at the end of this article for more detailed information about many of the topics discussed here. Resources Learn
- The GNU site describes the GNU GPL that covers the Linux kernel and most of the useful applications provided with it. Also described is a less restrictive form of the GPL called the Lesser GPL (LGPL).
- UNIX, MINIX and Linux are covered in Wikipedia, along with a detailed family tree of the operating systems.
- The GNU C Library, or glibc, is the implementation of the standard C library. It's used in the GNU/Linux operating system, as well as the GNU/Hurd microkernel operating system.
- uClinux is a port of the Linux kernel that can execute on systems that lack an MMU. This allows the Linux kernel to run on very small embedded platforms, such as the Motorola DragonBall processor used in the PalmPilot Personal Digital Assistants (PDAs).
- "Kernel command using Linux system calls" (developerWorks, March 2007) covers the SCI, which is an important layer in the Linux kernel, with user-space support from glibc that enables function calls between user space and the kernel.
- "Inside the Linux scheduler" (developerWorks, June 2006) explores the new O(1) scheduler introduced in Linux 2.6 that is efficient, scales with a large number of processes (threads), and takes advantage of SMP systems.
- "Access the Linux kernel using the /proc filesystem" (developerWorks, March 2006) looks at the /proc file system, which is a virtual file system that provides a novel way for user-space applications to communicate with the kernel. This article demonstrates /proc, as well as loadable kernel modules.
- "Server clinic: Put virtual filesystems to work" (developerWorks, April 2003) delves into the VFS layer that allows Linux to support a variety of different file systems through a common interface. This same interface is also used for other types of devices, such as sockets.
- "Inside the Linux boot process" (developerWorks, May 2006) examines the Linux boot process, which takes care of bringing up a Linux system and is the same basic process whether you're booting from a hard disk, floppy, USB memory stick, or over the network.
- "Linux initial RAM disk (initrd) overview" (developerWorks, July 2006) inspects the initial RAM disk, which isolates the boot process from the physical medium from which it's booting.
- "Better networking with SCTP" (developerWorks, February 2006) covers one of the most interesting networking protocols, Stream Control Transmission Protocol, which operates like TCP but adds a number of useful features such as messaging, multi-homing, and multi-streaming. Linux, like BSD, is a great operating system if you're interested in networking protocols.
- "Anatomy of the Linux slab allocator" (developerWorks, May 2007) covers one of the most interesting aspects of memory management in Linux, the slab allocator. This mechanism originated in SunOS, but it's found a friendly home inside the Linux kernel.
- "Virtual Linux" (developerWorks, December 2006) shows how Linux can take advantage of processors with virtualization capabilities.
- "Linux and symmetric multiprocessing" (developerWorks, March 2007) discusses how Linux can also take advantage of processors that offer chip-level multiprocessing.
- "Discover the Linux Kernel Virtual Machine" (developerWorks, April 2007) covers the recent introduction of virtualization into the kernel, which turns the Linux kernel into a hypervisor for other virtualized operating systems.
- Check out Tim's book GNU/Linux Application Programming for more information on programming Linux in user space.
- In the developerWorks Linux zone, find more resources for Linux developers, including Linux tutorials, as well as our readers' favorite Linux articles and tutorials over the last month.
- Stay current with developerWorks technical events and Webcasts.
Get products and technologies
- Order the SEK for Linux, a two-DVD set containing the latest IBM trial software for Linux from DB2, Lotus, Rational, Tivoli, and WebSphere.
- With IBM trial software, available for download directly from developerWorks, build your next development project on Linux.
Discuss
- Get involved in the developerWorks community through our developer blogs, forums, podcasts, and community topics in our new developerWorks spaces.
About the author
|
|
|
M. Tim Jones is an embedded software engineer and the author of GNU/Linux Application Programming, AI Application Programming (now in its second edition), and BSD Sockets Programming from a Multilanguage Perspective. His engineering background ranges from the development of kernels for geosynchronous spacecraft to embedded systems architecture and networking protocols development. Tim is a Consultant Engineer for Emulex Corp. in Longmont, Colorado. |
Linux 核心剖析Improving Linux kernel performance and scalabilityhttp://www.ibm.com/developerworks/linux/library/l-kperf/ http://www.ibm.com/developerworks/cn/linux/l-linux-kernel/index.html http://www.ibm.com/developerworks/linux/library/l-kperf/ 核心剖析: http://www.ibm.com/developerworks/cn/linux/l-linux-kernel/index.html IBM Linux技術中心: Linux核心相關的出版物 http://blog.zhaoke.com/36.html 開源項目: 效能分析工具perfmon2http://blog.zhaoke.com/28.html http://perfmon2.sourceforge.net/pfmon_usersguide.html kernel編程http://www.linuxhq.com/lkprogram.html 以前看到的linux kernel學習的,不過都是2.4 kernel的。 http://www.linux.org/docs/ldp/howto/KernelAnalysis-HOWTO.htmlKernelAnalysis-HOWTO 下面是linus對kernel發展前景的討論:kernel的開發在改變,Linux正在變得越來越好。但是對於Linux這樣一個龐大而分散的社區,有時候很難給出一個 Linux向何處去的清晰映像。kernel version 2.6接下來會有什麼,什麼時候有kernel 3.0? Linus近來在做什嗎?他在Linux基金會乾的是全職麼(確實是),他還為kernel寫代碼嗎—不了,近兩年來Linus主要在維護代碼。他確實還在寫代碼,但主要是工具類的,比如git(原始碼控制管理系統)。問:你認為什麼時候需要kernel version 3.0?它將與 2.6.x有何不同? Linus:我們一點也不期待3.0.x。我們只希望在引入優美的重大的新功能時無需以破壞性的方式衝擊底層代碼,也不會對其它任何舊有功能造成破壞。市場銷售有句名言:“你必須增加版本號碼以顯示你的產品正變得越來越好。”我們僅僅希望按照我們需要的方式進行改進,你不太可能看到所謂的“Get the new-and-improved version 3!”的宣傳口號。 問:你業餘時間做什嗎? Linus:我將所有的時間都花在電腦上,我現在單手寫代碼,因為我家的孩子(puppy)喜好坐在我腿上。當我不和電腦和家人呆在一起時,我會讀書。 問:讀什麼類型的書? Linus:多數是看一些通俗讀物,比如恐怖小說,科幻類,幻想類,驚險類等等。嚴肅讀物主要是生物領域,尤其是遺傳方面。Richard Dawkins是我心目中的英雄,我特別喜歡讀他的《自私的基因》。 採訪中Linus還談到到了許多趣事,比如遊戲,在開發Linux之前他玩過著名的橫版遊戲《波斯王子》,後來還玩過新一代的《時之砂》,不過他覺得《時之砂》系列的主題過於嚴肅。Linus說他以後可能不會再去玩遊戲了, 英文的可以參考這裡:http://apcmag.com/7012/linus_torvalds_talks_about#comment-38584 今天看得blog地址: 上次訪問的頁面 開啟選定的網頁 選擇全部 取消選擇 開啟選定的網頁後自動關閉此標籤 Linux下AT&T彙編 - Google 搜尋 linux kernel bob_zhang2004的控制台 - ChinaUnix部落格 - BLOG 嵌入式Linux CU部落格圈 ChinaUnix部落格 Linux & Technology Linux & Technology - 文章列表 Linux & Technology - 文章列表 Linux Devices in 2006 - Linux & Technology ioctl 的原子性 - Linux & Technology Linux Kernel 記憶體配置方式 - Linux & Technology Linux下AT&T彙編文法格式簡介(1) - Other - 小寶--讀書筆記 AT&T文法 vs. Intel文法 - Other - 小寶--讀書筆記 Linux下AT&T彙編文法格式簡介(6)--GCC 內聯彙編 - Other - 小寶--讀書筆記 |