×ðÁú¿­Ê±¹ÙÍøµÇ¼

ÓÅ»¯LinuxЧÀÍÆ÷µÄÍøÂçÐÔÄÜ£ºµ÷½âÍøÂçÉèÖÃÓë²ÎÊý

ÔõÑùÓÅ»¯ºÍµ÷½âlinuxЧÀÍÆ÷µÄÍøÂçÐÔÄÜ

Ëæ×Å»¥ÁªÍøµÄ¿ìËÙÉú³¤ £¬ÍøÂçÒѾ­³ÉΪÈËÃÇÊÂÇéºÍÉúÑÄÖв»¿É»òȱµÄÒ»²¿·Ö¡£¹ØÓÚLinuxЧÀÍÆ÷À´Ëµ £¬ÍøÂçÐÔÄܵÄÓÅ»¯ºÍµ÷½âÊÇÌá¸ßЧÀÍÆ÷ÐÔÄܺÍÎȹÌÐÔµÄÖ÷Òª»·½Ú¡£±¾ÎĽ«ÏÈÈÝһЩÓÅ»¯ºÍµ÷½âLinuxЧÀÍÆ÷ÍøÂçÐÔÄܵÄÒªÁìºÍ¼¼ÇÉ £¬×ÊÖúÄúÌáÉýЧÀÍÆ÷µÄÔËÐÐЧÂÊ¡£

µ÷½âÍøÂç×°±¸²ÎÊý

ʹÓÃethtoolÏÂÁî¿ÉÒÔÉó²éºÍµ÷½âÍøÂç×°±¸µÄ²ÎÊý¡£¿ÉÒÔͨ¹ýÒÔÏÂÏÂÁîÉó²éÄ¿½ñÍøÂç×°±¸µÄ״̬£º

ethtool eth0

µÇ¼ºó¸´ÖÆ

ÆäÖÐ £¬eth0ÊÇÐèÒªÉó²éµÄÍøÂç×°±¸Ãû³Æ¡£Éó²é²ÎÊýµÄÊä³öÖÐ £¬¿ÉÒÔ¹Ø×¢ÒÔϼ¸¸öÒªº¦²ÎÊý£º

Speed£ºÍøÂç×°±¸µÄËÙÂÊ £¬¿ÉÒÔͨ¹ýÊÖ¶¯ÉèÖûò×Ô¶¯Ð­ÉÌÀ´Ìá¸ßËÙÂÊ¡£

Duplex£ºÈ«Ë«¹¤»ò°ëË«¹¤Ä£Ê½ £¬ÔÚЧÀÍÆ÷ºÍÍøÂç×°±¸¼äÑ¡ÔñÊʵ±µÄģʽ¡£

RX/TX checksum offload£º½ûÓûòÆôÓÃÈí¼þÅÌËãУÑéºÍ¡£

Interrupt coalescing£ººÏ²¢ÍøÂçÎüÊÕÖÐÖ¹ £¬ïÔÌ­ÖÐÖ¹¿ªÏú¡£

ƾ֤ЧÀÍÆ÷µÄÏêϸÇéÐÎ £¬ÓÅ»¯ºÍµ÷½âÕâЩ²ÎÊý¿ÉÒÔÌá¸ßÍøÂçÐÔÄÜ¡£

µ÷½âÍøÂçÄں˲ÎÊý

LinuxÄں˵ÄÍøÂç²ÎÊýÒ²»áÓ°ÏìЧÀÍÆ÷µÄÍøÂçÐÔÄÜ¡£¿ÉÒÔͨ¹ýÐÞ¸Ä/proc/sys/net/Ŀ¼ÏµÄÎļþÀ´µ÷½âÕâЩ²ÎÊý¡£ÒÔÏÂÊÇһЩ³£¼ûµÄÍøÂçÄں˲ÎÊý¼°ÆäÓÅ»¯½¨Ò飺

net.core.rmem_defaultºÍnet.core.rmem_max£ºÓÃÓÚµ÷½âÄÚºËÎüÊÕ»º³åÇøµÄ¾Þϸ £¬Êʵ±Ôö´ó»º³åÇø¿ÉÒÔÌá¸ßÊý¾ÝÎüÊÕµÄЧÂÊ¡£

net.core.wmem_defaultºÍnet.core.wmem_max£ºÓÃÓÚµ÷½âÄں˷¢ËÍ»º³åÇøµÄ¾Þϸ £¬Êʵ±Ôö´ó»º³åÇø¿ÉÒÔÌá¸ßÊý¾Ý·¢Ë͵ÄЧÂÊ¡£

net.ipv4.tcp_wmemºÍnet.ipv4.tcp_rmem£ºÓÃÓÚµ÷½âTCPÅþÁ¬µÄ·¢ËͺÍÎüÊÕ»º³åÇøµÄ¾Þϸ £¬Êʵ±Ôö´ó»º³åÇø¿ÉÒÔÌá¸ßTCPÅþÁ¬µÄÐÔÄÜ¡£

net.ipv4.tcp_timestampsºÍnet.ipv4.tcp_sack£ºÓÃÓÚµ÷½âTCPÅþÁ¬µÄʱ¼ä´ÁºÍÑ¡ÔñÈ·ÈÏ£¨SACK£©µÄ¿ª¹Ø £¬·­¿ªÕâЩ¿ª¹Ø¿ÉÒÔÌá¸ßTCPÅþÁ¬µÄÐÔÄܺͿɿ¿ÐÔ¡£

net.ipv4.tcp_syncookies£ºÓÃÓÚ¿ØÖÆÊÇ·ñ¿ªÆôSYN Cookie·À»¤»úÖÆ £¬ÈôÊÇЧÀÍÆ÷ÃæÁÙ´ó×ÚSYN Flood¹¥»÷ £¬¿ÉÒÔ·­¿ª¸Ã¿ª¹Ø¡£

