pkgj
pkgj copied to clipboard
PKGj performance
Version of firmware: 3.65 Version of PKGj: 0.37
Steps to reproduce the issue
- Start downloading any game; I've tried with a lot already.
- Game starts downloading at a very fluctuating and low speed, 60 KB/s, 100 KB/s, 60, 500, then 200 again and so on. I noticed the vales it shows are always the same, for example when it's ~500 it always shows 511 KB/s, and the same goes for 192, 205, 256 and other values. Occasionally the numbers vary by 1, for example 205 --> 206.
- A few minutes later it starts alternating between any normal value and 0 KB/s and the download progress usually gets stuck.
- Stays like that for some minutes, in which I am unable to cancel the download, and then it gives an error code (at the moment it's not showing so I can't post the code, but as soon as I get it I will).
- None of the things above prevented me from restarting and restart the download from where it left, but it usually starts with the same cycle at some point, and even if the download eventually finishes the process is still a pain in the *ss.
Expected result: I expected pkgj to work pretty much as its PC counterpart, NPS, as I thought they worked in a quite similar way (high speed download and very stable)... Obtained result: ...but its download speed is nowhere near to NPS' (~160 KB/s vs. ~1.5 MB/s, which is my service's limit) and it's also not very stable.
I'm not sure which of the things I mentioned are an actual issue and which are just how the homebrew works for the time being, but I thought I would post it all in a single issue anyway.
[please make sure to add all possible details, like the title id (the 9-chars string in the left column) of the game you are talking about]
In my experience it varies. If the game has A small number of large files on its instalation package, it goes fast (tops around 1MB/s due to Vita hardware limitation). On the other hand, if it has many small files, it will go slower and sometimes go to 0B/s. This happens because Vita filesystem is slow to create files, thus when creating a new file the download will stop for a moment.
Em sex, 12 de out de 2018 às 18:35, Costiny [email protected] escreveu:
Version of firmware: 3.65 Version of PKGj: 0.37 Steps to reproduce the issue
- Start downloading any game; I've tried with a lot already.
- Game starts downloading at a very fluctuating and low speed, 60 KB/s, 100 KB/s, 60, 500, then 200 again and so on. I noticed the vales it shows are always the same, for example when it's ~500 it always shows 511 KB/s, and the same goes for 192, 205, 256 and other values. Occasionally the numbers vary by 1, for example 205 --> 206.
- A few minutes later it starts alternating between any normal value and 0 KB/s and the download progress usually gets stuck.
- Stays like that for some minutes, in which I am unable to cancel the download, and then it gives an error code (at the moment it's not showing so I can't post the code, but as soon as I get it I will).
- None of the things above prevented me from restarting and restart the download from where it left, but it usually starts with the same cycle at some point, and even if the download eventually finishes the process is still a pain in the *ss.
Expected result: I expected pkgj to work pretty much as its PC counterpart, NPS, as I thought they worked in a quite similar way (high speed download and very stable)... Obtained result: ...but its download speed is nowhere near to NPS' (~160 KB/s vs. ~1.5 MB/s, which is my service's limit) and it's also not very stable.
I'm not sure which of the things I mentioned are an actual issue and which are just how the homebrew works for the time being, but I thought I would post it all in a single issue anyway.
[please make sure to add all possible details, like the title id (the 9-chars string in the left column) of the game you are talking about]
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/blastrock/pkgj/issues/213, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYSG_hoOJiBnzxC1osVRJMIk2anEdAGks5ukQszgaJpZM4XaOeQ .
--
[]s Arlindo Pereira
About the fluctuation and the stalling downloads, this happens on games that have lots of folders (not files). As I explained in #112, each folder take around 250ms to create, so if a game contains 4 folders in a row, you will download 0B in a whole second, hence the drop.
About the fact that the speed values are often the same, it's because of the calculation. It can be improved I think.
About the fact that you can't cancel a download instantly when it's blocked at 0B/s, it's fixed in the next version.
I will try to workaround this folder issue, but I couldn't find something satisfying enough yet.
Thank you very much, completely forgot I opened this issue.