Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Persona 3 Portable] Very long load times, hangs on Setting Up Binds #470

Open
nateify opened this issue Oct 15, 2024 · 2 comments
Open
Labels
untriaged No decision has been made by the developers.

Comments

@nateify
Copy link

nateify commented Oct 15, 2024

I am experiencing issues with long, 2 minute load times when launching Persona 3 Portable with a few mods. Here is the full log file:
2024-10-15 02.22.18 ~ P3P.txt

Towards the bottom we can see the ~2 minute gap that occurs on Setting Up Binds for Handle 315924768:

[22:22:27] Merging Completed in 296ms
[22:22:27] [Reloaded] Loading Mods (Total) | Time: 8982ms
[22:22:27] [Reloaded] Total Loader Initialization Time: 9093ms
[22:22:30] Found Window, Hooking WndProc.
[22:22:30] Setting Up Binds for Handle 315924768
[22:24:07] Bind Complete! 12093 files, Id: 4, Time: 97258ms
[22:24:07] Setting Up Binds for Handle 315924872
[22:24:09] Bind Complete! 12093 files, Id: 7, Time: 1863ms
[22:24:09] Setting Up Binds for Handle 315924976
[22:24:11] Bind Complete! 12093 files, Id: 9, Time: 2046ms

I have made sure I have all pre-reqs installed and they are up to date. Here is more info about my running system:

Computer:      DELL Latitude E7470
CPU:           Intel Core i7-6650U (Skylake-U, K1)
               2200 MHz (22.00x100.0) @ 2194 MHz (22.00x99.8)
Motherboard:   DELL 0YDW8F
BIOS:          1.36.3, 09/18/2022
Chipset:       Intel Skylake-U Premium PCH
Memory:        16384 MBytes @ 1064 MHz, 15-15-15-36
               - 8192 MB PC17000 DDR4 SDRAM - SK Hynix HMA41GS6AFR8N-TF
               - 8192 MB PC17000 DDR4 SDRAM - SK Hynix HMA41GS6AFR8N-TF
Graphics:      Intel Iris Graphics 540 (Skylake-U GT3e) [K1] [DELL]
               Intel Iris Graphics 540, 1024 MB 
Drive:         Patriot M.2 P310 240GB, 234.4 GB, NVMe
Sound:         Intel Skylake-U/Y PCH - High Definition Audio Controller [C1]
Network:       Intel Ethernet Connection I219-LM
Network:       Intel Dual Band Wireless-AC 8260 AC 2x2 HMC WiFi Adapter
Network:       Intel 18260NGW WiGig (Douglas Peak) Network Adapter
OS:            Microsoft Windows 10 IoT Enterprise LTSC (x64) Build 19044.4894 (21H2)

When the game is loaded, the mods all seem to work fine and there's no performance issues, only the initial loading is impacted.
The P3P.exe process is excluded by me in Windows Defender, although Reloaded-II related processes are not

@nateify nateify added the untriaged No decision has been made by the developers. label Oct 15, 2024
@Sewer56
Copy link
Member

Sewer56 commented Oct 15, 2024

The detail is here:

[22:24:07] Bind Complete! 12093 files, Id: 4, Time: 97258ms

https://github.com/Sewer56/CriFs.V2.Hook.ReloadedII/blob/985a9f06a70e73c8a9e845caa78d7ef00c10d696/CriFs.V2.Hook/Hooks/CpkBinder.cs#L251

The code is timing the amount of time taken to execute the logic in the CRI FileSystem library used by the game itself. Therefore it's somewhat out of my control.

8ms on average to open a single file is unusually high however; even by Windows standards. Do you have your Mods folder (or Reloaded) on a NAS? That could contribute to it. Otherwise it could be a lot of filter drivers making file opens unusually slow in general (Antivirus + Xbox + Cloud Storage Software etc.)

The other possibility is Denuvo putting junk in one of the file opening routines, in which case there isn't much I could do about it; but that's statistically unlikely.

@nateify
Copy link
Author

nateify commented Oct 15, 2024

The detail is here:

[22:24:07] Bind Complete! 12093 files, Id: 4, Time: 97258ms

https://github.com/Sewer56/CriFs.V2.Hook.ReloadedII/blob/985a9f06a70e73c8a9e845caa78d7ef00c10d696/CriFs.V2.Hook/Hooks/CpkBinder.cs#L251

The code is timing the amount of time taken to execute the logic in the CRI FileSystem library used by the game itself. Therefore it's somewhat out of my control.

8ms on average to open a single file is unusually high however; even by Windows standards. Do you have your Mods folder (or Reloaded) on a NAS? That could contribute to it. Otherwise it could be a lot of filter drivers making file opens unusually slow in general (Antivirus + Xbox + Cloud Storage Software etc.)

The other possibility is Denuvo putting junk in one of the file opening routines, in which case there isn't much I could do about it; but that's statistically unlikely.

My mods folder is stored locally on NVME SSD, I have Dropbox installed but the mods folder is not located in a Dropbox folder. Since I run Windows LTSC I have no Xbox components at all, and Onedrive is also removed. My only antivirus is Windows Defender.

FWIW This is the output of fltmc filters on my system

Filter Name                     Num Instances    Altitude    Frame
------------------------------  -------------  ------------  -----
bindflt                                 1       409800         0
UCPD                                    4       385250.5       0
WdFilter                                4       328010         0
storqosflt                              0       244000         0
wcifs                                   0       189900         0
dbx                                     2       186500         0
CldFlt                                  0       180451         0
FileCrypt                               0       141100         0
luafv                                   1       135000         0
npsvctrig                               1        46000         0
Wof                                     2        40700         0
FileInfo                                4        40500         0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged No decision has been made by the developers.
Projects
None yet
Development

No branches or pull requests

2 participants