linux iscsi initiator ¹¤¾ß
open-iscsi£ºhttp://www.open-iscsi.org/
iscsi Èí¼þµÄÆÀ¼Û
ÖÁÓÚÈí¼þ±íÏÖµÄÇ¿ÈõÈçºÎ?´Ë¿É͸¹ýʵ¼ÊµÄCPU ÔËËãÕ¼ÓÃ(Õ¼ÓðٷֱÈÓúµÍÓúºÃ)¡¢I/O ´«Êä±íÏÖ(ÿÃëÍê³É¶àÉÙ¸öI/O ´¦Àí£¬¼´IOPS)À´ÆÀ¶Ï£¬ÁíÍâÒªÖØÊÓÖ§³ÖµÄGbE ²ã¼¶¡¢´íÎóÐÞÕý²ã¼¶£¬Èç10GbE ÓÅÓÚ1GbE£¬ÒÔ¼°ERL2 ÓÅÓÚERL1 ÓÅÓÚERL0¡£ÒÔ¼°ÊÇ·ñÖ§³ÖMPIO£¬MPIO Ö¸µÄÊÇÒ»²¿·þÎñÆ÷ÄÚÓÐÒ»ÕÅÒÔÉϵÄGbE NIC ʱ£¬¿ÉͬʱÔËÓöàÕÅNIC ¿¨½øÐд«Ê䣬ÒÔ¸ºÔØƽºâ(Load Balance)·½Ê½¾¡¿ìÍê³É´«µÝ£¬»òÔÚijһNIC ¿¨¹ÊÕÏʧЧʱ£¬Æ乤×÷Ò²¿ÉתÓÉÆäËüÈÔÕý³£ÔË×÷µÄNIC ¿¨À´½ÓÊÖ¡£
ÖÁÓÚcpuÕ¼ÓÐÂÊ¡¢IOPS¼°throughoutµÈ¿ÉÒÔʹÓÃÈí¼þ²âÊԵóö¡£ÖØÒª¹ØעϴíÎóÐÞÕý²ã¼¶¡¢mulitpath¹¦ÄÜ¡£
ErrorRecoveryLevel
Multipath
Ïà¹ØÎĵµ£º
¡¡apache·þÎñÆ÷µÄ×îÐÂÎȶ¨·¢²¼°æ±¾ÊÇhttpd-2.2..0,¹Ù·½ÏÂÔصØÖ·ÊÇ£ºhttp://httpd.apache.org/download.cgi¡£ÎÒÃÇͨ¹ýÏÂÃæµÄ²½ÖèÀ´¿ìËٵĴһ¸öweb·þÎñÆ÷¡£
¡¡¡¡1¡¢ ÏÂÔØÔ´ÂëÎļþhttpd-2.2.0.tar.gz µ½linux·þÎñÆ÷µÄij¸öĿ¼¡£
¡¡¡¡2¡¢ ½âѹÎļþ # tar zxvf httpd-2.2.0.tar.gz .
¡¡¡¡3¡¢ ÅäÖÃ # ./c ╟refix=/usr ......
Èý¡¢VMAºÍPAGE½á¹¹ ºÍmmapº¯Êý
1.page Ö÷Òª³ÉÔ±
atomic_t count;
//Õâ¸öÒ³µÄÒýÓÃÊý. µ±Õâ¸ö count µôµ½ 0, ÕâÒ³±»·µ»Ø¸ø¿ÕÏÐÁбí.
void *virtual;
//Èç¹ûÒ³±»Ó³É䣬Ôò±íʾÕâÒ³µÄÄÚºËÐéÄâµØÖ·; ·ñÔò, NULL.
unsigned long flags;
//ÃèÊöҳ״̬µÄÒ»Ì×λ±êÖ¾. ÕâЩ°üÀ¨ ......
Ðí¶à¸Õ½Ó´¥LinuxµÄÍøÂç¹ÜÀíÔ±·¢ÏÖ£¬ËûÃǺÜÄÑÓÉÖ¸Ïòµã»÷ʽµÄ°²È«ÅäÖýçÃæת»»µ½ÁíÒ»ÖÖ»ùÓڱ༸´ÔÓ¶øÄÑÒÔ×½ÃþµÄÎı¾ÎļþµÄ½çÃæ¡£±¾ÎÄÁгöÆßÌõ¹ÜÀíÔ±Äܹ»Ò²Ó¦¸Ã¿ÉÒÔ×öµ½µÄ²½Ö裬´Ó¶ø°ïÖúËûÃǽ¨Á¢¸ü¼Ó°²È«µÄLinux·þÎñÆ÷£¬²¢ÏÔÖø½µµÍËûÃÇËùÃæÁٵķçÏÕ¡£
ÇëÈκδóÐÍ»ú¹¹µÄÍøÂç¹ÜÀíÔ±¶ÔLinuxºÍÍøÂç²Ù×÷ϵͳ£¨ÈçWindows NT»òNo ......
LINUXµ÷ÓÅ·½·¨×ܽá
----------------------------------------------------------------------------------------------------------------------------
´ó¶àÊý Linux ·¢²¼°æ¶¼¶¨ÒåÁËÊʵ±µÄ»º³åÇøºÍÆäËû Transmission Control Protocol£¨TCP£©²ÎÊý¡£¿ÉÒÔÐÞ¸ÄÕâЩ²ÎÊýÀ´·ÖÅä¸ü¶àµÄÄڴ棬´Ó¶ø¸Ä½øÍøÂçÐÔÄÜ¡£ÉèÖÃÄں˲ÎÊýµÄ· ......