ÔÚµ÷½âÕâЩÄں˲ÎÊýʱ £¬ÇëÈ·±£¶ÔЧÀÍÆ÷ÐÔÄܺÍ×ÊÔ´ÏûºÄÓгä·ÖµÄÏàʶ £¬²¢±£´æÔ­ÓеÄÉèÖÃÎļþ±¸·Ý £¬ÒÔ·À·ºÆðÒâÍâÇéÐΡ£

ÓÅ»¯Ó¦ÓóÌÐòºÍЧÀÍ

³ýÁ˵÷½âÍøÂç×°±¸ºÍÄں˲ÎÊý £¬ÓÅ»¯Ó¦ÓóÌÐòºÍЧÀÍÒ²ÊÇÌáÉýÍøÂçÐÔÄܵÄÖ÷ÒªÒ»»·¡£ÒÔÏÂÊÇһЩ³£¼ûµÄÓÅ»¯½¨Ò飺

ʹÓøßЧµÄÍøÂçЭæźÍËã·¨£ºÀýÈç £¬Ê¹ÓÃHTTP/2È¡´úHTTP/1.1 £¬Ê¹ÓÿìËÙµÄHTTPSЭÒéʵÏÖTLS¼ÓÃÜ¡£

×èÖ¹ÍøÂçÇëÇóµÄÛÕ±Õ£ºÊ¹ÓÃÒì²½IOºÍÏ̳߳ØÀ´´¦ÀíÍøÂçÇëÇó £¬×èÖ¹ÔÚÖ÷Ïß³ÌÖоÙÐÐÍøÂçÛÕ±Õ²Ù×÷¡£

ѹËõ»ººÍ´æÍøÂç´«ÊäµÄÊý¾Ý£ºÊ¹ÓÃѹËõËã·¨»ººÍ´æ»úÖÆÀ´ïÔÌ­ÍøÂç´«ÊäµÄÊý¾ÝÁ¿ £¬ÌáÉýÊý¾Ý´«ÊäµÄЧÂÊ¡£

ʹÓÃCDN¼ÓËÙÄÚÈÝ·Ö·¢£ºÔÚЧÀÍÆ÷ÉÏʹÓÃÄÚÈÝ·Ö·¢ÍøÂ磨CDN£©À´»º´æºÍ·Ö·¢¾²Ì¬ÄÚÈÝ £¬ïÔÌ­ÍøÂçÑӳٺʹø¿íÏûºÄ¡£

×èÖ¹ÍøÂçÆ¿¾±£ºÍ¨¹ý¸ºÔØƽºâºÍÁ´Â·¾ÛºÏÊÖÒÕÀ´×èÖ¹µ¥µã¹ÊÕϺÍÍøÂçÆ¿¾± £¬Ìá¸ßЧÀÍÆ÷µÄ¿É¿¿ÐÔºÍÐÔÄÜ¡£

¼à²âºÍµ÷ÊÔÍøÂçÐÔÄÜ

°´ÆÚ¼à²âºÍµ÷ÊÔЧÀÍÆ÷µÄÍøÂçÐÔÄÜÊÇʵʱ·¢Ã÷Ï¢Õù¾öÎÊÌâµÄÒªº¦¡£¿ÉÒÔʹÓÃÖÖÖÖÍøÂçÐÔÄܼà²â¹¤¾ß £¬ÀýÈçNagios¡¢ZabbixµÈ £¬À´ÊµÊ±¼à²âЧÀÍÆ÷µÄÍøÂçÁ÷Á¿¡¢ÑӳٺͶª°üÂʵÈÖ¸±ê¡£Æ¾Ö¤¼à²âЧ¹û £¬ÊµÊ±¾ÙÐйÊÕÏÅŲéºÍÐÔÄÜÓÅ»¯¡£

×ܽ᣺

ÓÅ»¯ºÍµ÷½âLinuxЧÀÍÆ÷µÄÍøÂçÐÔÄÜ¿ÉÒÔÏÔÖøÌáÉýЧÀÍÆ÷µÄÔËÐÐЧÂʺÍÎȹÌÐÔ¡£Í¨¹ýµ÷½âÍøÂç×°±¸²ÎÊý¡¢ÓÅ»¯ÍøÂçÄں˲ÎÊý¡¢ÓÅ»¯Ó¦ÓóÌÐòºÍЧÀÍ £¬ÒÔ¼°¼à²âºÍµ÷ÊÔÍøÂçÐÔÄÜ £¬¿ÉÒÔÓÐÓõØÌá¸ßЧÀÍÆ÷µÄÍøÂçÐÔÄÜ¡£µ«ÐèҪעÖصÄÊÇ £¬ÓÅ»¯ºÍµ÷½âÍøÂçÐÔÄÜÐèÒª³ä·ÖÏàʶЧÀÍÆ÷µÄÓ²¼þºÍÈí¼þÇéÐÎ £¬²¢Æ¾Ö¤ÏÖÕæÏàÐξÙÐе÷½âºÍÓÅ»¯¡£Í¬Ê± £¬ÇëÈ·±£ÔÚ¾ÙÐÐÈκÎÍøÂçÐÔÄÜÓÅ»¯Ç°±¸·ÝÖ÷ÒªÊý¾ÝºÍÉèÖÃÎļþ £¬ÒÔ·À·ºÆðÒâÍâÇéÐΡ£

ÒÔÉϾÍÊÇÓÅ»¯LinuxЧÀÍÆ÷µÄÍøÂçÐÔÄÜ£ºµ÷½âÍøÂçÉèÖÃÓë²ÎÊýµÄÏêϸÄÚÈÝ £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢ £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢ £¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå £¬9:30-18:30 £¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