Hi Jens,

our storage driver is the default aufs:

Storage Driver: aufs
  Root Dir: /var/lib/docker/aufs
  Backing Filesystem: extfs
  Dirs: 189
  Dirperm1 Supported: false

... based on ext4, also with default option (journaling only on metadata).

However, we have a persistent volume for the BaseX database files pointed to a regular folder on the host (ext4). To my understanding the storage driver isn't used in this case.

Is there a recommendation for a basex filesystem?

With kind regards,
Benedikt



Am 26.08.2016 um 22:04 schrieb Jens Erat:
Hi Björn,

which Docker storage driver are you using?

In my own experiments, I recently realized BaseX does not play very well with 
copy-on-write, resulting in heavy fragmentation. If you're using BTRFS or ZFS, 
you should definitely make sure to disable copy on write for the BaseX database 
when performing frequent updates. I have not verified whether BTRFS' autodefrag 
option improves this.

This is not a Docker issue, but one with the file systems (databases need 
tuning for those kinds of file systems in general).

Regards,
Jens


--
Benedikt Wegmann
benedikt.wegm...@gwdg.de
Jabber/XMPP: bwegm...@jabber.gwdg.de

.........................
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen
(GWDG)
Am Fassberg 11, 37077 Göttingen
URL: http://www.gwdg.de , E-Mail: g...@gwdg.de
Tel.: +49 (0)551 201-1510, Fax: +49 (0)551 201-2150
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Göttingen, Registergericht: Göttingen
Handelsregister-Nr. B 598
.........................
Die digitale Unterschrift dieser Mail kann anhand des Zertifikats des
DFN überprüft werden:
https://ca.gwdg.de/certs/


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to