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 
 
Processor affinity for multicore processors.

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Aethis



Joined: 24 Jan 2007
Posts: 4

PostPosted: Thu Feb 01, 2007 19:21    Post subject: Processor affinity for multicore processors. Reply with quote

When running nwn2server on a multicore processor, it is important to set affinity of a server on a core to improve stability an avoid strange 100%CPU lag.

Y actualy use a bash shell on cygwin with a command line utility to set the affinity.

As a futur improvement, it could be great to have the affinity set bey nwnx4.


Last edited by Aethis on Fri Feb 02, 2007 9:26; edited 1 time in total
Back to top
View user's profile Send private message
Grinning Fool



Joined: 12 Feb 2005
Posts: 264

PostPosted: Thu Feb 01, 2007 20:30    Post subject: Reply with quote

Ideally, we could have nwnx itself set to one CPU, and the server set to the other...
_________________
Khalidine, a NWN2 persistent world

Looking for volunteers.
Back to top
View user's profile Send private message
Aethis



Joined: 24 Jan 2007
Posts: 4

PostPosted: Thu Feb 01, 2007 23:14    Post subject: Reply with quote

nwnx doesn't load CPU. The most important thing is to have the affinity set for the server on one core. For multiserver PW, each server could be bound to a différent core. (I've got 2 cores and 2 servers)
Back to top
View user's profile Send private message
Grinning Fool



Joined: 12 Feb 2005
Posts: 264

PostPosted: Fri Feb 02, 2007 3:53    Post subject: Reply with quote

Yes, I was agreeing with you, and adding to the suggestion Wink
_________________
Khalidine, a NWN2 persistent world

Looking for volunteers.
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Sat Feb 03, 2007 12:57    Post subject: Reply with quote

Good idea. This should be easy to do and adds another feature to one of NWNX's main goals: Running multiple servers.

Btw, NWNX4 itself uses probably less CPU cycles than the Windows clock in the lower right corner Wink
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion 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