Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

̽Ë÷ Linux ÄÚ´æÄ£ÐÍ

ÎÄÕÂÀ´Ô´:http://www.ibm.com/developerworks/cn/linux/l-memmod/index.html
¼¶±ð£º ³õ¼¶
Vikram Shukla (vikshukl@in.ibm.com), Èí¼þ¹¤³Ìʦ, IBM
2006 Äê 2 ÔÂ 23 ÈÕ
ÔÚÕâƪ Linux® ÄÚ´æÄ£ÐÍÖ¸ÄÏÖУ¬ÎÒÃǽ«Ñ§Ï°ÈçºÎ¹¹½¨ºÍ¹ÜÀíÄÚ´æ·½ÃæµÄ»ù´¡ÖªÊ¶¡£±¾Ö¸ÄϽéÉÜÁËÄÚ´æ¿ØÖƵ¥Ôª¡¢·ÖҳģÐÍ·½ÃæµÄÄÚÈÝ£¬²¢Ïêϸ½éÉÜÁËÎïÀíÄÚ´æÇøÓò·½ÃæµÄ֪ʶ¡£
Àí½â Linux ʹÓõÄÄÚ´æÄ£ÐÍÊÇ´Ó¸ü´ó³Ì¶ÈÉÏÕÆÎÕ Linux Éè¼ÆºÍʵÏֵĵÚÒ»²½£¬Òò´Ë±¾ÎĽ«¸ÅÊö Linux ÄÚ´æÄ£Ðͺ͹ÜÀí¡£
Linux ʹÓõÄÊǵ¥Ò»ÕûÌåʽ½á¹¹ (Monolithic)£¬ÆäÖж¨ÒåÁËÒ»×éÔ­Óï»òϵͳµ÷ÓÃÒÔʵÏÖ²Ù×÷ϵͳµÄ·þÎñ£¬ÀýÈçÔÚ¼¸¸öÄ£¿éÖÐÒÔ³¬¼¶Ä£Ê½ÔËÐеĽø³Ì¹ÜÀí¡¢²¢·¢¿ØÖƺÍÄÚ´æ¹ÜÀí·þÎñ¡£¾¡¹Ü³öÓÚ¼æÈÝÐÔ¿¼ÂÇ£¬Linux ÒÀÈ»½«¶Î¿ØÖƵ¥ÔªÄ£ÐÍ (segment control unit model) ±£³ÖÒ»ÖÖ·ûºÅ±íʾ£¬µ«Êµ¼ÊÉÏÒѾ­ºÜÉÙʹÓÃÕâÖÖÄ£ÐÍÁË¡£
ÓëÄÚ´æ¹ÜÀíÓйصÄÖ÷ÒªÎÊÌâÓУº
ÐéÄâÄÚ´æµÄ¹ÜÀí£¬ÕâÊǽéÓÚÓ¦ÓóÌÐòÇëÇóÓëÎïÀíÄÚ´æÖ®¼äµÄÒ»¸öÂß¼­²ã¡£
ÎïÀíÄÚ´æµÄ¹ÜÀí¡£
ÄÚºËÐéÄâÄÚ´æµÄ¹ÜÀí/ÄÚºËÄÚ´æ·ÖÅäÆ÷£¬ÕâÊÇÒ»¸öÓÃÀ´Âú×ã¶ÔÄÚ´æµÄÇëÇóµÄ×é¼þ¡£ÕâÖÖ¶ÔÄÚ´æµÄÇëÇó¿ÉÄÜÀ´×ÔÓÚÄںˣ¬Ò²¿ÉÄÜÀ´×ÔÓÚÓû§¡£
ÐéÄâµØÖ·¿Õ¼äµÄ¹ÜÀí¡£
½»»»ºÍ»º´æ¡£
±¾ÎÄ̽ÌÖÁËÒÔÏÂÎÊÌ⣬¿ÉÒÔ°ïÖúÄú´Ó²Ù×÷ϵͳÖÐÄÚ´æ¹ÜÀíµÄ½Ç¶ÈÀ´Àí½â Linux µÄÄÚÄ»£º
¶Î¿ØÖƵ¥ÔªÄ£ÐÍ£¬Í¨³£×¨ÓÃÓÚ Linux
·ÖҳģÐÍ£¬Í¨³£×¨ÓÃÓÚ Linux
ÎïÀíÄÚ´æ·½ÃæµÄ֪ʶ
ËäÈ»±¾ÎIJ¢Ã»ÓÐÏêϸ½éÉÜ Linux Äں˹ÜÀíÄÚ´æµÄ·½·¨£¬µ«ÊǽéÉÜÁËÓйØÕû¸öÄÚ´æÄ£Ð͵Ä֪ʶÒÔ¼°ÏµÍ³µÄÑ°Ö··½Ê½£¬ÕâЩ½éÉÜ¿ÉΪÄú½øÒ»²½µÄѧϰÌṩһ¸ö¿ò¼Ü¡£±¾ÎÄÖصã½éÉܵÄÊÇ x86 ¼Ü¹¹£¬µ«±¾ÎÄÖеÄ֪ʶ¶ÔÓÚÆäËûÓ²¼þʵÏÖͬÑùÊÊÓá£
x86 ÄÚ´æ¼Ü¹¹
ÔÚ x86 ¼Ü¹¹ÖУ¬ÄÚ´æ±»»®·Ö³É 3 ÖÖÀàÐ͵ĵØÖ·£º
Âß¼­µØÖ· (logical address) ÊǴ洢λÖõĵØÖ·£¬Ëü¿ÉÄÜÖ±½Ó¶ÔÓ¦ÓÚÒ»¸öÎïÀíλÖã¬Ò²¿ÉÄܲ»Ö±½Ó¶ÔÓ¦ÓÚÒ»¸öÎïÀíλÖá£Âß¼­µØַͨ³£ÔÚÇëÇó¿ØÖÆÆ÷ÖеÄÐÅϢʱʹÓá£
ÏßÐÔµØÖ· (linear address) £¨»ò³ÆΪ ƽÃæµØÖ·¿Õ¼ä£©ÊÇ´Ó 0 ¿ªÊ¼½øÐÐÑ°Ö·µÄÄÚ´æ¡£Ö®ºóµÄÿ¸ö×Ö½Ú¶¼¿É˳ÐòʹÓÃÏÂÒ»Êý×ÖÀ´ÒýÓã¨0¡¢1¡¢2¡¢3 µÈ£©£¬Ö±µ½ÄÚ´æĩβΪֹ¡£Õâ¾ÍÊÇ´ó²¿·Ö·Ç Intel CPU µÄÑ°Ö··½Ê½¡£Intel® ¼Ü¹¹Ê¹ÓÃÁ˷ֶεĵØÖ·¿Õ¼ä£¬ÆäÖÐÄÚ´æ±»»®·Ö³É 64KB µÄ¶Î£¬ÓÐÒ»¸ö¶Î¼Ä´æÆ÷×ÜÊÇÖ¸Ïòµ±Ç°ÕýÔÚÑ°Ö·µÄ¶ÎµÄ»ùÖ·¡£ÕâÖּܹ¹ÖÐµÄ 32 λģʽ±»ÊÓΪƽÃæµØÖ·¿Õ¼ä£¬²»¹ýËüҲʹÓÃÁ˶Ρ£
ÎïÀíµØÖ· (physical address) ÊÇʹÓÃÎïÀíµØÖ·×ÜÏßÖеÄ


