Comments (2)
I had the volume block_size set to a small 1KB. After increasing it back to the default 1.04MB I am seeing better performance and possibly it will alleviate the block overrun in the memo FileHandler method.
To reproduce this issue you maybe able to set the block_size to small 1K (1024) and write several large files.
from infinit.
Hi @tarlano.
It's a known issue, you shouldn't use a block size smaller than 64KB (source @mnottale) for now (I'll add that to the documentation).
You can't write blobs of data larger than twice the block size (source @mnottale).
By experimenting, I found that, with my fuse configuration:
- I wasn't able to reproduce with block_size bigger than 2KB.
- The limit of data you can write with a block size of 1024 is 3024.
Here's a minimal test case to reproduce.
set -x
rm -rf .local
export MOUNTPOINT="$PWD/mountpoint"
export BLOCK_SIZE=2
infinit user create
infinit silo create filesystem silo
infinit network create --silo silo network
infinit volume create --network network --block-size $BLOCK_SIZE volume
infinit volume mount --name volume --mountpoint "$MOUNTPOINT" --cache --allow-root-creation &
sleep 1
DATA_SIZE=$(expr $BLOCK_SIZE \* 2)
echo $(printf '=%.0s' $(eval echo "{1..$DATA_SIZE}")) >> "$MOUNTPOINT/data"
from infinit.
Related Issues (20)
- Google Drive: silo is faulty HOT 4
- how can i reset name to reuse original account name. HOT 2
- the release tar is not update based on changelog HOT 2
- assertion error: could not determine username HOT 1
- very bad write performances HOT 4
- Will infinit implement CSI (Container Storage Interface)? HOT 1
- Docker Swarm Service HOT 9
- Issues creating Infinit volumes HOT 32
- Unexpected message for user pull HOT 7
- fixing --allow-root-creation catch 22 errors
- Does Infinit have enough performance for backing databases? HOT 1
- Pushing a volume is failing with "HTTP error Bad Gateway".
- Unable to create filesystem network v0.8.0
- Why notify Invalid "Access Key ID", try again ... HOT 1
- too few peers are available to reach consensus: 0 of 1 (offline without Hub)
- Project status? HOT 20
- infinit: fatal error: unexpected HTTP error Bad Gateway pushing network: Unknown error HOT 5
- Error message upon Mounting Volume
- Unable to mount volume
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infinit.