TCP
2023å¹´03æ31æ¥è¿½è¨ï¼ãã®è¨äºãåºã«ã@sadnessOjisanãããããã³ã¼ãã¬ãã«ã«ããè¸ã¿è¾¼ãã ããã¤ãã°ãªã¼ã³ã¹ã¬ãããã¼ã¹ã®æ°ããWebãµã¼ãã¢ã¼ããã¯ãã£ãå«ãã¦æ´çãããè¨äº Webãµã¼ãã¼ã¢ã¼ããã¯ãã£é²åè«2023 | blog.ojisan.io ãå ¬éããã¾ãâ¦
æ¬è¨äºã®å ¬éå¾ã®2016å¹´7æã«ã¯ã¦ãªã«ããããã¥ã¼ãã³ã°äºä¾ãç´¹ä»ããã ã¯ã¦ãªã«ãããLinuxãããã¯ã¼ã¯ã¹ã¿ãã¯ããã©ã¼ãã³ã¹æ¹å / Linux network performance improvement at hatena - Speaker Deck HAProxy ã nginx ãªã©ã®ã½ããã¦ã§ã¢ãã¼ããã©â¦
è¿½è¨ @jovi0608 ããã«é常ã«ä¸å¯§ã«ã³ã¡ã³ããããã ãã¾ããã https://gist.github.com/shigeki/ba7941d114344ddd4b01 æ¬æ CROSS 2014ã®æ¬¡ä¸ä»£Webã»ãã·ã§ã³ã«åå ããã ããããåºæ¿ãåããã®ã§ãç¹ã«ãWebã¢ããªã±ã¼ã·ã§ã³ãéçºã»éç¨ããä¸ã§ãä»å¾â¦
2013/10/22 追è¨ããï¼ Starletã®ã³ã¼ãèªãã§ã¦listening socketã«TCP_DEFER_ACCEPTã¨ããããªãã·ã§ã³æ¸¡ãã¦ãã®ã§ãããä½ã ã£ã¦æã£ã¦èª¿ã¹ãï¼ TCPã«ç¹ã«è©³ããããã§ã¯ãªãã®ã§ç解ã«èª¤ãããããããããªãï¼ package Starlet::Server; ... # set defeâ¦
SPDYãæµè¡ã£ã¦ãã¦ï¼è¤æ°ã®TCPã³ãã¯ã·ã§ã³ã1ã¤ã«ã¾ã¨ãã¦é«éåãå³ããããã¨ãããã¨ã¯ç¥ã£ã¦ããï¼ ãããï¼åã«TCPã®ã³ãã¯ã·ã§ã³æ°ãæããã ããªãHTTP 1.1ã®Keep Aliveãpipeliningã使ãã°ãããï¼æ¢åæè¡ã®ã©ããåé¡ã§SPDYã¯ã©ã解決ãã¦ããâ¦
æè¿ï¼OSã®ãããã¯ã¼ã¯ã¹ã¿ãã¯ã«èå³ããã£ã¦ï¼Linuxã«ã¼ãã«ã®ãããã¯ã¼ã¯ã¹ã¿ãã¯å®è£ ã®å¤é·ã«ã¤ãã¦èª¿ã¹ã¦ã¿ãï¼ å¤æ´å 容ã®ç²åº¦ã¯å²ãã¨é©å½ï¼ TCPã¨ãFireWallã¨ãNICå¨ãã¯èå³ãããã®ã§ã ãããæ¸ãã¦ãï¼ Wirelessç³»ã¯èå³ãªãã®ã§å ¨é¨åã£ã¦ãâ¦
ç 究ç§ãç 究室ã¨ããçµç¹ã«ã¤ãã¦ã¯ããã¾ãããæã£ã¦ã¯ããªããã©ï¼ç 究èªä½ã¯å«ãã§ã¯ãªãã®ã§ï¼æè¿å¾ã ã«è«æèªã¿ããæãã«ãªã£ã¦ãã¦ããï¼ TCPã¾ãã¯GPUé¢é£ã§èªã¿ããè«æãªã¹ãã®ã¡ã¢ï¼ TCP 2002 TCP Servers: Offloading TCP Processing in Inteâ¦
2003å¹´ã®è«æï¼Linux2.4ã®TCPã¹ã¿ãã¯å®è£ ã«ã¤ãã¦ã®ããã©ã¼ãã³ã¹æ¸¬å®ã¨è§£æï¼ Linuxã®TCPå®è£ ã«é¢ããã¡ããã¨ãã測å®ã¯ã¾ã 誰ããã£ã¦ãªãã¦ï¼æã ãã¡ããã¨ãã測å®ãããï¼ã¿ãããªæãã®ä¸æã5ç®æããããã£ã¦ï¼æèé«ãæãã ã£ãï¼ Abstract ç¾â¦
æè¿ï¼TCP Offload Engineå¨ãã®è«æãèªãã§ãï¼ Abstract æ¬è«æã§ã¯OSã¨NICéã®ã³ãã¯ã·ã§ã³ãã³ããªãã»ã¤ã³ã¿ãã§ã¼ã¹ãææ¡ããï¼ ãã®ã¤ã³ã¿ãã§ã¼ã¹ã使ç¨ãããã¨ã«ããï¼ä¸é¨ã®TCPã³ãã¯ã·ã§ã³ããã¹ãCPUã§å¦çãã¤ã¤ï¼æ®ãã®TCPã³ãã¯ã·ã§ã³ãNIâ¦