All of Perconaâs open-source software products, in one place, to download as much or as little as you need.
All of Perconaâs open-source software products, in one place, to download as much or as little as you need.
ååãç´ æ´ããããã¡ã¤ã«ã·ã¹ãã ã®ãã¼ã¿ç®¡çãã§ãâãããããâãã¡ã¤ã«ã·ã¹ãã ã®ãã¼ã¿ç®¡çã®èª¬æãä¸éãçµããã¾ãããæºå¸¯é»è©±ããã¸ã¿ã«ã«ã¡ã©ãªã©ã®çµã¿è¾¼ã¿æ©å¨ã¨ããã©ãã大éã®ãã¼ã¿ãæ±ãå ´åã¯ããã®ãããªãã¡ã¤ã«ã·ã¹ãã ããªãã¨ä¸ä¾¿ãªã®ã§ãã ããã§ã¯ãä»åããè 試ãï¼ï¼ï¼ã¨ãã¦ããªãªã¸ãã«ã®ãã¡ã¤ã«ã·ã¹ãã ãtarãã¡ã¤ã«ã·ã¹ãã ããä½ã£ã¦ããã¾ããããã¾ãã¯ãLinuxã«ã¼ãã«ã®æ§é ãããã³tarãã¡ã¤ã«ã®æ§é ã«ã¤ãã¦èª¬æããããã¦ãtarãã¡ã¤ã«ã·ã¹ãã ã®è¨è¨æ¹æ³ã解説ãã¦ããã¾ãã tarãã¡ã¤ã«ã·ã¹ãã ã¨ã¯ï¼ ãããããã¨ãâtarãã¡ã¤ã«ã·ã¹ãã âã¨èãã¦ãããã³ã¨ããªãæ¹ãããã£ãããããããã¾ããã®ã§ãããã§å°ãè£è¶³ãã¾ãã tarãã¡ã¤ã«ã·ã¹ãã ã¨ã¯ãtarãã¡ã¤ã«ããã¦ã³ããã¦ãtarã¢ã¼ã«ã¤ãå ã®ãã¡ã¤ã«ãåç §ã§ããï¼èªã¿è¾¼ã¿å°ç¨ï¼ããã«ããããã®ãã¡ã¤ã«ã·ã¹ã
éããããã®è²´æ¹ã»ã»ã»ã» /proc/meminfoã®ãã£ã¡ã®å¤ã¨ãã£ã¡ã®å¤ã足ãããããªãã§ãã£ã¡ã®å¤ã¨åãã«ãªããªãã®ã»ã»ã»ã» ã¨æ©ãã ãã¨ããã¾ãããï¼ /proc/meminfoã¯ãã«ã¼ãã«ãå é¨çã«ç®¡çãã¦ããæ çµã¿ã§ã®ã¡ã¢ãªæ å ±ããã®ã¾ã¾åºãã¦ããã®ã§ãæ®å¿µãªããã¦ã¼ã¶è¦ç¹ã§ç¥ãããã¡ã¢ãªæ å ±ã¨ã¯ä¸è´ãã¾ããã ã¨ã¯ãããå¤ãªè§£éããã¦ç¡æå³ã«æ©ã¾ãªãããã«ãããããã®å¤ã®æå³åãã¨é ç®éã®é¢ä¿ãç¥ã£ã¦ããã®ã¯ææ義ã§ããç§ã®ç解ã®ç¯å²ã§ããããã®é¢ä¿ãã¾ã¨ãã¦ããã¾ãã ï¼ç§ã®ç解ãå®ç§ã§ã¯ãªãã®ã§ãééãããã°ãããããææãé¡ããã¾ãã åèè³æãhttp://mkosaki.blog46.fc2.com/blog-entry-1007.html 2011/09/07 追è¨ï¼ tmpfsãSwapCachedã«å«ã¾ããã®ã¯å¹»æ³ã§ãããtmpfs=Shmemã«ä¿®æ£ãã¾ããã
sysctlã®ã«ã¼ãã«ãããã¯ãªãã·ã§ã³ panicã®æ´ç panicç³»ãã©ã¡ã¼ã¿ã®é¢ä¿ ããããã®ãã©ã¡ã¼ã¿ã®æå kernel.panic kernel.panic_on_unrecovered_nmi kernel.unknown_nmi_panic kernel.panic_on_io_nmi kernel.panic_on_warn kernel.softlockup_panic kernel.hung_task_panic kernel.panic_on_stackoverflow vm.panic_on_oom sysctlã®ã«ã¼ãã«ãããã¯ãªãã·ã§ã³ ã¡ããã¨ã«ã¼ãã«ãããã¯ãã©ãè¨å®ããã°ãããã¨ãã話ããã£ã¦ããããã«syscltãpanicã§grepããã¨ãæå¤ã«ã¨ãããpanicã«é¢ãããã©ã¡ã¼ã¿ããã©ãã©åºã¦ãã¦ã©ãããã°ãããã¤ãã¤ãããããªãã # sysct
Linux Graphics Drivers: an Introduction Version 3 Stéphane Marchesin <stephane.marchesin@gmail.com> March 15, 2012 2 Contents 1 Introduction 7 1.1 Book overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2 What this book does not cover . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 A Look at the Hardware 9 2.1 Hardware Overview . . . . . . . . . . . . . . . . .
ã¯ããã« æ¬æ¸ã®ä¸»ãªå¯¾è±¡èªè ã¯linuxãå«ãOSã®ããã»ã¹ã¹ã±ã¸ã¥ã¼ã©ã«ã¤ãã¦èãããã¨ããªã人ããååã¯ç¥ã£ã¦ãããã©å ·ä½çã«ä½ããããã®ããããç¥ããªã人ã§ãã linux kernelã¯è¤æ°ããã»ã¹ãåæã«åä½ããã(æ£ç¢ºã«ã¯ããã¦ããããã«è¦ãããã)ããã®ããã»ã¹ã¹ã±ã¸ã¥ã¼ã©ã¨ããæ©è½ãæã£ã¦ãã¾ããã¨ãã£ã¦ããã¿ãªãããlinuxã·ã¹ãã ã使ãå ´åã¯é常ããã»ã¹ã¹ã±ã¸ã¥ã¼ã©ãæèããªãã§æ¸ãããã«ãªã£ã¦ãã¾ããã§ã¯ãããã¦æèãããå ´åãã©ã®ãããªæ©è½ãªã®ããç¥ã£ã¦ã¿ããå ´åã¯ã©ãããã°ããã®ã§ããããã kernelæ©è½(ããã§ã¯ããã»ã¹ã¹ã±ã¸ã¥ã¼ã©)ã®æåãæããã«ããã«ã¯ãã½ã¼ã¹ãèªããè²ã ã½ã¼ã¹æ¹å¤ããªããåããã¦ã¿ã1ããªã©ãæå¹ã§ããããããããã§ã¯ä¸åã½ã¼ã¹ãèªã¾ãã«ãã¦ã¼ã¶ããã»ã¹ã使ãå®é¨ã®ã¿ã«ãã£ã¦ã«ã¼ãã«ã®æåã観測ãã¦ã¿ã¾ããããã¯ãã¾ãã§ç¥æ§2ã®ä½ã£
#ã¯ããã« çµã¿è¾¼ã¿Linuxã§éçºãã¦ããã¨ãã«ã¼ãã«ã§ãªãã¦ã¦ã¼ã¶ã¼ããã»ã¹ããç©çã¡ã¢ãªç©ºéä¸ã®ã¬ã¸ã¹ã¿ãèªã¿æ¸ããããå ´é¢ãåºã¦ãã¾ãã ãã㯠/dev/mem ã使ãã°å®ç¾ã§ããã®ã§ãããå¶éäºé ãããã¾ãã /dev/memã®èªã¿æ¸ãã«ã¯root権éãå¿ è¦ã éã«root権éã§/dev/memãã¢ã¯ã»ã¹ããã¨ééãªãå ¨ã¦ã®ã¡ã¢ãªã«ã¢ã¯ã»ã¹ã§ãã¦ãã¾ãã®ã§ãã»ãã¥ãªãã£ã®è¦³ç¹ã§é£ããã ä¾ãã°ãAndroidã§ã¯ã¢ããªã±ã¼ã·ã§ã³ã®ããã»ã¹ã¯root権éãæã£ã¦ããªãã®ã§/dev/mem ã¯æ±ãã¾ããã æå®ããç¯å²ã®ã¡ã¢ãªã ããæå®ãã権éã§ã¢ã¯ã»ã¹å¯è½ã«ã§ããã°ããã®ã«ãªãã ãããUIOã§ã§ãã¾ãã #UIOã¨ã¯ UIO(User space I/O)ã¯ãããã¤ã¹ãã©ã¤ãã®å¤§é¨åãã¦ã¼ã¶ã¼ç©ºéå´ã§æ¸ããããã«ããã¤ã³ã¿ãã§ã¼ã¹ã§ããã«ã¼ãã«å´ã«æ¸ããªããã°ãªããªãã³ã¼ãã¯ã»
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ã¯ããã« Linuxã®å®å®ã«ã¼ãã«ã®ã¨ãã¾ã¨ãå½¹ãã°ã¬ãã°ã»ã¯ã©ã¼ãã¼ããã³ã«ããã¡ã«ããã¦ã³ã¨ã¹ãã¯ã¿ã¼åé¡ã«é¢ãã1/6æç¹ã§ã®ç¾æ³ã®èª¬æã®è¨³æã§ãã 太åã¯è¨³è ã主観ã§ç¬èªã«ä»å ãããã®ã§ãã 2018/1/19: 対å¿ç¶æ³ãGregæ°ã«ããã¢ãããã¼ãããã¾ããã®ã§ã追è¨ãã¾ããã ã©ã¤ã»ã³ã¹ åæã¯å½äººã®ããã°ã§by-nc-sa3.0ã§å ¬éããã¦ãã¾ãã ãã®æç« ã®ã©ã¤ã»ã³ã¹ãåæã«æºãã¾ãã è¬è¾ ä½ãããã¾ãå¤å¿ãªä¸æ å ±ãã·ã§ã¢ãã¦ãããåèè ã®Gregæ°ã«ã 表è¨ééãã«ã¤ãã¦ææãããã¨ããããã¾ãã以ä¸ä¿®æ£ãã¾ããã
ãããã¤ã³ã¿ã¼ãããã®ã¢ããã³ãã«ã¬ã³ãã¼9æ¥ç®ã¨ãã¦ããµã¼ãå±ããããéç¨ã«é¢ããã³ãã³ãã®ä½¿ãæ¹ãç´¹ä»ãã¾ãã ãµã¼ãã®è² è·ãé«ã¾ã£ã¦ããã¨ãã«ãvmstatãtopãªã©ã®ã³ãã³ãã§èª¿æ»ããäºãåºæ¥ã¾ãããI/Oè² è·ãwa(iowait)ã«ãã£ã¦å¤æãã人ãå¤ãã¨æãã¾ãã ãã ãçµè«ããè¨ãã¨ãiowaitã¯æ£ç¢ºã«I/Oã®è² è·ã表ãã¦ããããã§ã¯ããã¾ããã ãããããå®éã«æ¼ç¿ãããªããè¦ã¦ããããã¨æãã¾ãã iowaitã¨idle iowaitã¨ã¯ããã¾ã§ããCPUã空ãã¦ããã®ã«I/Oãããã«ããã¯ã«ãªã£ã¦ããããã»ã¹ã示ãã¦ããã ãã§ãCPUã®å©ç¨çãé«ãã¨ãã«ã¯I/Oãããã«ããã¯ã«ãªã£ã¦ãã¦ãiowaitãä¸ããã¾ããã åæ§ã«åéããããã¡ãªã®ããid(idle)ã¯CPUã®ç©ºãã示ãã¦ããã¨ãããã®ã§ãããidleã¯å¿ ãããCPUã®ç©ºãæéã示ãã¦ãããã®ã§ã¯ããã¾ã
ãã®é£è¼ãã¯ããã¦ãããæ¯å¹´ãã®é£è¼ã®è¨äºã§Advent Calendarã«åå ãã¦ãã¾ãããæ¨å¹´ã¾ã§ã¯ããã®é£è¼ã®è¨äºã§"Linux Advent Calendar"ã«åå ãã¦ãã¾ããã ä»å¹´ã¯åå ããã«ã¬ã³ãã¼ãå°ãå¤ãã¦ãã¾ãã¯ãã®è¨äºã§ç§ãæå±ããä¼ç¤¾ã®Advent Calendarã§ãããã¡ã¼ã¹ããµã¼ã Advent Calendar 2017ã®5æ¥ç®ã«åå ãã¦ã¿ã¾ãããã¾ãããããã®äººãèå³ãæããªããããªè©±é¡ãªã®ã§ãä¼ç¤¾ã®Advent Calendarã«ãããããã®ãå¿é ã§ã (^_^;)ã ãã¦ãLinuxã§ã³ã³ããã§ãªã½ã¼ã¹å¶éãè¡ãããã®æ©è½ã¨ãã¦ããã®é£è¼ã§ã¯ç¬¬3åãã第5åã¾ã§3åã«æ¸¡ã£ã¦cgroupã«ã¤ãã¦è§£èª¬ãã¾ããã cgroupã¯ãå¤ãã®Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§initã¨ãã¦æ¡ç¨ããã¦ããsystemdã使ã£ã¦ãã¾ãã®ã§ãä»ãLinuxãã使ãã§ã
ãã®è¨äºã«ã¤ã㦠Linuxã®IPCï¼ããã»ã¹ééä¿¡ï¼ãç´¹ä»ãã¾ãã ããã»ã¹ééä¿¡ã¨ã¯ Inter Process Communication(IPC)ã¯ããã°ã©ã ã®å®è¡åä½ã§ããããã»ã¹ã®éã§è¡ããããã¼ã¿äº¤æã®ãã¨ãæãã¾ããããã»ã¹ã®ä¾åé¢ä¿ã¯å¯è½ãªéãççµåã«ãªãããOSã§ç®¡çããã¦ãã¾ãããã®ãããIPCã¯Linux OSã®æ©è½ãçµç±ãã¦è¡ãå¿ è¦ãããã¾ãã OSãããã»ã¹ã«æä¾ãããã¼ã¿äº¤æã®æ¹æ³ã¯ã²ã¨ã¤ã ãã§ã¯ããã¾ãããããããç¹å¾´ã®ããå¤å½©ãªæ¹æ³ãæä¾ãã¦ãã¾ãã ããã§ç´¹ä»ããã®ã¯ä»¥ä¸ã®5ã¤ã§ãã å ±æã¡ã¢ãªã¼ ã»ããã© ããããã¡ã¢ãªã¼ ãã¤ã ã½ã±ããéä¿¡ ï¼ä»ã«ããã¾ãããã³ã¡ã³ãã§æãã¦ããã ããã°å¹¸ãã§ããï¼ ããã§ã¯ãè¦ã¦ããã¾ãããã å ±æã¡ã¢ãª ããã»ã¹éã§åãã¡ã¢ãªãå ±æãã¾ãã å ±æã¡ã¢ãªã®æ大ã®å©ç¹ã¯ãã®ã¢ã¯ã»ã¹ã¹ãã¼ãã«ããã¾ãã ä¸åº¦å ±æã¡ã¢
NOVA: The Newest Linux File-System, Designed For Persistent Memory Written by Michael Larabel in Linux Storage on 3 August 2017 at 06:23 AM EDT. 17 Comments It's been an interesting week for Linux storage with Red Hat deprecating Btrfs and Stratis being their next-gen Linux storage bet. Independent of that is now the announcement of NOVA, a new Linux file-system coming out of university research i
ã¯ããã« cpumasks ã¯ãLinuxã«ã¼ãã«ãæä¾ããç¹å¥ãªæ¹æ³ã§ãã·ã¹ãã å ã®CPUã«é¢ããæ å ±ãæ ¼ç´ãã¾ãã cpumasks æä½ã«é¢ãã¦ãAPIãå«ãé¢é£ã®ã½ã¼ã¹ã³ã¼ãã¨ããããã¡ã¤ã«ã¯ä»¥ä¸ã®ã¨ããã§ãã include/linux/cpumask.h lib/cpumask.c kernel/cpu.c include/linux/cpumask.h å ã®ã³ã¡ã³ãã«ããããã«ãCPUãã¹ã¯ã¯ãã·ã¹ãã å ã®CPUã»ããã表ãã®ã«é©ããããããããï¼CPUçªå·ãã¨ã«1ã¤ã®ãããä½ç½®ï¼ãæä¾ãã¾ããCPUãã¹ã¯ã«ã¤ãã¦ã¯ã以åã« ã«ã¼ãã«ã®ã¨ã³ããªãã¤ã³ã ãæ±ã£ããã¼ãã® boot_cpu_init é¢æ°ã説æããé¨åã§å°ã触ãã¾ããããã®é¢æ°ã¯ãæåã®ãã¼ãCPUããªã³ã©ã¤ã³ãã¢ã¯ãã£ããªã©ã«ãããããæä½ãè¡ãã¾ãã set_cpu_online(cpu, true); s
0. ã¯ããã« æ¬è¨äºã¯ãLinuxã対象ã¨ããã«ã¼ãã«ã¨ã¯ã¹ããã¤ãã®å ¥éè¨äºã§ãã ã«ã¼ãã«ã¨ã¯ã¹ããã¤ãã¨ããã®ã¯ãLinuxã*BSDãWindowsãå§ãã¨ããã«ã¼ãã«èªèº«ã®èå¼±æ§ãçªãã¨ã¯ã¹ããã¤ãã§ãã åºæ¬çã«ã«ã¼ãã«ã¯ã·ã¹ãã å ã§æé«æ¨©éãæã¤ç¹æ¨©ã¢ã¼ãã§åä½ãã¦ããã®ã§ããããæªç¨ãããã¨ã·ã¹ãã ã®å¤§é¨å(ã»ã¼å ¨ã¦)ãææ¡ããã¦ãã¾ãã¾ãã ã¨ã¯ã¹ããã¤ãã¨è¨ãã¨ãæ®éã¯ã¦ã¼ã¶ã¼ç©ºéã§åä½ãã¦ããã¢ããªã±ã¼ã·ã§ã³ã®ãã°ãã¤ãç©ãå¤ãã§ãããããã ã¨éãããã¬ãã«ã®æ¨©éãã奪ãã¾ããã SELinuxãjailãå§ãã¨ãããOSã¬ãã«ã§ã®ä¿è·æ©æ§ã«é»ã¾ããã¨ãã¡ã¾ã¡å¹åã失ã£ãããã¾ãã ããããã«ã¼ãã«èªä½ã®èå¼±æ§ãã¤ãã«ã¼ãã«ã¨ã¯ã¹ããã¤ããå©ç¨ããã¨æé«æ¨©éã§ã®ä»»æã³ã¼ãå®è¡ãå¯è½ãªããã大æµã®ä¿è·æ©æ§ã¯ãã®ã¨ããã¾ããã ãã®ã«ã¼ãã«ã¨ã¯ã¹ããã¤ããç¹ã«å¹åãçºæ®
ä½åããããã©ãã ã£ãï¼ãã¨èª¿ã¹ãã®ãé¢åãªã®ã¨ãè¨æ¶åãã¾ããªãã®ã§ãã¡ã¢ã(ãããããè¨æ¶åãã¾ããªãããã§) èªãã ã½ã¼ã¹ã¯Linux4.10ã§ãããæ¬è³ªçãªã¨ããã¯éå»ã®ãã¼ã¸ã§ã³ã§ããã¶ãå¤ãããªãã®ã§ã¯ãªããã¨æãã¾ãã Linuxã®ã¡ã¢ãªã¢ãã« ãç©çRAM空éã®é£ç¶æ§ãã«çç®ããã¨ããç©ççã«é£ç¶ãã¦ãããã©ãããªRAM空éãã¨ãç©ççã«éé£ç¶ãªã¡ã¢ãªãã¼ã«ã®ããRAM空éã(ä¾ãã°x86)ã«åé¡ã§ãã¾ãã Linuxã«ããã¦ããã¼ã¸æ§é ä½ãé ç½®ããæ¹å¼ã¯ã4éããããã«ã¼ãã«ã³ã³ãã£ã°ã§æå®ãã¾ããæ¦è¦ã¯ä»¥ä¸ã®è¡¨ã®ã¨ããã§ãã å®ç¾©å ç©çRAM空éã¯ãã©ããï¼ æ¦è¦/åè
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}