Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Disc Space Cost Function #101

Closed
ibnesayeed opened this issue Mar 24, 2016 · 2 comments
Closed

Disc Space Cost Function #101

ibnesayeed opened this issue Mar 24, 2016 · 2 comments
Labels

Comments

@ibnesayeed
Copy link

Given a UNIX directory path with handful of files in it of varying sizes, is there any way to estimate how much storage space will be needed in the IPFS Data directory if everything is added to it? Is there a function in which we can put these parameters and calculate the storage requirement?

@Kubuxu
Copy link

Kubuxu commented Mar 24, 2016

It can be from 1.2 times more to anywhere less.

It is because IPFS adds some overhead but it also performs deduplication.
Good example is cdnjs, the directory in linux file system is 21GB, the IPFS data directory after adding it is 15GB.

@flyingzumwalt
Copy link
Contributor

This issue was moved to https://discuss.ipfs.io/t/disc-space-cost-function/450

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants