tarides / tezos

Mirror of the release branches for Tezos, a self-amending cryptographic ledger
https://gitlab.com/tezos/tezos
Other
0 stars 2 forks source link

Use inodes in snapshots #19

Open icristescu opened 2 years ago

icristescu commented 2 years ago

needs https://github.com/mirage/irmin/pull/1757. Based on https://github.com/tarides/tezos/pull/18

only tested this for rolling snapshots

import:

> ./tezos-node snapshot import snapshot_inode_2 --data-dir ./data_snapshot_inode
Feb  6 10:59:05.264 - node.snapshots: importing data from snapshot
...
end - maxrss 896288 KB
Feb  6 11:15:00.812 - node.snapshots: successful import from file snapshot_inode_2

export:

> ./tezos-node snapshot export --rolling --data-dir ./data_snapshot_inode
Feb  6 11:24:17.283 - node.snapshots: exporting a snapshot in rolling mode
...
end - maxrss 1833336 KB
Feb  6 11:35:50.715 - node.snapshots: successful export: