linux£¬winÏÂjava ÔËÐÐËÙ¶ÈÏà²îÈç´ËÖ®´ó£¬¸ßÊÖÖ¸µã
Ç°¶Îʱ¼äд¹ýÒ»¸öСÏîÄ¿Ö÷ÒªÊÇ´¦ÀítarÎļþ½âѹ£¬2½øÖÆÎļþ´¦Àí£¬xmlÎļþ´¦ÀíµÈÒµÎñ£¬winÏÂÅÜ27906ms£¬¶ølinuxÏÂÈ´ÒªÅÜ224818ms¡£Í¬ÑùµÄÒµÎñÈ´Ïà²î8±¶µÄʱ¼ä¡£
¸ßÊÖÖ¸µãÕâ¸öÊÇʲôÔÒò¡£
linuxÏÂÓкܶàÊÇÒª×Ô¼ºÓÅ»¯µÄ£¬Èç¹ûÄã¹»ÄÜ£¬±ÈwinÏÂÒªºÃÓõĶà
up
¶÷ ͬÒâÂ¥Éϸ÷λÒâ¼û
Â¥Ö÷¿ÉÒÔÊÔ×ÅÓÅ»¯Ï ÔÙÀ´ÌùÒ»ÏÂÓÅ»¯ºóµÄÊý¾Ý
Æäʵÿ¸öϵͳËû¶¼ÓкܴóµÄÓÅ»¯¿Õ¼äµÄ
Äã¿ÉÒÔ°ÑËýÓÅ»¯³ÉÄã×Ô¼º×ö¿ª·¢µÄ×î´óÓ¦ÓÃ
µ«ÊÇ Ò²²»Ò»¶¨ÊÇϵͳµÄ²î±ð Ò²ÓпÉÄÜÊÇÆäËûÓ²¼þ»òÈí¼þµÄÔÒò
ÎҸоõÒªÊÇÓÃIBMµÄÐéÄâ»ú½á¹ûµ¹¹ýÀ´»¹ÊDZȽϿ¿Æ×µÄ
ÓÅ»¯linxu ioÎÒÕÒÁ˵ãÐÅÏ¢¡£²»¹ýÎÒ²»ÏþµÃÔõôÓÅ»¯£¬Ë»¹ÄÜ˵µÄÇå³þµã£¬ÎÒ¸ÕÓÃubuntuʱ¼ä²»³¤£¬»¹²»ÊìϤ
²»´í¡£¡£
·¹ý¿´¿´¡¡
http://www.baidu.com/s?bs=ubuntu+%D3%C5%BB%AF&f=8&wd=ubuntu+IO%D3%C5%BB%AF
http://www.baidu.com/s?bs=ubuntu+IO%D3%C5%BB%AF&f=8&wd=ubuntu+%D3%C5%BB%AF
Ò»Ö±ÒÔΪLinuxµÄÐéÄâ»úÓ¦¸ÃǿһЩ¡£¡£¡£¡£
linuxϵÄÔËÐÐËÙ¶ÈÓ¦¸Ã±ÈwindowsÏÂÒª¿ì²Å¶Ô¡£¡£
Â¥Ö÷ÌýÏÂÂ¥ÉϵĽ¨Ò飬ÓÅ»¯Ò»ÏÂ~
windowsΪʲô±ÈLINUXÁ÷ÐУ¿½ö½öÊǽçÃæô£¿µ±È»ÕâÀïÃæ¿Ï¶¨»¹°üÀ¨IO¶ÁÈ¡ËÙ¶ÈÒÔ¼°ÆäËûÏà¹Ø»ù´¡ÉèÊ©µÄÉèÖᣱÈÈ磬ÔËÐÐÒ»°ãµÄ´óÐÍÈí¼þ£¬windows¾Í±ÈLINUX¿ìºÜ¶à¡£
ºÃºÃѧϰÏ ¶ÔÎÒÓаïÖú лл¸÷λÀ²
Ïà¹ØÎÊ´ð£º
´ó¼ÒºÃ£¬±¾ÈËÄ¿Ç°¸Õ¸Õ½Ó´¥Linux¡£ÏÖÔÚ¹«Ë¾µÄÏîÄ¿ÐèÒªËõ¼õLinuxµÄKernelºÍAPP²¿·ÖµÄCode Size¡£Ä¿Ç°ÎÒÃÇʹÓõÄÊÇLinux2.6.22.15°æ±¾£¬Ó¦ÓÃÓÚADSL Modem£¨¼ÒÍ¥Íø¹Ø£©¡£
1.ÎÒÃDzúÆ·Ó¦ÓÃÊÇADSL Gateway£¬Kernel²¿ ......
ÎÒûÓа²×°²Ù×÷ϵͳµÄ¾Ñ飬¼´Ê¹ÊÇWINDOWS¡£ÏÖÔÚÏëÔÚLINUX²Ù×÷ϵͳ´ó»·¾³ÏÂѧCÓïÑÔ£¬ÓÖÒªÂò±¾±¾£¬ÇëÎÊÈç¹û²Ù×÷ϵͳ°²×°²»µ±£¬»á²»»á¶ÔµçÄÔÔì³Éʲô´óµÄÆÆ»µ£¿ÓÐûÓбØÒªÏÈÂòÒ»¸ö¶þÊÖµçÄÔÁ·Ò»ÏÂLINUXµÄ ......
Õ¾µãÏÂÓÐ×ÓÎļþ¼Ð script Îļþ¼ÐÏÂÓÐjsÎļþindex.js
¸ùĿ¼ÏÂÓÐÎļþindex.php
ÏëȨÏÞÉèÖóÉÖ±½Óͨ¹ýURL:http://www.abc.com/script/index.jsÎÞ·¨·ÃÎÊ,ÐèҪȨÏÞ
µ«ÊÇͨ¹ýindex.phpµ ......
ÎÒÓùýubuntu8.10°æ±¾£¬´ÓverycdÏÂÔصġ£
ÏÂÔغó£¬ÊÇ°ëÓ¢ÎÄ¡£ÇÒÎÒ¶ÔlinuxϵͳµÄ²Ù×÷Àí½â²»ÉÒò´Ë×°ÖÐÎÄÊäÈë·¨¶¼¸ãÁ˺þá£
È»ºó°´ÕÕÍøÉϵĽ̸̳üÐÂÖÐÎĽçÃ棬µ«ÊǸüÐÂÁË1ÍíÉϺóÌáʾÖжϡ¡Àס£
......
СµÜ×î½üÐèÒªÒ»¸öÓÃsocket»ñÈ¡htmlÎĵµµÄ´úÂ룬µ«ÊÇÀÏÊDz»ÄÜ»ñÈ¡ÍêÕûµÄhtmlÔ´Âë¡£ÔÒò²»Ã÷£¬Íû¸ßÊÖÖ¸µã£¡
C/C++ code:
char *Http_GET(char *host,int port,char *data) //·¢ËÍGETÇëÇó
{
char response[2 ......