This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Today, zns occurs to me so I decide to install zenfs to see how it fits into rocksdb. Environment setting up can always be tedious and ugly. So list a summary here: | |
# rocksdb only | |
https://blog.csdn.net/u013171226/article/details/110167997 | |
make static_lib | |
make install-static PREFIX=/usr/local/rocksdb | |
# rocksdb + zenfs | |
// then must add to bashrc(needed for both) | |
// (Or you may meet errors: undefined reference to `google::FlagRegisterer: rocksdb... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x86_64-softmmu/qemu-system-x86_64 \ | |
-kernel path/to/arch/x86_64/boot/bzImage \ | |
-nographic \ | |
-append "console=ttyS0 nokaslr" \ | |
-initrd test.qcow2\ | |
-m 512\ | |
--enable-kvm \ | |
-cpu host \ | |
-drive if=virtio,file=test.img,format=raw,aio=io_uring,cache=none |