Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Wed Aug 16, 2023 14:24 Post subject:
ho1Aetoo wrote:
if that's not enough then
don't do it on a fucking router with 256mb ram and a 800Mhz processor - that's insane!
No, it's very sane! I just don't understand GitHub.
I am merely downloading files. I question the "git clone" command is abusing memory, very likely due to the dictionary size of data compression. If no compression was used and without packaging and without protocol encryption, "256mb ram and a 800Mhz processor" should do it. If it was just simple FTP or SCP files transfer...
I had no problem copying the 4G dd-wrt-master.zip from my Windows PC to Asus RT-N18U via ksmbd. But downloading the 4G file from GitHub via HTTPS was also not working well. I would blame un-necessary protocol encryption for wasting memory and bandwidth.
And remember my complaint about searching DD-WRT's source codes via GitHub website?
Will try your suggestions anyway. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Posted: Wed Aug 16, 2023 14:46 Post subject:
Yes, I still have no clue why searching the code functionality on GitHub went screwy - whether it was a GitHub change or repository change put in place by BS. There have been several times that the mirror interface was -NOT- in sync with SVN, and SVN is still the preferred way to retrieve full repository code and Linux is still the preferred platform for doing anything with it. I must agree with @ho1Aetoo, trying to use your router as a desktop PC or server to retrieve the GitHub mirror is an exercise in futility. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Thu Aug 17, 2023 12:33 Post subject:
"depth=1" took me further, but connection then died. I had similar connection problem when downloading dd-wrt-master.zip using Window$.
OTOH, I am having stuttering issues when watching YouTube video with DD-WRT build 53323! Never had this problem in previous builds. Not sure whether it's YouTube's new behavior.
Maybe I should rollback DD-WRT to build 53045 and try git clone again?
Code:
Cloning into 'dd-wrt'...
remote: Enumerating objects: 614645, done.
remote: Counting objects: 100% (614645/614645), done.
remote: Compressing objects: 100% (453137/453137), done.
Receiving objects: 87% (539154/614645), 1.16 GiB | 1.70 MiB/s
remote: Total 614645 (delta 271185), reused 410859 (delta 147403), pack-reused 0
Receiving objects: 100% (614645/614645), 1.66 GiB | 1.61 MiB/s, done.
Resolving deltas: 100% (271185/271185), done.185)
error: rev-list died of signal 11
fatal: remote did not send all necessary objects
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Thu Aug 17, 2023 12:34 Post subject:
kernel-panic69 wrote:
I must agree with @ho1Aetoo, trying to use your router as a desktop PC or server to retrieve the GitHub mirror is an exercise in futility.
ho1Aetoo wrote:
On my PC it works fine and an update of the GIT takes a few seconds. (32GB RAM 4x 4,1GHz and a fast SSD)
Is the rent for your penthouse so expensive that you can't afford a decent PC?
I do have a more powerful PC than the Asus RT-N18U. I understand that I am asking too much from a slow router. Thank you both. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Fri Aug 18, 2023 10:59 Post subject:
mwchang wrote:
"depth=1" took me further, but connection then died. I had similar connection problem when downloading dd-wrt-master.zip using Window$.
OTOH, I am having stuttering issues when watching YouTube video with DD-WRT build 53323! Never had this problem in previous builds. Not sure whether it's YouTube's new behavior.
Maybe I should rollback DD-WRT to build 53045 and try git clone again?
I fell back to build 52569 and finished depth=1 pull. Now trying 'git fetch --unshallow'.
Update:
Possibly unrelated to DD-WRT builds. Flashed back to 53323 again!
Update 2:
Well, it went further this time with more git config options: