I thought that it might be good to use a compression-library to reduce the filesize of all those sectorfiles (and so on) on your harddisk. I used the linux-program tar with gzip-compression on my server and reduced the size of my whole galaxy to round about 1/4th to 1/5th.
Well, I'll show you what I've done:
torsten@debian:~$ cd .avorion/galaxies/
torsten@debian:~/.avorion/galaxies$ tar -cvzf backup.tar.gz ./avorion_galaxy/*
... (lots of output from verbose-mode - v-option) ...
torsten@debian:~/.avorion/galaxies$ ls -la
insgesamt 1164788
drwxr-xr-x 3 torsten torsten 4096 Mär 3 13:13 .
drwxr-xr-x 4 torsten torsten 4096 Mär 2 17:34 ..
drwxr-xr-x 5 torsten torsten 4096 Mai 8 22:51 avorion_galaxy
-rw-r--r-- 1 torsten torsten 1192725478 Mai 9 09:52 backup.tar.gz
torsten@debian:~/.avorion/galaxies$ du -h
5,5G ./avorion_galaxy/sectors
63M ./avorion_galaxy/factions
1,6M ./avorion_galaxy/players
5,5G ./avorion_galaxy
6,7G .
Gzip-compression could also be included into C/C++ programs by using http://zlib.net/.
As you can see above, the files of that Galaxy are using 5.5 GB, compressing it into a tar-archive with gzip-compression reduced the size to round about 1.2 GB.
Suggestion
unbekannt1984
Hi,
I thought that it might be good to use a compression-library to reduce the filesize of all those sectorfiles (and so on) on your harddisk. I used the linux-program tar with gzip-compression on my server and reduced the size of my whole galaxy to round about 1/4th to 1/5th.
Well, I'll show you what I've done:
Gzip-compression could also be included into C/C++ programs by using http://zlib.net/.
As you can see above, the files of that Galaxy are using 5.5 GB, compressing it into a tar-archive with gzip-compression reduced the size to round about 1.2 GB.
Link to comment
Share on other sites
4 answers to this suggestion
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now