Ïà¹ØÎĵµ£º

linuxÄں˵ÄPAEºó׺

yum update ¸üÐÂϵͳ֮ºó£¬Äں˰汾³öÏÖÁËÁ½ÖÖ£¬Ò»ÖÖÊÇPAE£¬ÁíÍâÒ»ÖÖ²¢Ã»ÓÐPAE¡£
ºÎνPAEÄØ£¿È«³Æ£ºPhysical Address Extension
Æäʵ¾ÍÊÇʹ32λϵͳ֧³Ö³¬¹ý4GÄڴ棬×î´ó¿É´ï64GÄÚ´æ¡£
¶ÔÓÚLinuxÀ´Ëµ£¬Äں˴Ó2.6°æ±¾¿ªÊ¼È«ÃæÖ§³ÖPAE[3]
£¬ÕâʹµÃÔÚ32λµÄ»úÆ÷ÉÏ¿ÉÒÔ·ÃÎÊ64GBµÄÄÚ´æ¡£ÆôÓÃÁËPAEµÄLinuxÄں˻¹ÐèҪͬÑùÖ§³ÖP ......

LinuxÖ¸ÒýÎÒÃÇ×ßÏòºÎ·½£¿






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
    ½üÆÚÒÔÀ´£¬¾²¹ÛÊÀ½ç
