You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
1.ã¯ããã« ãããã¯ã¼ã¯ã®ããã©ã¼ãã³ã¹ã決å®ä»ããæãéè¦ãªè¦ç´ ã¯ãæçµçã«ã¯ã¢ããªã±ã¼ã·ã§ã³ã«ããã§ãããããã ãã¯ã¼ã¯ãã¼ãã®ç¹æ§ã«ãã£ã¦ã¯ãããã©ã«ãè¨å®ãããTCPã«ã¼ãã«ãã©ã¡ã¼ã¿ãå¶ç´ã¨ãªããããã©ã¼ãã³ã¹ãçºæ®ã§ããªãã¨ããããã¾ããã é常ã«ããããã®ã«ã¼ãã«ãã©ã¡ã¼ã¿ãããã¾ãããæ¬æã§ã¯ããããã¯ã¼ã¯å¸¯åå¹ ï¼bandwidthï¼ã®ã«ã¼ãã«ãã©ã¡ã¼ã¿ããããã¯ã¼ã¯å®¹éï¼capacityï¼ã®ã«ã¼ãã«ãã©ã¡ã¼ã¿ã主ã«æ±ãã¾ãã 2.æºå Linuxã¯sysctlã³ãã³ãã§ç°¡åã«ã«ã¼ãã«ãã©ã¡ã¼ã¿ãå®è¡æã«å¤æ´ã§ãã¾ãã 次ã®ãããªã³ãã³ãã使ç¨ããã¨ãç¾å¨ã®ã«ã¼ãã«ãã©ã¡ã¼ã¿è¨å®å¤ã®å ¨ä½ãé²è¦§ã§ãã¾ãã $ sysctl -a ããã§åãä¸ãããããã¯ã¼ã¯ã¯ãç¹ã«TCPã®capacityã¨bandwidthãªã©ã調æ´ï¼tuningï¼ã§ããã«ã¼ãã«ãã©ã¡ã¼ã¿ã®ããä¸é¨ãç´¹ä»
é£è¼ Linuxãµã¼ãã¼ã®TCPãããã¯ã¼ã¯ã®ããã©ã¼ãã³ã¹ã決å®ããã«ã¼ãã«ãã©ã¡ã¼ã¿ â 1ç·¨ 4.ãããã¯ã¼ã¯capacityé¢é£ãã©ã¡ã¼ã¿ 4.1 maximum file count Linuxãã¯ããã¨ããä¸è¬çãªUnixã½ã±ããã¯ãã¾ãã§ãã¡ã¤ã«ã®ãããªæ±ããåãã¾ãã ã·ã¹ãã å ¨ä½ã§ä¿æã§ãããã¡ã¤ã«æ°ãå¶éããã¦ããã°ãå½ç¶ã½ã±ããã®å ¨ä½æ°ã«ãå½±é¿ãä¸ããã§ãããã Linuxã§ã·ã¹ãã å ¨ä½ãä¿æã§ããæ大ãã¡ã¤ã«æ°ã¯ãfs.file-maxã«ã¼ãã«ãã©ã¡ã¼ã¿ã§è¨å®ãã¾ãã 以ä¸ã®ãããªã³ãã³ãã§ç¾å¨ã®è¨å®å¤ã確èªã§ãã¾ãã $ sysctl fs.file-max fs.file-max = 775052 ä¸è¬çã«ããã®å¤ã¯é©åº¦ã«å¤§ããªå¤ãè¨å®ããã¦ããã®ã§ãä½ç¨ã®ãã¨ããªãéããä¿®æ£ãããã¨ã¯ãªãã§ãããã ãã ãã·ã¹ãã ãé常ã«å¤ãã®ãã¡ã¤ã«ã¨ã½ã±ããã使ç¨ãã¦ãã
é£è¼ Linuxãµã¼ãã¼ã®TCPãããã¯ã¼ã¯ã®ããã©ã¼ãã³ã¹ã決å®ããã«ã¼ãã«ãã©ã¡ã¼ã¿- 1ç·¨ Linuxãµã¼ãã¼ã®TCPãããã¯ã¼ã¯ã®ããã©ã¼ãã³ã¹ã決å®ããã«ã¼ãã«ãã©ã¡ã¼ã¿- 2ç·¨ 5. TIME_WAIT socket TIME_WAITç¶æ ã®ã½ã±ããã¯ãå©ç¨å¯è½ãªlocal portæ°ã軽æ¸ããã¦åæã«ä¿æã§ããã¯ã©ã¤ã¢ã³ãã½ã±ããã®æ°ãå¶éãã¾ãã 5.1 TIME_WAIT socketã¨ã¯ï¼ TIME_WAITç¶æ ã®ã½ã±ããã¯ããã¤çºçããã§ããããï¼ ã¾ããTCPã½ã±ããã®ç¶æ ããã¼ãè¦ã¦ã¿ã¾ãããã ä¸å³ããåããããã«ãactive closingããã½ã±ããã®æå¾ã®çµçå°ãTIME_WAITã®ç¶æ ã§ãã è¨ãæããã°ãã¯ã©ã¤ã¢ã³ãã½ã±ããã§ããããµã¼ãã¼ã½ã±ããã§ãããclose()ã·ã¹ãã ã³ã¼ã«ãå ã«å¼ã³åºããå´ï¼active closingï¼ãæçµçã«ãããªã
ä½ãä¸æºåããããç°å¢å¤æ°ãªã©ã«å¤æ´ãå ãã¦ããæå®ããã³ãã³ããèµ·åããããã°ã©ã ã¯ãããããããbundle exec ã npx, uv run ããæä½ã§ã envchain ãªã©ããã®ãããªããã°ã©ã ã®ä¾ã ã¨æãããã®ãããªããã°ã©ã ã¯ä¸éã§ã¯ executor ã¨å¼ã°ãã¦ãããããªæ°ãããã®ã§ãããã§ãããå¼ã¶ãã¨ã«ããã executor ãæè¿ãããããæ¸ãã¦ãã¦ããã ããã§ã¯æå®ãããã³ãã³ããèµ·åããã ãã§ã¯ãªãããã®ã³ãã³ãã®ããã®ãµã¼ãã¼ãè£ã§å®è¡ãç¶ããå¿ è¦ããããã¡ãã£ã¨ãã工夫ãå¿ è¦ã ã£ãã®ã§ã¡ã¢ã (ãªããexecutor ã«æå®ãããã³ãã³ã = ã¦ã¼ã¶ã¼ã executor ã®è¦ªããã»ã¹ãæçµçã«èµ·åãæå¾ ãã¦ããããã°ã©ã ã«ã¤ãã¦ã¯ä»¥å¾ command ã¨è¡¨è¨) tl;dr executor ã command ã®åããã»ã¹ã«ãªãããã«ãããexecu
ä»äºãç´ã¾ã£ãã®ã§ã¼ããããã¦ãã¾ãã ãå¹´æ«ã ãªããâããç¬ãã¨ãã¿ã¦ãªããªããâãããããæ¢æ¤éã¿ãããªããâãsystemdããããæ¢æ¤éããã¨ãããã¨ã§ã¤ãæ¸ãã¦ãã¾ã£ãã㤠Restart=on-failure ã«ã㦠kill ãããåèµ·åããªã! â SIGTERMã«ããçµäºã¯æ£å¸¸çµäºã ããåèµ·åãããã£ãã Restart=always ã«ãããã systemctl statusããã Notice: journal has been rotated since unit was started, output may be incomplete. ã£ã¦åºã¦ã! é害ãªã®!? â è±èªããã§ãããã®ã timer unitã§ã1æé以å ã§é©å½ã«ããããããã¨ãã« AccuracySec=1hour ã¨ãå®ç¾©ãã¡ããã âããæ大1åãããããªãããåã使ãã¹ããªã®ã¯ Ra
20ä¸ãã¦ã³ãã¼ãçªç ´ï¼ åå¿è ã®æ¹ãåºç¤ããLinuxãå¦ç¿ããããã«æé©ãªæç§æ¸ LPI-Japanã¯ãLinux/OSSæè¡è æè²ã«å©ç¨ãã¦ããã ããã¨ãç®çã¨ããææãLinuxæ¨æºæç§æ¸ããéçºããç¡åã«ã¦å ¬éãã¦ãã¾ãã åºæ¬çãªã³ãã³ããæ£è¦è¡¨ç¾ãã·ã§ã«ã¹ã¯ãªããããã¡ã¤ã«ç®¡çãªã©ãLinuxã®åºç¤ç¥èã系統ç«ã¦ã¦å¦ã¹ãããã«æ§æããã¦ãããåå¿è ã®æ¹ãåºç¤ããLinuxãå¦ã¶ããã«æé©ãªå 容ã¨ãªã£ã¦ãã¾ããæä½æé ãã²ã¨ã¤ãã¤èª¬æãã¦ããæ¬ææã¯ãã§ã«20ä¸å以ä¸ãã¦ã³ãã¼ãããããææ¥ã§ãèªç¿ã§ã使ããå®è·µçãªæç§æ¸ãã¨ãã¦å¦æ ¡æè²ãè¥æã¨ã³ã¸ãã¢æè²ãå人å¦ç¿ãªã©ã«åºããå©ç¨ããã ãã¦ãã¾ãã Linuxæ¨æºæç§æ¸ã§å¦ç¿ããå 容ã¯ãLinuCã¬ãã«1ã®101試é¨ã¨102試é¨ã®åé¨ã«ãå½¹ç«ã¤å 容ã¨ãªã£ã¦ãã¾ãã æ¬ææã¯è©¦é¨å¯¾çææã§ã¯ããã¾ãã LinuCã®è©¦é¨å¯¾çã«ã¯
Hereâs a niche terminal problem that has bothered me for years but that I never really understood until a few weeks ago. Letâs say youâre running this command to watch for some specific output in a log file: tail -f /some/log/file | grep thing1 | grep thing2 If log lines are being added to the file relatively slowly, the result Iâd see is⦠nothing! It doesnât matter if there were matches in the lo
ãLinuxã«ã¼ãã«2.6解èªå®¤ãï¼ä»¥éãæ§çï¼åºçå¾ãLinuxã«ã¯å¤ãã®æ©è½ã追å ãããã¨ã³ã¿ã¼ãã©ã¤ãºé åãã¯ããã¨ããæ§ã ãªå ´æã§ä½¿ãããããã«ãªãã¾ããã ããã«ä¼´ãã³ã¼ããè¥å¤§ãã¤è¤éåããå¤ãã®ã¨ã³ã¸ãã¢ã«ã¨ã£ã¦è§£èªä¸è½ãªãã©ãã¯ããã¯ã¹ã¨ãªã£ã¦ãã¾ãã ä¸çä¸ã®ãããã¨ã³ã¸ãã¢éã®åä½ã§ããLinuxã«ã¼ãã«ã«ã¡ã¹ãå ¥ãããã©ãã¯ããã¯ã¹ãããéãã¦ãæã«å¥½å¥å¿ã®èµ´ãã¾ã¾ã«ã«ã¼ãã«ã®ä¸çã解èªãããæ°Linuxã«ã¼ãã«è§£èªå®¤ãããã¸ã§ã¯ãã æ¬ç¨¿ã§ã¯ããããã¯ã¼ã¯æ©è½ã«ããããã±ããã®åä¿¡å¦çã«ã¤ãã¦ã«ã¼ãã«v6.8ã®ã³ã¼ãããã¼ã¹ã«è§£èª¬ãã¾ãã ã¯ããã« 1. ååã®ãããã 2. ä¸ä½ã¬ã¤ã¤ã¸ã®é é: e1000_receive_skb()é¢æ°ä»¥éã®å¦çã«ã¤ã㦠2.1 åæç¥è: EtherTypeã¨packet_typeæ§é ä½ 2.2 æ¦è¦ 2.3 __netif_
Linux Foundationã¯10æ24æ¥ããªã³ã©ã¤ã³è¬åº§ãLinuxå ¥éãã®ç¡ææä¾ãå§ãããLinuxã·ã¹ãã 管çè ã¨ã¨ã³ãã¦ã¼ã¶ã¼ããLinuxç°å¢ã§æ¥å¸¸æ¥åãè¡ãããã«ä½¿ç¨ãããã¾ãã¾ãªãã¼ã«ã¨ææ³ãä¸ããå¦ã¹ãã¨ããã対象ã¯ãã³ã³ãã¥ã¼ã¿ã®ä½¿ç¨çµé¨ãè±å¯ã ããLinuxã¯åå¿è ã§ããã¦ã¼ã¶ã¼ã ç´60æéã®ãªã³ã©ã¤ã³è¬åº§ã¨ãªã£ã¦ãããã»ã«ããã¼ã¹ã§å¦ç¿å¯è½ãLinuxã®å®ç¨çãªç¥èãã主è¦ãªLinuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ãLinuxã®ã·ã¹ãã æ§æã¨ã°ã©ãã£ã«ã«ã¤ã³ã¿ã¼ãã§âã¹ãåºæ¬çãªã³ãã³ãã©ã¤ã³æä½ãLinuxã®ä¸è¬çãªã¢ããªã±ã¼ã·ã§ã³ãªã©ãããã²ã¼ãããæ¹æ³ãå¦ã¹ãã¨ãããè¬åº§ãä¿®äºãã人ã«ã¯ãå±¥æ´æ¸ããããã£ã¼ã«ã«è¿½å ã§ãããã¸ã¿ã«ããã¸ãéãããã Linux Foundationã¯ãLinuxã«ã¤ãã¦ãWebãµã¼ããã¯ã©ã¦ãã³ã³ãã¥ã¼ãã£ã³ã°ãã¹ãã¼ããã©ã³ã家
ã¹ãã¬ã¼ã¸ã®æå·åã¯å®æ½ãã¦å½ç¶ã®ã»ãã¥ãªãã£å¯¾çã®ã²ã¨ã¤ã¨ãªãã¤ã¤ããã¾ããä¸è¬çãªã¹ãã¼ããã©ã³ã§ããã°ã»ã¼æå·åãããç¶æ ã§ãããWindowsãmacOSã§ãæå·åããããã®è¨å®ãç¨æããã¦ãã¾ãããã¨ãã°Windowsã®å ´åãPCã®è³¼å ¥æç¹ã§æå·åããªã³ã«ãªã£ã¦ããã±ã¼ã¹ãããã¾ãããµã¼ãã¼ãç¨éã«ãã£ã¦ã¯æå·åãããå ´åãããã§ãããã ããã§åé¡ã«ãªãã®ããã©ã®ããã«ãã¦ã¹ãã¬ã¼ã¸å¾©å·ç¨ã®ãã¹ãã¬ã¼ãºãå ¥åããã®ããã§ããä»åã¯Ubuntuã®ã«ã¼ããã¡ã¤ã«ã·ã¹ãã ãæå·åããä¸ã§ãèµ·åæã«ãªã¢ã¼ãããSSHçµç±ã§ã¹ãã¬ã¼ã¸ã®å¾©å·ããæ¹æ³ãç´¹ä»ãã¾ãããã ã¹ãã¬ã¼ã¸æå·åã«ããã復å·ã®æéã¨æå³ Ubuntuèªä½ã¯10年以ä¸åãããã¤ã³ã¹ãã¼ã«æã«ã¹ãã¬ã¼ã¸ãæå·åãããªãã·ã§ã³ãæä¾ããã¦ãã¾ãããç¾å¨ã¯ãã®ææ³ã¨ãã¦LVMã¨LUKSãå©ç¨ããLinuxã«ãããä¸è¬çãªæå·
I have completed an initial new port of systemd to musl. This patch set does not share much in common with the existing OpenEmbedded patchset. I wanted to make a fully updated patch series targeting more current releases of systemd and musl, taking advantage of the latest features and updates in both. I also took a focus on writing patches that could be sent for consideration of inclusion upstream
Why Itâs Time to Move OnLinux is known for its rich command-line heritage, offering a wide array of powerful tools to accomplish almost any task. However, like all technology, some of these tools have become outdated, with better alternatives now available. While many administrators and power users may still rely on these obsolete tools out of habit or necessity, there are compelling reasons to mo
ãã¼ãã¨ã½ããã®ä¸çãã¤ãªã OSã®æ ¹å¹¹ã¨ãªãä»çµã¿ãç解ããã OSã«ããã¦ãã«ã¼ãã«ã¨ã¯ãã®åã®ã¨ãããæ ¸ãã¨ãªãã³ã³ãã¼ãã³ãã§ãããè¨æ¶é åããã¡ã¤ã«ã·ã¹ãã ã®ç®¡çãããã»ã¹å¶å¾¡ãã¹ã±ã¸ã¥ã¼ãªã³ã°ããããã¯ã¼ãã³ã°ãªã©ããã¼ãã¦ã§ã¢å¶å¾¡ã«é¢ããå¹ åºãæ©è½ãæ ã£ã¦ãã¾ãã Webãã¨ã³ã¿ã¼ãã©ã¤ãºãçµã¿è¾¼ã¿ã«è³ãã¾ã§ãä¸çä¸ã®ããããã¨ããã§ãLinuxãåºæ¬OSã¨ããã·ã¹ãã ã稼åãã¦ãã¾ããLinuxã¯ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã§ããã誰ã§ãåºãã¢ã¯ã»ã¹ã§ãããã¨ããã®çºå±ãæ¯ããç¹å¾´ã®1ã¤ã¨ãããã§ãããããããããã®åå°ã¨ãªãã«ã¼ãã«ã«éã£ã¦ã¿ã¦ããã½ã¼ã¹ã³ã¼ããèªã¿è¾¼ãã§ç解ããã«ã¯ãã¾ãã«ã大è¦æ¨¡ãã¤è¤éãªåå¨ã§ãããã®ãããLinuxã«ã¼ãã«ã®å½¹å²ãä»çµã¿ãç解ãã¦ãã人ãå°ãªãã®ãã¾ãäºå®ãªã®ã§ãã ã½ããã¦ã§ã¢ã®éçºã»å©ç¨ã«ããã¦ãã«ã¼ãã«ã®ãããªæ ¹å¹¹é¨åã«ã¤ãã¦ç
Errata: Some significant mistakes were pointed out to me by email by Brendan MacDonell. I have included errata, but the results might not be reliable, so take this with pinch of salt! vmsplice is too fast Some programs use a particular system call âvmspliceâ to move data faster through a pipe. Francesco already did a deep dive on using vmsplice to make things fast. However, while experimenting wit
eBPF Foundation 㯠LF Research 社ã¨ååããeBPF æè¡ã®é²åã¨ãªã¼ãã³ã½ã¼ã¹ ã¨ã³ã·ã¹ãã ã¸ã®å½±é¿ã調æ»ãã¾ããããã®ã¬ãã¼ãã§ã¯ã主è¦ãª eBPF ã¡ã³ããã¼ãã³ã³ããªãã¥ã¼ã¿ã¼ã¸ã®ã¤ã³ã¿ãã¥ã¼ãããã³å ¬éããã¦ãããªãã¸ããªããå¾ãæ´å¯ããã¨ã«ãeBPF ã®æ´å²ãeBPFã Linux ã³ãã¥ããã£ã«ä¸ããå½±é¿ãããã¦eBPFãä»æ¥ã©ã®ããã«å©ç¨ããã¦ãããã«ã¤ãã¦èª¬æãã¦ãã¾ããã¾ããeBPFã®ä¸»è¦ãªã¦ã¼ã¹ã±ã¼ã¹ã課é¡ãå°æ¥çãªå¯è½æ§ã«ã¤ãã¦ãç´¹ä»ãã¦ãã¾ãã èªè ã¯ãeBPF ãæä¾ãããã®ãæ大éã«æ´»ç¨ããæ¹æ³ãããã³ããã¸ã§ã¯ãã«åå ãã¦ãã®æé·ã¨ç¶ç¶çãªæ¹åããµãã¼ãããæ¹æ³ãå¦ã¶ãã¨ãã§ãã¾ãããã®æè¡ã®æ´å²ãå½±é¿ãããã³å°æ¥ã«é¢ããå®å ¨ãªåæã«ã¤ãã¦ã¯ãã¬ãã¼ãããã¦ã³ãã¼ããã¦ãèªã¿ãã ããã
Linux Foundation Japanã¯ãLinux Foundation ResearchãLF AI ï¼ Data Foundationã¨ååãã¦ä½æãããã¯ã¤ããã¼ãã¼ãOpen Source License Complianceãã®æ¥æ¬èªçããªã¼ãã³ã½ã¼ã¹ ã©ã¤ã»ã³ã¹ ã³ã³ãã©ã¤ã¢ã³ã¹ããã8æ7æ¥ã«å ¬éããã åãã¯ã¤ããã¼ãã¼ã§ã¯ããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã®åºç¯ãªæ¡ç¨ã«ããã£ã¦çºçãããæ¥éã«é²åããã½ããã¦ã§ã¢ã¨ã©ã¤ã»ã³ã¹ã®åéã«ãããææ°æ å ±ã®å ¥æã®å°é£ãããã©ã¤ã»ã³ã¹ã®å¤æ§æ§ã¨ãã®å¥ç´æ¡ä»¶ãç°ãªãå¯è½æ§ãããã¨ãã£ã課é¡ã¨ãã³ã³ãã©ã¤ã¢ã³ã¹ãå¹æçã«å®è£ ããããã®æ¦ç¥ã«ã¤ãã¦ã詳細ã«èª¬æãã¦ããã åãã¯ã¤ããã¼ãã¼ãéãã¦ãå æ¬çãªã½ããã¦ã§ã¢æ§æåæãã¼ã«ãããé©åãªéçºæåã®ä¿é²ã¾ã§ããããã®èª²é¡ã¸ã®å¯¾å¦æ¹æ³ãªã©ãç¥ããã¨ãã§ããã
æ å ±ãçºä¿¡ãã人ã®ã¨ããã«æ å ±ãéã¾ããã¨ãæ¥ã å®æãã¦ããã®ã§ãLinuxã®ã¡ã¢ãªç®¡çã«ç¹ã«è©³ããããã§ã¯ãªãã®ã§ããæè¿ééããåé¡ã«ã¤ãã¦èªåã®ç解ãæ¸ãã¦ããã¾ãããã£ã¨èª¿ã¹ã¦ãåããã¨ãæ¸ãã¦ãã人ãè¦ã¤ããããªãã£ãã®ã§ãå ¬éã«ã¯æ義ãããã¨èãã¦ãã¾ããèè ã®æ¹ããã£ã¼ãããã¯ããã ããã¨å¬ããã§ãã â» AIã®åºåããã¼ã¹ã«æ¸ãã¦ããã®ã§ãã¤ãã¨å°ãæä½ãéãã¾ãã èæ¯ è¦ç´ èª¿æ» åç¾ã®é£ãã Goã¢ããªã±ã¼ã·ã§ã³ã®èª¿æ» pprofã«ããåæ GCãã°ã®èª¿æ» Linuxã®èª¿æ» Goã©ã³ã¿ã¤ã ã®èª¿æ» Goã®GCã¨THP khugepagedã®åé¡ Goã©ã³ã¿ã¤ã ã«ãããåé¿ç åé¿çã®åé¤ max_ptes_noneã®ããã©ã«ãå¤ã«ã¤ã㦠MADV_NOHUGEPAGEããããçç± èª¿æ»å 容ã¾ã¨ã 解決ç æ¤è¨¼ Cè¨èª Goè¨èª ã¾ã¨ã èæ¯ Goè¨èªã§æ¸ãããOSSã®ã¢
ãç¥ãã
é害
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}