New client loader for test server
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: New client loader for test server
Alright I'll try to find the culprit when I have a chance...seems like this has come up before though and has been problematic to duplicate.
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: New client loader for test server
Could you give this build a shot and let me know how it goes? I changed some of the threading code to try to avoid spawning unnecessary threads but it may cause other problems...so some feedback would be helpful.
- Attachments
-
- ffxi-boot_mod3.1.3_beta.zip
- (20.73 KiB) Downloaded 475 times
Re: New client loader for test server
Great! I'll try this out and report back.bluekirby0 wrote:ffxi-boot_mod3.1.3_beta.zip
Re: New client loader for test server
Two of us are XPing in Ro'Maeve, page 1 FOV on classic server, with 3.1.3beta, and both triggered 100% CPU at nearly the same instant after about 30 minutes.
Me with 3 instances, other player with 4 instances.
Other info:
I hadn't been using /search at/near the time 100% cpu was triggered. I had used it after logging in on all 3 chars, which didn't trigger 100% cpu. I had zoned at least once on each char near when i logged in.
According to ProcExp, thread count for the instance of my char in Ro'Maeve is fluctuating between ~29-38.
CPU usage does not appear to gradually go up, like a leak, instead it appears to suddenly "spike" at 100% usage for the rest of the time ffxi-boot is running.
Me with 3 instances, other player with 4 instances.
Other info:
I hadn't been using /search at/near the time 100% cpu was triggered. I had used it after logging in on all 3 chars, which didn't trigger 100% cpu. I had zoned at least once on each char near when i logged in.
According to ProcExp, thread count for the instance of my char in Ro'Maeve is fluctuating between ~29-38.
CPU usage does not appear to gradually go up, like a leak, instead it appears to suddenly "spike" at 100% usage for the rest of the time ffxi-boot is running.
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: New client loader for test server
Odd...there should only be about 3 threads running per character...I didn't write the original program so I have to work out the cause in a vastly different programming style from my own.
Re: New client loader for test server
I checked current non-beta version 3 and ProcExp also reports thread counts fluctuating in the 30's when CPU is not at 100%, running a single instance.
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: New client loader for test server
I would expect the beta to have a lower thread count, but its also using windows native threading with which i am not intimately familiar, so maybe that thread count is normal for the apartment threading model that windows uses. I'll mess with it and see if I can account for all of the threads. Perhaps some are being spawned on a loop that I missed before.
-
- Posts: 61
- Joined: Mon Dec 24, 2012 3:47 pm
Re: New client loader for test server
Curious would the analyze feature in visual studio be of any help?
since its set for CPU monitoring by default it may help significantly.
I usually run it on the game server to see if any major improvements have been made.
since its set for CPU monitoring by default it may help significantly.
I usually run it on the game server to see if any major improvements have been made.
Re: New client loader for test server
It's been a while since I looked at the boot source, and may have been from a different boot loader. Does ffxi-boot do anything with network besides override the server IP lookup?
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: New client loader for test server
Since v3 its based on the mXI source rather than ffxi-boot because of issues with EU support and timing out when creating a new character. It sends the packets for login or account creation, so yes, it does other network stuff.