Hi Bridger, I am not using xquery:fork-join. If I understand correctly, some operations on nodes are parallelized automatically by BaseX. If the same script is then run in parallel on different files, I get all my cores busy. Best, Giuseppe Quoting Bridger Dyson-Smith <bdysonsmith@gmail.com>:
Hi Giuseppe - Hope you're well. Did you try adding the `parallel` option to xquery:fork-join? See https://docs.basex.org/main/XQuery_Functions#xquery:fork-join - if not specified, then BaseX will be greedy :)
Best,
Bridger
On Fri, Dec 6, 2024, 7:36 AM <celano@informatik.uni-leipzig.de> wrote:
Is there a way to specify how many parallel processes Basex 11 is allowed to spawn (I am not using the database)? In combination with GNU parallel, it becomes difficult to have control on parallelism.
Best, Giuseppe
-- Universität Leipzig Institute of Computer Science Augustusplatz 10 04109 Leipzig Deutschland celano@informatik.uni-leipzig.de