cy33hc / ps4-ezremote-client

GNU General Public License v2.0
81 stars 5 forks source link

Large speed difference depending on HOW a link is passed to the app - whether typed in UI or sent via web browser #23

Open HVR88 opened 1 month ago

HVR88 commented 1 month ago

This is a follow-up to https://github.com/cy33hc/ps4-ezremote-client/issues/20

I've tested HTTP transfer started from both the PS4 and by sending a link to the PS4 from a browser connection on PC/Mac. There's a 10x (approximate) speed difference using the exact same link. Sending link from web connection is faster.

This is how I set up for testing

Installed Apache httpd docker on my local server and configured the web directory to enable indexes to serve local files easily. I copied a number of random fpkg files to the web directory for testing. 500MB, 4GB, 13GB, etc.

From the PS4: • Listing of files displayed when browsing to the web directory from EZ on the PS4: http://192.168.1.3 • Select a pkg file and install - speed is relatively slow

By comparison, from my computer, while accessing the PS4's EZ remote UI: • Using the Install URL command, I paste the link http://192.168.1.3/filename.pkg • installation starts on PS4 and the speed is at least an order of magnitude faster than the previous test • a 4GB file installs in seconds

cy33hc commented 1 month ago

@HVR88 I'm not able to reproduce. I get same speed installing from app and through the webui.

HVR88 commented 1 month ago

Are there any logs or a debug mode I can turn on to test this and get any details about differences on my end doing it one way vs the other?

In addition to Apache I've now also got nginx running, so I can check if that shows any differences serving the file.

cy33hc commented 3 weeks ago

@HVR88 Implemented feature that shows transfer speed. You should be able to tell the difference now. https://github.com/cy33hc/ps4-ezremote-client/releases/tag/1.25