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 
 
Howto run 2 instances of NWNX2 / NWNX4
Goto page Previous  1, 2
 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Tempest



Joined: 26 Feb 2008
Posts: 32

PostPosted: Wed Mar 26, 2008 20:49    Post subject: Reply with quote

Thanks Disco, that is great information. Thanks for taking the time to list it for me!

I dont think it will matter for my 2nd instance as I wont advertise it to Game Spy. The PC's will only be able to get into it via transitions from the 1st instance.

"T"
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Wed Mar 26, 2008 23:24    Post subject: Reply with quote

I am testing this myself as well now. The CPU affinity settings are completely unreliable when used with multiple servers. The servers seem to push eachother around.
Back to top
View user's profile Send private message
Tempest



Joined: 26 Feb 2008
Posts: 32

PostPosted: Thu Mar 27, 2008 15:47    Post subject: Reply with quote

you know its funny, you have to be careful what you read. I have seen posts now that it does work and it doesnt. Since I have a quad core machine, I am going to see if I can assign the first instace to one core and the second instance to the other....
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Thu Mar 27, 2008 16:40    Post subject: Reply with quote

Well, it doesn't work for me. If I use one instance of nwnx+nwnserver all goes well. If I use two the results are random once the second server starts. It doesn't matter if I use a 2 core or 4 core machine. The two core is a dual opteron server running 64bit Windows XP, the other one a Phenom 9500 running normal windows XP.
Back to top
View user's profile Send private message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Thu Mar 27, 2008 19:16    Post subject: Reply with quote

Looked a bit better into this...

I use the dual core machine now. I have one server running on core 1, as ordered. When I start a new server (according to the settings on core 2) the first server switches to core 2, and the new one uses both cores.

This happens all the time.
Back to top
View user's profile Send private message
Tempest



Joined: 26 Feb 2008
Posts: 32

PostPosted: Thu Mar 27, 2008 20:27    Post subject: Reply with quote

Now doesnt that suck? That makes things useless doesnt it? Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Fri Mar 28, 2008 12:13    Post subject: Reply with quote

1.69 has new affinity switches, which may help. Will test today.
Back to top
View user's profile Send private message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Fri Mar 28, 2008 13:57    Post subject: Reply with quote

http://www.tomshardware.com/2004/05/28/getting_more_bang_out_of_your_dual_processing_buck/index.html

this may be handy.
Back to top
View user's profile Send private message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Wed Apr 02, 2008 10:29    Post subject: Reply with quote

I have been trying to assign servers/toolset/nwmain to different cores and in the end only one thing worked:

http://robpol86.com/pages/imagecfg.php

For me (Phenom 9500) the numbers are different. I needed to use the -u option first, btw.

My setup (mind that this is my modding machine, not the server)

0x1 = core 1 Firefox, MSN (MSN really messes up NWN with alt-tab)
0x3 = core 2 nwtoolset.exe
0x5 = core 3 nwserver.exe
0x7 = core 4 nwmain.exe

I had to turn off all CPU affinity options in the NWN/NWNX ini files.

Machine runs a lot smoother when mossing/testing with all three programs running, so this trick is not just handy for servers.
Back to top
View user's profile Send private message
Tempest



Joined: 26 Feb 2008
Posts: 32

PostPosted: Wed Apr 02, 2008 21:19    Post subject: Reply with quote

Hey Disco thanks for that post! So this tells the O/S what to do vise us trying in the config files from NWN?

"T"
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Wed Apr 02, 2008 22:18    Post subject: Reply with quote

Yups. This is like pulling a gun on your OS and telling it to do what you want it to do.
Back to top
View user's profile Send private message
Tempest



Joined: 26 Feb 2008
Posts: 32

PostPosted: Thu Apr 03, 2008 1:41    Post subject: Reply with quote

Nice! I have no problem doing that! Cool
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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