1.Ä£¿é×Óϵͳ£¨Module Subsystem£©¡¢Í³Ò»É豸ģÐÍ£¨Unified Device Model£©ºÍ PnP Ö§³ÖÄ£¿é×Óϵͳ·¢ÉúÁËÖØ´ó±ä»¯¡£
2.Îȶ¨ÐÔÓÐËùÌá¸ß
ΪÁ˳¹µ×±ÜÃâÄں˼ÓÔØ»òÕßµ¼³öÕýÔÚ±»Ê¹ÓõÄÄÚºËÄ£¿é£¬»òÕßÖÁÉÙΪÁ˼õÉÙ¼ÓÔØ»òÕßжÔØÄ£¿éµÄͬʱʹÓøÃÄ£¿éµÄ¿ÉÄÜÐÔ£¨ÕâÓÐʱ»áµ¼ÖÂϵͳ±ÀÀ££©£¬Äں˼ÓÔغ͵¼³öÄÚºËÄ£¿éµÄ¹ý³Ì¶¼µÃµ½Á˸Ľø¡£
ÎÒÒ»Ö±ÒÔΪLinux²»»áËÀ»ú£¬Ö±µ½ÎҵĻùÓÚ2.4ÄÚºËLinuxͻȻËÀ»ú£¬Ôì³ÉÖØ´óËðʧ¡£ËùÒÔ£¬Ç¿ÁÒ½¨ÒéËùÓлùÓÚ2.4Äں˵ÄLinuxÓ¦ÓÃϵͳÂíÉÏÉý¼¶Äںˣ¬Ò»¶¨×¢Ò⣬Éý¼¶Ç°±¸·Ýϵͳ£¬·ÀÖ¹Éý¼¶³ö´íÔì³ÉÖØ´óËðʧ£¬Ò²Òª·ÀÖ¹Ó²¼þ²»¼æÈÝ¡¢Ó¦ÓÃϵͳ²»¼æÈÝÎÊÌ⣬×îºÃÏȲâÊÔһϣ¬ÔÙÉÏÏßÔËÐУ¡
3.ͳһÉ豸ģÐÍ
ͳһÉ豸ģÐ͵Ĵ´½¨ÊÇ 2.6 ÄÚºË×îÖØÒªµÄ±ä»¯Ö®Ò»¡£Ëü´Ù½øÁËÄ£¿é½Ó¿ÚµÄ±ê×¼»¯£¬ÆäÄ¿µÄÊǸüºÃµØ¿ØÖƺ͹ÜÀíÉ豸£¬ÀýÈ磺¸ü׼ȷµØÈ·¶¨ÏµÍ³É豸¡£ µçÔ´¹ÜÀíºÍÉ豸µçԴ״̬¡£ ¸Ä½øµÄϵͳ×ÜÏ߽ṹ¹ÜÀí¡£
4.¼´²å¼´Óã¨PnP£©Ö§³Ö
ÔËÐÐ 2.6 ÄÚºËµÄ Linux ³ÉΪһ¸öÕæÕý¼´²å¼´ÓÃµÄ OS¡£ÀýÈ磬¶Ô ISA PnP À©Õ¹¡¢ÒÅÁô MCA ºÍ EISA ×ÜÏßÒÔ¼°ÈȲå°ÎÉ豸µÄ PnP Ö§³Ö¡£
5.Äں˻ù´¡ÉèÊ©µÄ±ä»¯
ΪÁËÇø±ðÒÔ .o ΪÀ©Õ¹ÃûµÄ³£¹æ¶ÔÏóÎļþ£¬ÄÚºËÄ£¿éÏÖÔÚʹÓõÄÀ©Õ¹ÃûÊÇ .ko¡£ ´´½¨ÁËÐ嵀 sysfs Îļþϵͳ£¬µ±Äں˷¢ÏÖÉ豸Ê÷ʱ¾Í»áÃèÊöËü¡£ ÄÚ´æÖ§³Ö£¬NUMA Ö§³Ö ,Ö§³Ö¸ü´óÊýÁ¿µÄ RAM¡£2.6 ÄÚºËÖ§³Ö¸ü´óÊýÁ¿µÄ RAM£¬ÔÚ·ÖҳģʽÏÂ×î¸ß¿É´ï 64GB¡£
6.NUMA
¶Ô·ÇÒ»ÖÂÄں˷ÃÎÊ£¨Non-Uniform Memory Access - NUMA£©ÏµÍ³µÄÖ§³ÖÊÇ 2.6 ÄÚºËÖÐгöÏֵġ£
7.Ïß³ÌÄ£ÐÍ£¬NPTL
Ïà¶ÔÓÚ v2.4 µÄ LinuxThreads£¬ÔÚ°æ±¾ 2.6 ÖÐгöÏÖµÄÊÇ NPTL£¨Native POSIX Threading Library£©¡£ NPTL Ϊ Linux ´øÀ´ÁËÆóÒµ¼¶Ïß³ÌÖ§³Ö£¬ÌṩµÄÐÔÄÜÔ¶Ô¶³¬¹ýÁË LinuxThreads¡£ËüËù»ùÓÚµÄÓû§ÓëÄÚºËÏ̵߳ıÈÂÊÊÇ 1:1¡£
ÔÚ 2003 Äê 10 Ô£¬GNU C ³ÌÐò¿â glibc ÖÐÈÚÈëÁË NPTL Ö§³Ö£¬Red Hat ÂÊÏÈÔÚ Red Hat Linux 9 ºÍ Red Hat Enterprise Linux ÖÐʹÓö¨ÖÆµÄ v2.4 ÄÚºËʵÏÖÁË NPTL¡£
8.ÐÔÄܸĽø
еĵ÷¶ÈÆ÷Ëã·¨ £¬2.6 Linux ÄÚºËÒýÈëÁËÐ嵀 O(1) Ëã·¨¡£Ôڸ߸ºÔØÇé¿öÏÂËüÔËÐеÃÌرðºÃ¡£Ðµĵ÷¶ÈÆ÷»ùÓÚÿ¸ö CPU À´·Ö²¼Ê±¼äƬ£¬ ÕâÑù¾ÍÏû³ýÁËÈ«¾Öͬ²½ºÍÖØзÖÅäÑ»·£¬´Ó¶øÌá¸ßÁËÐÔÄÜ¡£
ÄÚºËÇÀÕ¼£¨Kernel Preemption£© £¬Ð嵀 2.6 ÄÚºËÊÇÇÀռʽµÄ¡£Õ⽫ÏÔÖøµØÌá¸ß½»»¥Ê½ºÍ¶àýÌåÓ¦ÓóÌÐòµÄÐÔÄÜ¡£
I/O ÐÔÄܸĽø£¬Linux µÄ I/O ×ÓϵͳҲ·¢ÉúÁËÖØ´óµÄ±ä»¯£¬Í¨¹ýÐÞ¸Ä I/O µ÷¶ÈÆ÷À´È·±£²»»áÓнø³ÌפÁôÔÚ¶ÓÁÐÖйý³¤Ê±¼äµÈ´ý½øÐÐÊäÈë/Êä³ö²Ù×÷£¬ ÕâÑù¾ÍʹµÃ I/O ²Ù×÷µÄÏìÓ¦¸üΪѸËÙ¡£
¿ìËÙÓû§¿Õ¼ä»¥³â£¨Fast User-Space Mutexes£© £¬¡°futexes¡±£¨¿ìËÙÓû§¿Õ¼ä»¥³â£©¿ÉÒÔʹÏ̴߳®Ðл¯ÒÔ±ÜÃ⾺̬Ìõ¼þ£¬ÒýÈëËüÒ²Ìá¸ßÁËÏìÓ¦Ëٶȡ£ ͨ¹ýÔÚÄں˿ռäÖв¿·ÖʵÏÖ¡°futexes¡±ÒÔÔÊÐí»ùÓÚ¾ºÕùÉèÖõȴýÈÎÎñµÄÓÅÏȼ¶¶øʵÏָĽø¡£
9.À©Õ¹ÐԸĽø
´¦ÀíÆ÷ÊýÄ¿¸ü¶à£¬Linux ÄÚºË 2.6 ×î¶à¿ÉÒÔÖ§³Ö 64 ¸ö CPU¡£Ö§³Ö¸ü´óµÄÄڴ棬¹é¹¦ÓÚ PAE£¨ÎïÀíµØÖ·À©Õ¹£¬Physical Address Extensions£©£¬ÔÚ 32-λϵͳÉÏ·ÖҳģʽÏÂËùÖ§³ÖµÄÄÚ´æÔö¼Óµ½ÁË 64GB¡£
Óû§ºÍ×飬ΩһÓû§ºÍ×éµÄÊýÁ¿´Ó 65£¬000 ÔöÖÁ 40 ¶àÒÚ£¬Ò²¾ÍÊÇ´Ó 16-λÔö¼Óµ½ÁË 32-λ¡£
PID µÄÊýÁ¿£¬PID µÄ×î´óÊýÁ¿´Ó 32£¬000 ÔöÖÁ 10 ÒÚ¡£
´ò¿ªÎļþÃèÊö·ûµÄÊýÁ¿£¬´ò¿ªÎļþÃèÊö·ûµÄÊýÁ¿Ã»ÓÐÔö¼Ó£¬µ«ÊDz»ÔÙÐèÒªÊÂÏÈÉèÖøòÎÊý£¬Ëü½«×ÔÐе÷½Ú¡£
10.Ö§³Ö¸ü¶àµÄÉ豸
ÔÚ Linux ÄÚºË 2.6 ֮ǰ£¬ÄÚºËÖÐÓпÉÒÔÔ¼Êø´óÐÍϵͳµÄÏÞÖÆ£¬±ÈÈçÿÌõÁ´ 256 ¸öÉ豸¡£v2.6 Äں˳¹µ×µØ´òÆÆÁËÕâЩÏÞÖÆ£¬ ²»µ«¿ÉÒÔÖ§³Ö¸ü¶àÀàÐ͵ÄÉ豸£¬¶øÇÒÖ§³Ö¸ü¶àͬÀàÐ͵ÄÉ豸¡£ÔÚ Linux 2.6 ϵͳÖУ¬¿ÉÒÔÖ§³Ö 4095 ÖÖÖ÷ÒªµÄÉ豸ÀàÐÍ£¬ ÿһ¸öµ¥¶ÀµÄÀàÐÍ¿ÉÒÔÓг¬¹ýÒ»°ÙÍò¸ö×ÓÉ豸¡£ Îļþϵͳ´óС£¬ Linux ÄÚºË 2.6 ËùÔÊÐíµÄ¿ÉÑ°Ö·Îļþϵͳ´óС×î´óΪ 16 TB¡£
11.Îļþϵͳ
ext2¡¢ext3 ºÍ ReiserFS µÈ´«Í³ Linux ÎļþϵͳµÃµ½ÁËÏÔÖøµÄ¸Ä½ø¡£×îÖµµÃ×¢ÒâµÄ¸Ä½øÊÇÀ©Õ¹ÊôÐÔ£¨»òÎļþÔªÊý¾Ý£©µÄÒýÈë¡£ ×îÖØÒªµÄÊÇ POSIX ACL µÄʵÏÖ£¬ÕâÊǶÔÆÕͨ UNIX ȨÏÞµÄÀ©Õ¹£¬¿ÉÒÔÖ§³Ö¸üϸ»¯µÄÓû§·ÃÎÊ¿ØÖÆ¡£
12.³ýÁ˶Դ«Í³ Linux ÎļþϵͳµÄ¸Ä½øÖ§³ÖÒÔÍ⣬еÄÄÚºËÍêÈ«Ö§³ÖÔÚ Linux ÖÐÏà¶Ô½ÏÐ嵀 XFS Îļþϵͳ¡£ Linux 2.6 ÄÚºËÏÖÔÚ»¹ÒýÈëÁË¶Ô NTFS ÎļþϵͳµÄ¸Ä½øµÄÖ§³Ö£¬ÏÖÔÚÔÊÐíÒÔ¶Á/дģʽ°²×° NTFS Îļþϵͳ¡£
Ôü×ÓÌ· ÓÚ 2011-05-24 00:58:45·¢±í:
ºÃÌù°¡£¡£¡ÊÕ²ØÁË£¡{:2_91:}