View previous topic :: View next topic |
Author |
Message |
Tempest
Joined: 26 Feb 2008 Posts: 32
|
Posted: Wed Mar 26, 2008 20:49 Post subject: |
|
|
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 |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Wed Mar 26, 2008 23:24 Post subject: |
|
|
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 |
|
|
Tempest
Joined: 26 Feb 2008 Posts: 32
|
Posted: Thu Mar 27, 2008 15:47 Post subject: |
|
|
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 |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Thu Mar 27, 2008 16:40 Post subject: |
|
|
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 |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Thu Mar 27, 2008 19:16 Post subject: |
|
|
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 |
|
|
Tempest
Joined: 26 Feb 2008 Posts: 32
|
Posted: Thu Mar 27, 2008 20:27 Post subject: |
|
|
Now doesnt that suck? That makes things useless doesnt it? |
|
Back to top |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Fri Mar 28, 2008 12:13 Post subject: |
|
|
1.69 has new affinity switches, which may help. Will test today. |
|
Back to top |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
|
Back to top |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Wed Apr 02, 2008 10:29 Post subject: |
|
|
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 |
|
|
Tempest
Joined: 26 Feb 2008 Posts: 32
|
Posted: Wed Apr 02, 2008 21:19 Post subject: |
|
|
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 |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Wed Apr 02, 2008 22:18 Post subject: |
|
|
Yups. This is like pulling a gun on your OS and telling it to do what you want it to do. |
|
Back to top |
|
|
Tempest
Joined: 26 Feb 2008 Posts: 32
|
Posted: Thu Apr 03, 2008 1:41 Post subject: |
|
|
Nice! I have no problem doing that! |
|
Back to top |
|
|
|