ÉîÈëÀí½âÓëʹÓÃLinuxϵͳµ÷ÓÃÖ®ÕûÀí±Ê¼Ç
ÉîÈëÀí½âÓëʹÓÃLinuxϵͳµ÷ÓÃÖ®ÕûÀí±Ê¼Ç
Ò»¡¢ ʲôÊÇϵͳµ÷ÓÃ
ÔÚLinuxµÄÊÀ½çÀÎÒÃǾ³£»áÓöµ½ÏµÍ³µ÷ÓÃÕâÒ»ÊõÓËùνϵͳµ÷Ó㬾ÍÊÇÄÚºËÌṩµÄ¡¢¹¦ÄÜÊ®·ÖÇ¿´óµÄһϵÁеĺ¯Êý¡£ÕâЩϵͳµ÷ÓÃÊÇÔÚÄÚºËÖÐʵÏֵģ¬ÔÙͨ¹ýÒ»¶¨µÄ·½Ê½°Ñϵͳµ÷ÓøøÓû§£¬Ò»°ã¶¼Í¨¹ýÃÅ(gate)ÏÝÈë(trap)ʵÏÖ¡£ÏµÍ³µ÷ÓþÍÊÇÓû§¿Õ¼äÓ¦ÓóÌÐòºÍÄÚºËÌṩµÄ·þÎñÖ®¼äµÄÒ»¸ö½Ó¿Ú¡£ÓÉÓÚ·þÎñÊÇÔÚÄÚºËÖÐÌṩµÄ£¬Òò´ËÎÞ·¨Ö´ÐÐÖ±½Óµ÷Óã»Ïà·´£¬Äú±ØÐëʹÓÃÒ»¸ö½ø³ÌÀ´¿çÔ½Óû§¿Õ¼äÓëÄÚºËÖ®¼äµÄ½çÏÞ¡£ÔÚÌض¨¼Ü¹¹ÖÐʵÏִ˹¦Äܵķ½·¨»áÓÐËù²»Í¬¡£
¶þ¡¢ ϵͳµ÷ÓõÄ×÷ÓÃ
ϵͳµ÷ÓÃÔÚLinuxϵͳÖз¢»Óמ޴óµÄ×÷Óã¬Èç¹ûûÓÐϵͳµ÷Óã¬ÄÇôӦÓóÌÐò¾ÍʧȥÁËÄں˵ÄÖ§³Ö¡£ÎÒÃÇÔÚ±à³ÌʱÓõ½µÄºÜ¶àº¯Êý£¬Èçfork¡¢openµÈÕâЩº¯Êý×îÖÕ¶¼ÊÇÔÚϵͳµ÷ÓÃÀïʵÏֵģ¬ÕâÀïÎÒÃÇ˵µ½µÄÁ½¸öº¯Êý£¬¼´forkºÍexit,ÕâÁ½º¯Êý¶¼ÊÇglibcÖеĺ¯Êý£¬µ«ÊÇÈç¹ûÎÒÃǸú×Ùº¯ÊýµÄÖ´Ðйý³Ì£¬¿´¿´glibc¶ÔforkºÍexitº¯ÊýµÄʵÏ־ͿÉÒÔ·¢ÏÖÔÚglibcµÄʵÏÖ´úÂëÀﶼÊDzÉÓÃÈíÖжϵķ½Ê½ÏÝÈëµ½ÄÚºËÖÐÔÙͨ¹ýϵͳµ÷ÓÃʵÏÖº¯ÊýµÄ¹¦Äܵġ£¾ßÌå¹ý³ÌÎÒÃÇÔÚϵͳµ÷ÓõÄʵÏÖ¹ý³Ì»áÏêϸµÄ½²µ½¡£
Óɴ˿ɼû£¬ÏµÍ³µ÷ÓÃÊÇÓû§½Ó¿ÚÔÚÄÚºËÖеÄʵÏÖ£¬Èç¹ûûÓÐϵͳµ÷Óã¬Óû§¾Í²»ÄÜÀûÓÃÄںˡ£
Èý¡¢ ϵͳµ÷ÓõÄÏÖʵ¼°µ÷Óùý³Ì
Ïêϸ½²Êöϵͳµ÷ÓõÄ֮ǰҲ½²Ò»ÏÂLinuxϵͳµÄһЩ±£»¤»úÖÆ¡£
LinuxϵͳÔÚCPUµÄ±£»¤Ä£Ê½ÏÂÌṩÁËËĸöÌØȨ¼¶±ð£¬Ä¿Ç°Äں˶¼Ö»Óõ½ÁËÆäÖеÄÁ½¸öÌØȨ¼¶±ð£¬·Ö±ðΪ“ÌØȨ¼¶0”ºÍ“ÌØȨ¼¶3”,¼¶±ð0Ò²¾ÍÊÇÎÒÃÇͨ³£Ëù½²µÄÄÚºËģʽ£¬¼¶±ð3Ò²¾ÍÊÇÎÒÃÇͨ³£Ëù½²µÄÓû§Ä£Ê½¡£»®·ÖÕâÁ½¸ö¼¶±ðÖ÷ÒªÊǶÔϵͳÌṩ±£»¤¡£ÄÚºËģʽ¿ÉÒÔÖ´ÐÐһЩÌØȨָÁîºÍ½øÈëÓû§Ä£Ê½£¬¶øÓû§Ä£Ê½Ôò²»ÄÜ¡£
ÕâÀïÌرðÌá³öµÄÊÇ£¬ÄÚºËģʽÓëÓû§Ä£Ê½·Ö±ðʹÓÃ×Ô¼ºµÄ¶ÑÕ»£¬µ±·¢ÉúģʽÇл»µÄʱºòͬʱҪ½øÐжÑÕ»µÄÇл»¡£Ã¿¸ö½ø³Ì¶¼ÓÐ×Ô¼ºµÄµØÖ·¿Õ¼ä£¨Ò²³ÆΪ½ø³Ì¿Õ¼ä£©£¬½ø³ÌµÄµØÖ·¿Õ¼äÒ²·ÖΪÁ½²¿·Ö£ºÓû§¿Õ¼äºÍϵͳ¿Õ¼ä£¬ÔÚÓû§Ä£Ê½ÏÂÖ»ÄÜ·ÃÎʽø³ÌµÄÓû§¿Õ¼ä£¬ÔÚÄÚºËģʽÏÂÔò¿ÉÒÔ·ÃÎʽø³ÌµÄÈ«²¿µØÖ·¿Õ¼ä£¬Õâ¸öµØÖ·¿Õ¼äÀïµÄµØÖ·ÊÇÒ»¸öÂß¼µØÖ·£¬Í¨¹ýϵͳ¶ÎÃæʽµÄ¹ÜÀí»úÖÆ£¬·ÃÎʵÄʵ¼ÊÄÚ´æÒª×ö¶þ¼¶µØַת»»£¬¼´£ºÂß¼µØÖ·¡¢ÏßÐ
Ïà¹ØÎĵµ£º
ÔÎÄÍøÖ·£ºhttp://group.ednchina.com/1036/21283.aspx
RCU»úÖÆÊÇLinux2.6Ö®ºóÌṩµÄÒ»ÖÖÊý¾ÝÒ»ÖÂÐÔ·ÃÎʵĻúÖÆ£¬´ÓRCU£¨read-copy-update£©µÄÃû³ÆÉÏ¿´£¬ÎÒÃǾÍÄܶÔËûµÄʵÏÖ»úÖÆÓÐÒ»¸ö´ó¸ÅµÄÁ˽⣬ÔÚÐÞ¸ÄÊý¾ÝµÄʱºò£¬Ê×ÏÈÐèÒª¶ÁÈ¡Êý¾Ý£¬È»ºóÉú³ÉÒ»¸ö¸±±¾£¬¶Ô¸±±¾½øÐÐÐ޸ģ¬ÐÞ¸ÄÍê³ÉÖ®ºóÔÙ½«ÀÏÊý¾Ýupdate³ÉеÄÊý¾Ý£¬´ ......
ÔÚ¿½±´Êý¾ÝµÄʱºò£¬Èç¹ûÓöµ½Ò»¶ÑСÎļþ£¬¼´Ê¹×ÜÊý¾ÝÁ¿ºÜС£¬¿½±´Ò²»áºÜ·Ñʱ£¬ÔÚwinÏ£¬ÓÐÒ»¸öÈí¼þ½Ðfastcopy£¬¿ÉÒÔʵÏÖ¿ìËÙ¿½±´£¬¾Ý˵ʹÓÃÁËÒ»ÖÖ½ÐÄÚ´æÓ³ÉäµÄ¼¼Êõ£¬ÄÇôÔÚLinuxÏÂÓÐûÓÐÄØ£¿
ÎÒÕÒÁË°ëÌ죬ÔÀ´LInuxϸù±¾²»ÐèÒªµ¥¶ÀµÄÈí¼þ£¬ÓÃÏÖÓеÄÃüÁî×éºÏ¾ÍOKÁË£¡
ÓиßÊÖÔÚÁ½¸ö·þÎñÆ÷¼ä´«Êý¾Ý£¬Ê¹ÓÃÃüÁʵÏÖÁË¿ìËÙ´«Ë ......
ÐéÄâÖ÷»ú·þÎñÉÌÔÚÔËÓª¹ý³ÌÖпÉÄÜ»áÊܵ½ºÚ¿Í¹¥»÷£¬³£¼ûµÄ¹¥»÷·½Ê½ÓÐSYN£¬DDOSµÈ¡£Í¨¹ý¸ü»»IP£¬²éÕÒ±»¹¥»÷µÄÕ¾µã¿ÉÄܱܿª¹¥»÷£¬µ«ÊÇÖжϷþÎñµÄʱ¼ä±È½Ï³¤¡£±È½Ï³¹µ×µÄ½â¾ö·½·¨ÊÇÌíÖÃÓ²¼þ·À»ðǽ¡£²»¹ý£¬Ó²¼þ·À»ðǽ¼Û¸ñ±È½Ï°º¹ó¡£¿ÉÒÔ¿¼ÂÇÀûÓÃLinux ϵͳ±¾ÉíÌṩµÄ·À»ðǽ¹¦ÄÜÀ´·ÀÓù¡£
µÖÓùSYN SYN¹¥»÷ÊÇÀûÓÃTCP/IPÐÒé3´ÎÎÕÊÖµ ......
תÔØʱÇë×¢Ã÷³ö´¦ºÍ×÷ÕßÁªÏµ·½Ê½
ÎÄÕ³ö´¦£ºhttp://www.limodev.cn/blog
×÷ÕßÁªÏµ·½Ê½£ºÀîÏȾ² <xianjimli at hotmail dot com>
Ëæ×ÅXPµÄÁ÷ÐУ¬ÈËÃÇÔ½À´Ô½×¢ÖØÈí¼þµÄÇ°ÆÚÉè¼Æ¡¢ºóÆÚµÄʵÏÖ£¬ÒÔ¼°¹á´©ÓÚÆäÖеIJâÊÔ¹¤×÷£¬¾¹ýÕâ¸ö¹ý³Ì³öÀ´µÄ×ÔÈ»ÊǸßÖÊÁ¿µÄÈí¼þ¡£ÉõÖÁÓÐÈËÉù³ÆXP»áÌÔ̵÷ÊÔÆ÷£¡Õ⵱ȻÊÇÓÐÒ»¶¨µÀÀíµÄ£¬È ......