On 22/11/17 00:40, John Sanders wrote:
Hi, I'm running a Fuseki server on a rather small server. I'm willing to
upgrade it a little bit (since it's handling a lot of requests) so I was
wondering which single component I could upgrade to get the best possible
return. This I suppose boils down to either more RAM or a better CPU.
Currently the server is an old Pentium4 3GHz with 2gb of RAM, so if I have
some money to spend on it, would I be better buying more RAM or a better CPU?
In the second case (a better CPU), would Fuseki benefit more from a faster one
(higher frequency) or one with more cores/threads (I assume Fuseki is a
multi-threaded application)? Thank you all.
Hi John,
Are you running a 32 bit java?
And some of the replies assume you are using TDB, and not, for example,
keeping data in files read in at startup.
If TDB:
Some more RAM and a 64 bit java will help a lot.
This is true even if the database is smaller than (guess) a 1Gb.
TDB/32-bit mode has to do it's own file caching and it's not really very
fast.
If files:
Then it's all in RAM currently.
A faster CPU.
And a new CPU will probably have faster RAM.
Again, getting to 64 bit java may help as well.
Threads & core:
Fuseki runs each HTTP request on one thread.
If the server is having to serve multiple requests at the same time,
then more (real) threads upto the number of really concurrent requests
should help.
Andy