Hello list,

I'm confused on how to set the NumberOfBUffers parameter.

I have a machine which gives the following memory information in the 
top-command when virtuoso is not running:

Mem:  24680200k total, 17571268k used,  7108932k free,    58764k buffers
Swap:   542716k total,    14732k used,   527984k free, 16981620k cached

So about 24 GB in total system RAM in the machine, of which 7 GB seems free.

Section 16.16.1 in the virtuoso documentation recommends:

System RAM   NumberOfBuffers
...
16 GB        1360000
32 GB        2720000
...

So with my 24 GB System RAM, I would set NumberOfBuffers to 
(1360000+2720000)/2 = 2040000

However, when I look in the virtuoso.ini file, I see the comments:


;; When running with large data sets, one should configure the Virtuoso
;; process to use between 2/3 to 3/5 of free system memory and to stripe
;; storage on all available disks.
;;
;; Uncomment next two lines if there is 2 GB system memory free


Notice that here, one talks about '_FREE_ system memory'.  So based on 
these comments, and since I have about 7 GB of free memory (see top 
output above), and given the recommendations from section 16.16.1

System RAM  NumberOfBuffers
...
4 GB        340000
8 GB        680000
...

I would set the NumberOfBuffers parameter to

340000 + 340000*3/4 = 595000


Which of the two is the correct way to set NumberOfBuffers?

Thanks,
Bart

------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to