phantom icon indicating copy to clipboard operation
phantom copied to clipboard

Resource packs download slowly from server

Open flplv opened this issue 4 years ago • 7 comments

I have tested in the same server with 0.4.0 and 0.5.1, the difference is very big.

flplv avatar Jun 05 '20 23:06 flplv

Using this thread @counterfitninja @Jim-Kroovy to discuss the resource pack issue.

https://github.com/jhead/phantom/issues/96#issuecomment-650552582

jhead avatar Jul 15 '20 04:07 jhead

I loaded a few packs onto a remote Bedrock server (~500kb in size), including the Truly Bedrock pack and the attached Acceptable.zip pack, and set the server to force them. I connected via Xbox One X to phantom and it prompted me to download the packs automatically, which it completely almost instantly.

I'm really having trouble narrowing down what the issue might be to reproduce this. I do have pretty good wifi between my laptop running phantom and my Xbox is connected via ethernet cable, so maybe it comes down to the quality of the connection? Can you think of any other way I might be able to reproduce this?

jhead avatar Jul 15 '20 04:07 jhead

See v0.5.2 for a new -workers flag that you could try using to improve performance. Depending on the device you're running phantom on, I'd suggest using somewhere between 4 - 16 workers.

jhead avatar Jul 15 '20 04:07 jhead

The tests I performed was in a PS4, I will run tests again and will report the results.

flplv avatar Jul 15 '20 05:07 flplv

Tested in a PS4 with 1.16.1, remote server at 1.16.1.2 in phantom-linux 0.5.2 and could not reproduce. One difference, though, is that my pack was 90KiB this time, and when I had issues I had 10MiB of download. In the future I plan to re-enable the bigger packs then I will redo the tests again. Right now I will stick to the 0.5.2 and let you know if I find issues.

flplv avatar Jul 15 '20 05:07 flplv

I think I have narrowed down the pack that is causing the crash. I'll do a little digging today on the latest release copy and if it still fails I'll send over the pack. This does not seem to be size related but pack related, at least in my case

counterfitninja avatar Jul 15 '20 06:07 counterfitninja

bumping this once more, just want to make sure there's no bug I should be looking into on my end 🙂

jhead avatar Aug 15 '20 18:08 jhead