Giter VIP home page Giter VIP logo

virtual-zns-doc's People

Contributors

floatious avatar

Stargazers

 avatar

Watchers

 avatar  avatar

virtual-zns-doc's Issues

Failed creating env: Invalid argument: Malformed URI: zenfs://nullb0

I'm running db_bench on null_blk, changing DEV to nullb0 and running sudo ./run_zenfs.sh, but I got the error message Failed creating env: Invalid argument: Malformed URI: zenfs://nullb0.

Logs:

➜ chiro@chiro-pc  ~/fs/rocksdb git:(main) ✗ sudo ./run_zenfs.sh 
+ DEV=nullb0
+ FUZZ=5
++ cat /sys/class/block/nullb0/queue/chunk_sectors
+ ZONE_SZ_SECS=262144
+ ZONE_CAP=134217728
+ BASE_FZ=127506841
+ WB_SIZE=255013682
+ TARGET_FZ_BASE=255013682
+ TARGET_FILE_SIZE_MULTIPLIER=2
+ MAX_BYTES_FOR_LEVEL_BASE=510027364
+ MAX_BACKGROUND_JOBS=8
+ MAX_BACKGROUND_COMPACTIONS=8
+ OPEN_FILES=16
+ echo deadline
+ ./plugin/zenfs/util/zenfs mkfs --zbd=nullb0 --aux_path=/tmp/zenfs_nullb0 --finish_threshold=0 --force
ZenFS file system created. Free space: 7808 MB
+ ./db_bench --fs_uri=zenfs://nullb0 --key_size=16 --value_size=800 --target_file_size_base=255013682 --write_buffer_size=255013682 --max_bytes_for_level_base=510027364 --max_bytes_for_level_multiplier=4 --use_direct_io_for_flush_and_compaction --num=1500000 --benchmarks=fillrandom,overwrite --max_background_jobs=8 --max_background_compactions=8 --open_files=16
Failed creating env: Invalid argument: Malformed URI: zenfs://nullb0

./db_bench --fs_uri=zenfs://$DEV --key_size=16 --value_size=800 --target_file_size_base=$TARGET_FZ_BASE \

According to the README.md in the zenfs repository, fs_uri should be zenfs://dev:<zoned block device name> / zenfs://zonefs:<zonefs mountpoint> or zenfs://uuid:<UUID>. I changed the line to --fs_uri=zenfs://dev:nullb0 and it worked.

So maybe run_zenfs.sh needs a small fix...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.