{"repo":"sfu-dis/mosaicdb","free":true,"listed":false,"github":"https://github.com/sfu-dis/mosaicdb","clone":"git clone https://github.com/sfu-dis/mosaicdb.git","description":"The Art of Latency Hiding in Modern Database Engines (VLDB 2024)","language":"C++","stars":63,"topics":["database","asyncio","coroutine","io-uring","nvme-ssd","transaction-processing","memory-prefetch","mosaicdb","corobase","scheduling"],"license":"MIT","category":"databases-storage","readme_excerpt":"The Art of Latency Hiding in Modern Database Engines (VLDB '24) MosaicDB is a research storage engine that systematically hides various types of latency in modern memory-optimized database systems. See details in our VLDB 2024 paper below. If you use our work, please cite: Environment configurations Step 1: Software dependencies cmake python2 gcc-10 libnuma libibverbs libgflags libgoogle-glog liburing Example for Ubuntu Step 2: Make sure you have enough huge pages MosaicDB uses mmap with MAP HUGETLB (available after Linux 2.6.32) to allocate huge pages. Almost all memory allocations come from the space carved out here. Assuming the default huge page size is 2MB, the command below will allocate 2x MB of memory: Step 3: Set mlock limits. Add the following to /etc/security/limits.conf (replace \"[user]\" with your username): Step 4: Re-login to apply the changes -------- Compile We do not allow building in the source directory: -------- Run Required options: -log data dir=[path] (path to the directory where the log files will be stored) -node memory gb=[#] (the amount of memory in GB that the node has) -seconds=[#] -threads=[#] MosaicDB-specific options: -ycsb read tx type=[hybrid-coro nested-coro flat-coro] (choose according to the executable) -coro scheduler=2 -coro batch size=[#] (8, by default) -coro cold queue size=[#] (16, by default) -coro check cold tx interval=[#] (8, by default) Pipeline-specific options: -ycsb read tx type=[hybrid-coro nested-coro flat-coro] (choose acc","default_branch":null,"files":null,"tree":[],"storefront":"/r/sfu-dis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sfu-dis/mosaicdb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}