View previous topic :: View next topic |
Author |
Message |
chris421
Joined: 07 Apr 2005 Posts: 53
|
Posted: Sat Apr 04, 2009 7:41 Post subject: xp_system.dll should support more than two core addressing |
|
|
My server has eight.
If ActivatePortal function ever happens, it would be nice to split up large modules across as many cores as possible.
Add that to the wishlist I guess. Thanks.
Chris |
|
Back to top |
|
|
Senalaya
Joined: 29 Dec 2004 Posts: 82 Location: Germany
|
Posted: Sat Apr 04, 2009 12:55 Post subject: |
|
|
The funny thing is, that you don't even need xp_system for that. The nwn(2)server.exe supports the command line parameter "-cpu x", which allows you to dedicate the server process to a specific cpu/core.
So, if you want to start several modules on the same server, just use
1. \nwn2server.exe -module "<module name 1>" -cpu 0
2. \nwn2server.exe -module "<module name 2>" -cpu 1
...
8. \nwn2server.exe -module "<module name 8>" -cpu 7
You can also use that parameter in the nwnx.ini config. |
|
Back to top |
|
|
chris421
Joined: 07 Apr 2005 Posts: 53
|
Posted: Sun Apr 05, 2009 13:40 Post subject: |
|
|
Senalaya wrote: | The funny thing is, that you don't even need xp_system for that. The nwn(2)server.exe supports the command line parameter "-cpu x", which allows you to dedicate the server process to a specific cpu/core.
You can also use that parameter in the nwnx.ini config. |
Worked like a champ.
Removed xp_system files from my NWNX4 folders and used the -cpu option instead.
Thank you! |
|
Back to top |
|
|
|