BaseX and NFS

Thursday, 14 March 2024 · 2 messages · last reply 20 Mar 2024
ML
Marco Lettere14 Mar 2024 17:27 #
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.
CG
Christian Grün20 Mar 2024 08:46 #
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
Quoted text · Marco Lettere · 20 lines
On Thu, Mar 14, 2024 at 5:28 PM Marco Lettere <m.lettere at 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. > >

⚡Generated with XQuery