Player Resource Consortium

 

Author Topic: Any official suggestion ?  (Read 3504 times)

0 Members and 1 Guest are viewing this topic.

February 03, 2012, 07:46:48 AM
  • Jr. Associate
  • **
  • Posts: 88
  • Karma: +0/-0
    • View Profile

hi xwarren, i have been looking at our nwnplayer.ini and saw that there are two variables we can change in order to "increase performance": 2da cache size and 2da engine cache size.
what values do you recomend for pw prc servers?

2DA Cache Size=10   1-??   The number of .2da files to be cached for use with Get2DAString().
(Added in patch 1.69.)
2DA Engine Cache Size=11   11-??   The number of .2da files to be cached for the use of the game engine. Editing this value might improve performance for some people.
(Added in patch 1.69.)


February 03, 2012, 08:36:36 AM
Reply #1
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

hi xwarren, i have been looking at our nwnplayer.ini and saw that there are two variables we can change in order to "increase performance": 2da cache size and 2da engine cache size.
what values do you recomend for pw prc servers?

2DA Cache Size=10   1-??   The number of .2da files to be cached for use with Get2DAString().
(Added in patch 1.69.)
2DA Engine Cache Size=11   11-??   The number of .2da files to be cached for the use of the game engine. Editing this value might improve performance for some people.
(Added in patch 1.69.)
Sorry, I have never run PW server, and I have no idea which settings would be the best for PRC servers.

Edit: Second thought - this should not be really important for PRC scripts because they all use Get2DACache() instead of Get2DAString(). I generate default 2daCashe for PRC (prc_data.* files) before every release. If it's not present than it's automatically rebuilt - this means that if you use a script with Get2DACashe() function actual 2da files will be read only at 1 execution. All following executions will read from 2daCache.
I could be wrong, but that's how I see it ;p
« Last Edit: February 03, 2012, 09:36:29 AM by xwarren »


February 03, 2012, 09:26:48 AM
Reply #2
  • Jr. Associate
  • **
  • Posts: 88
  • Karma: +0/-0
    • View Profile

ok then, ill ignore these settings then! thanks xwarren :)