Linux
Òµ½çµÄ¸÷ÖÖ¶¯Ïò£¬ÁîÈËÐÄÈç³±Ó¿£¬²»µÃ°²Äþ¡£´Ë»°Ôõô½²£¿
 
    Ê®¼¸ÄêÀ´£¬
Linux
ÒѾ­ÐγÉÒ»¹ÉÊÀ½çÐԵķ¢Õ¹³±Á÷£¬ÈκÎÊÆÁ¦Ò²×èµ²²»ÁË¡£Ðí¶àÊÀ½ç¼¶µÄ´ó¹ ......

linuxϵĽâѹ,´ò°ü¹¤¾ß

½âѹ¹¤¾ß£¨ÎÞ´ò°ü¹¦ÄÜ£©£º
-------------------------------
j——bzip2¡¢bunzip2 
z——gzip¡¢gunzip
Z——compress¡¢uncompress
½âѹ¹¤¾ß£¨Óдò°üÄÜÁ¦£©£º
-------------------------------
zip¡¢unzip
rar¡¢unrar
ѹËõ°ü*.tar.gz»òÕß*.tgzµÄ½âѹ
----------------------- ......

linuxµÄһЩ¼¼ÇÉ


++ʵÏÖRedHat·ÇÕý³£¹Ø»úµÄ×Ô¶¯´ÅÅÌÐÞ¸´
ÏȵǼµ½·þÎñÆ÷£¬È»ºóÔÚ/etc/sysconfigÀïÔö¼ÓÒ»¸öÎļþautofsck,ÄÚÈÝÈçÏ£º
AUTOFSCK_DEF_CHECK=yes
PROMPT=yes
++¸Ä±äÎļþ»òĿ¼֮×îºóÐÞ¸Äʱ¼ä(±äΪµ±Ç°Ê±¼ä)
Ö´Ðиñʽ£ºtouch name ( name ¿ÉΪÎļþ»òĿ¼Ãû³Æ¡£)
++ÈçºÎÉèÖÃloginºó»¶Ó­ÐÅÏ¢
ÐÞ¸Ä/etc/motd£¬ÍùÀïÃæдÈëÎı¾ ......

ÓÃÃüÁîÐмӹÒLinuxµÄÎļþϵͳ¼ò½é


ѧϰ²Ù×÷ϵͳʱÎÒÃǶ¼Á˽⵽ÎļþϵͳÊDzÙ×÷ϵͳµÄÖØÒª×é³É²¿·ÖÖ®Ò»¡£ÎļþϵͳÓкܶàÖÖÀàÐÍ£¬±ÈWindowsµÄfat¡¢fat32£»LinuxµÄext¡¢ext2»òext3£»FreeBSDµÄufsµÈµÈ¡£ÔÚʹÓÃLinuxµÄ¹ý³Ì£¬Ò²³£³£Linux²Ù×÷ϵͳʹÓÃÐéÄâÎļþϵͳVFS£¬Í¨¹ýVFS¿ÉÒÔÖ±½Ó´æÈ¡ÆäËüÒѱ»ÄÚºËÖ§³ÖµÄ¸÷ÖÖÎļþϵͳ£¬ÓÃÆðÀ´¾ÍÏñÊÇÔÚÆÕͨµÄ LinuxµÄextϵÁÐÎÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