Hi Marco,

I’m sorry, I can’t give any explanation on why BaseX performs worse with NFS. In principal, we rely on standard Java IO/NIO.

Does it make a noticeable difference if you store copy many small files a) locally and b) to the NFS exported disk?

Ciao,
Christian



On Thu, Mar 14, 2024 at 5:28 PM Marco Lettere <m.lettere@gmail.com> wrote:
Dear all,

we have an instance of BaseX running on top of an NFS exported disk. Yes
yes I know it's not the best possible scenario thus I was expecting a
slight performance decrease.

Anyway, when comparing local disk to NFS disk, for a tiny operation like
storing a very small document into a database (without optimize or
indexes) we get orders of magnitude of difference. And I'm saying from
few hundreds of ms to several seconds in some cases.

Does anyone have experience with cases like these? Or a solid motivation
that explains this degradation?

Thank you very much as usual.

Marco.