2019-01-01ãã1å¹´éã®è¨äºä¸è¦§
å æ¥ãApache Arrow æ±äº¬ãã¼ãã¢ãã 2019ã¨ããã¤ãã³ãã«åå ããã¦ããã ãããçºè¡¨æã®æ§åï¼photo by çåããï¼çºè¡¨èªä½ã¯ãSSD-to-GPU Direct SQLããArrow_Fdwã4GPU+16SSDã«ããæè¿ã®ãã³ããã¼ã¯ã®ç´¹ä»ãªã©ã§ãç®æ°ãããã®ã¨ããããã¯ç·éç·¨ã§â¦
PostgreSQL Advent Calendar 2019ã®14æ¥ç®ã§ããPG-Stromã®éçºããã£ã¦ãã¨ããã°ãã°èãããã®ãããã«ããã¼ãã®ä¸¦åå¦çã£ã¦å¯¾å¿ãã¦ããã§ããï¼ãã¨ãã質åãã¾ããã対å¿ãã¦ããã¾ãããã対å¿ããäºå®ããããã¾ãããã¨ããåçã«ãªããã§ãããâ¦
11æ21æ¥ã«ãªãªã¼ã¹ããã CUDA 10.2 ã® Release Note ãèªãã§ã¿ãã¨ãããã£ã¨ãAdded support for CUDA Virtual Memory Management APIs.ãã¨ããä¸æãã以åãããManagedãªGPUããã¤ã¹ã¡ã¢ãªããã«ãããã»ã¹ã§å ±æã§ããããã«ãã¦ã»ããã¨ãæ©è½ãªã¯â¦
I have worked on benchmarking of PG-Strom at a large hardware configuration for a couple of months. Due to the server models we had, our benchmark results had been usually measured at a small 1U rack server with 1CPU, 1GPU and 3-4 NVME-SSDâ¦
ããã¾ã§ã®PG-Stromã®æ§è½æ¸¬å®ã¨ããã°ãèªç¤¾ä¿ææ©æã®é¢ä¿ããããåºæ¬çã«ã¯1Uã©ãã¯ãµã¼ãã«1CPUã1GPUã3ï½4å°ã®NVME-SSDãè¼ããæ§æã®ãã¼ãã¦ã§ã¢ãä¸å¿ã ã£ãã*1 ãã ã½ããã¦ã§ã¢çã«ã¯ãã«ãGPUãNVME-SSDã®ã¹ãã©ã¤ãã³ã°ã«å¯¾å¿ãã¦ãããè½åâ¦
ä¹ ã ã« PostgreSQL æ¬ä½æ©è½ã¸ã®ããããæããã®ã§ãããã®è§£èª¬ããã¦ã¿ããPostgreSQL: Re: Asymmetric partition-wise JOIN èæ¯ï¼Partition-wise JOIN PostgreSQLã®ãã¼ãã£ã·ã§ã³ã使ã£ãã¨ãã«ãå ¨ãåä¸ã®ãã¼ãã£ã·ã§ã³ã®åãæ¹ããã¦ããã¤ãã¼ãã£â¦
æãããªããã£ããªPG-Stromã®å¦çã¯ãã¦ã¼ã¶ãå ¥åããSQLãå ã«CUDA Cã®GPUããã°ã©ã ãèªåçæãããããå®è¡æã³ã³ãã¤ã«ãããã§çæãããGPUãã¤ããªãç¨ãã¦ãã¹ãã¬ã¼ã¸ããèªã¿åºãããã¼ã¿ãGPUã§ä¸¦åå¦çããã¨ããä¸é£ã®æµãã§ããã å¾ã«JOINâ¦
I have recently worked on development of FDW for Apache Arrow files; including SSDtoGPU Direct SQL support of PG-Strom. Apache Arrow is a column-oriented data format designed for application independent data exchange, supported by not a smâ¦
ããæè¿åãçµãã§ãã Arrow_Fdw æ©è½ãããããåãããã«ãªã£ãã®ã§ãæ§è½ãã³ããã¼ã¯ãè¡ã£ã¦ã¿ãã ä»åã®ã¨ã³ããªã§ã¯é ã追ã£ã¦èª¬æããäºã«ãã¦ã¿ããã Arrow_Fdwã¨ã¯ PostgreSQLã«ã¯FDW (Foreign Data Wrapper) ã¨ããæ©è½ããããPostgreSQL管â¦
ååã®ã¨ã³ããªã§ Apache Arrow ã®ãã©ã¼ãããã«ã¤ãã¦èª¿ã¹ã¦ããããããã®ã´ã¼ã«ã¯ãå¤é¨ãã¼ãã«ï¼Foreign Tableï¼ãä»ãã¦Apache Arrowãã¡ã¤ã«ãèªã¿åºããé«éã«éè¨ã»è§£æå¦çãå®è¡ããäºã«ããã ç¹ã«PG-Stromã®å ´åã¯SSD-to-GPU Direct SQLã¨ããâ¦
Arrow_Fdwãä½ãã¢ããã¼ã·ã§ã³ æ¨å¹´ãããªãé å¼µã£ã¦ãã«ãGPUãæ¡å¼µI/Oããã¯ã¹ã使ç¨ãã¦ã·ã³ã°ã«ãã¼ãã®ã¯ã¨ãªå¦çæ§è½10GB/sãéæã§ããããã ä¸æ¹ã§ãPG-StromãPostgreSQLã®ãã¼ã¿æ§é ããã®ã¾ã¾ä½¿ããã¨ããäºã¯ããã©ã³ã¶ã¯ã·ã§ãã«ã«èç©ãããâ¦