logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
xp_system.dll should support more than two core addressing

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Development
View previous topic :: View next topic  
Author Message
chris421



Joined: 07 Apr 2005
Posts: 53

PostPosted: Sat Apr 04, 2009 7:41    Post subject: xp_system.dll should support more than two core addressing Reply with quote

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
View user's profile Send private message
Senalaya



Joined: 29 Dec 2004
Posts: 82
Location: Germany

PostPosted: Sat Apr 04, 2009 12:55    Post subject: Reply with quote

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
View user's profile Send private message
chris421



Joined: 07 Apr 2005
Posts: 53

PostPosted: Sun Apr 05, 2009 13:40    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Development All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group