cosmos72 / hyperluminal-db Goto Github PK
View Code? Open in Web Editor NEW(ALPHA) Persistent, memory-mapped Common Lisp object store
License: GNU General Public License v3.0
(ALPHA) Persistent, memory-mapped Common Lisp object store
License: GNU General Public License v3.0
Hi,
proceeded as described using sbcl 2.0.1 on ubuntu 20.04.
The output of hyperluminal test is:
; wrote /home/aswood/.cache/common-lisp/sbcl-2.0.1.debian-linux-x64/home/aswood/quicklisp/local-projects/hyperluminal-db/test/package-tmp97AGCAO1.fasl
; compilation finished in 0:00:00.002
Running test suite SUITE
Didn't run anything...huh?
???????
Hello. When I run the test suit as shown in readme, hyperluminal-mem and stmx pass all the tests. However, hyperluminal-db says:
CL-USER> (asdf:test-system :hyperluminal-db)
To load "hyperluminal-db-test":
Load 1 ASDF system:
hyperluminal-db-test
; Loading "hyperluminal-db-test"
Running test suite SUITE
Didn't run anything...huh?
Is there something wrong with its test? My OS is ubuntu 16.04 x64. And Lisp implementation is SBCL 1.3.1 x64.
Thanks.
Hyperluminal-DB uses a (supposedly) clever trick in order to overcome Intel claims that hardware memory transactions (specifically, Intel TSX) cannot perform input/output.
The result is that Hyperluminal-DB is able to perform transactional input/output while running hardware memory transactions - an apparent paradox - in an extremely specific but significant case: reading and writing memory-mapped files.
Could you go into more detail about the 'clever trick' you discovered that allows TSX to perform input/output?
Environment portacle with sbcl 2.0.0 or sbcl 2.0.6 native
quickload fails on store.lisp @ line 78
[package hyperluminal-db].....
; file: /usr/local/bin/portacle/all/quicklisp/local-projects/hyperluminal-db/db/store.lisp
; in: DEFVAR P
; (DEFVAR HYPERLUMINAL-DB::P HYPERLUMINAL-MEM-FFI:+NULL-POINTER+)
; --> PROGN SB-IMPL::%DEFVAR SB-IMPL::%DEFVAR
; ==>
; '#.(SB-SYS:INT-SAP #X00000000)
;
; caught ERROR:
; Objects of type SB-SYS:SYSTEM-AREA-POINTER can't be dumped into fasl files.
Is there any hint to overcome this issue?
To load hyperluminal-db with quicklisp version of hyperluminal-mem it needs to change package dependencies from hyperluminal-ffi
to hyperluminal-mem-ffi
in db/package.lisp and some fixes in db/store.lisp at least.
Just try to load it and you'll see errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.