webOS Nation Forums >  webOS developer forums >  Canuck Coding > Jason Robitaille - Unthrottle Download Manager
Jason Robitaille - Unthrottle Download Manager

  Reply
Like Tree3Likes

 
LinkBack Thread Tools Display Modes
Old 09/09/2011, 08:12 AM   #1 (permalink)
Member
 
Join Date: Jul 2009
Posts: 463
Likes Received: 24
Thanks: 41
Thanked 45 Times in 27 Posts
Default Jason Robitaille - Unthrottle Download Manager

I noticed that the above patch was updated today in Preware. What is not clear is what was updated. I had this patch installed before, but then ended up removing it since it didn't seem to help and at times might have actually slowed the download.

Jason, can u please indicate what was changed and was there a bug in the previous version? Thanks a lot for your all the great and thorough work. Thanks Diomark as well.
__________________
Sent via HP TouchPad using Forums
palmpre06062009 is offline   Reply With Quote
Thanked By: Dogg006
Old 09/09/2011, 09:07 AM   #2 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

Not a bug per say.

The original patch was made for webOS 1.3.x, I believe. It added these settings to /etc/palm/downloadManager.conf
Code:
[DownloadManager]
MaxQueueLength=128
MaxConcurrent=2
MaxRecvSpeed=-1
(-1 meaning there was no limit on download speed)

While l was looking over code in the TouchPad's rom, I noticed that within /etc/palm/luna.conf, there were its own DownloadManager settings:
Code:
[DownloadManager]
MaxQueueLength=128
MaxConcurrent=2
MaxRecvSpeed=65536
I'm not sure if that means that the luna.conf file would override the ones added to downloadManager.conf but I figured it'd make sense to update the patch to just modify the settings in luna.conf.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook

Last edited by Jason Robitaille; 09/10/2011 at 11:25 AM.
Jason Robitaille is offline   Reply With Quote
Thanked By: rrrr
Old 09/09/2011, 10:56 AM   #3 (permalink)
Member
 
Join Date: Jul 2009
Posts: 463
Likes Received: 24
Thanks: 41
Thanked 45 Times in 27 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
Not a bug per say.

The original patch was made for webOS 1.3.x, I believe. I added these settings to /etc/palm/downloadManager.conf
Code:
[DownloadManager]
MaxQueueLength=128
MaxConcurrent=2
MaxRecvSpeed=-1
(-1 meaning there was no limit on download speed)

While l was looking over code in the TouchPad's rom, I noticed that within /etc/palm/luna.conf, there were its own DownloadManager settings:
Code:
[DownloadManager]
MaxQueueLength=128
MaxConcurrent=2
MaxRecvSpeed=65536
I'm not sure if that means that the luna.conf file would override the ones added to downloadManager.conf but I figured it'd make sense to update the patch to just modify the settings in luna.conf.
Thanks a lot for very clear explanation. I am going to give it a try and see the diff from before. Thanks.
__________________
Sent via HP TouchPad using Forums
palmpre06062009 is offline   Reply With Quote
Old 09/09/2011, 12:29 PM   #4 (permalink)
Member
 
Join Date: Jul 2009
Posts: 463
Likes Received: 24
Thanks: 41
Thanked 45 Times in 27 Posts
Default

Jason, this appears to be tcp/ip window size and not speed. 64kbytes/s limitation doesn't make sense (500kbps). Can you please clarify? Thanks.
__________________
Sent via HP TouchPad using Forums
palmpre06062009 is offline   Reply With Quote
Old 09/09/2011, 01:07 PM   #5 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default

Quote:
Originally Posted by palmpre06062009 View Post
Jason, this appears to be tcp/ip window size and not speed. 64kbytes/s limitation doesn't make sense (500kbps). Can you please clarify? Thanks.
I'm just going off what we've always assumed from the previous unthrottle patch since the webOS 1.3.x days. And the result of changing it to the -1 setting has speed up download noticeably with DrPodder, Google Maps, and other apps. The patch's thread should have more info http://forums.precentral.net/webos-p...d-manager.html
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Thanked By: rrrr
Old 09/09/2011, 02:46 PM   #6 (permalink)
Member
 
Join Date: Jul 2009
Posts: 463
Likes Received: 24
Thanks: 41
Thanked 45 Times in 27 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
I'm just going off what we've always assumed from the previous unthrottle patch since the webOS 1.3.x days. And the result of changing it to the -1 setting has speed up download noticeably with DrPodder, Google Maps, and other apps. The patch's thread should have more info http://forums.precentral.net/webos-p...d-manager.html
Thanks, Jason. I have reviewed that thread and there is no clear answer. Here is some info.

http://forums.precentral.net/hp-touc...ml#post3117907

Originally Posted by palmpre06062009
I have noticed the same thing before. I removed it from my palm pre. I still have it on my TP for now. I will run the speed test to really confirm this. I saw the slowdown when one i have one transfer going on the other won't start. For example, I was downloading a podcast on video flood hd and started a browser for something else. the browser won't load anything for a while.

I ran speed tests with and without the patch. Cleared the cache between tests (with and without patch). Didn't see any noticeable diff. This was over wifi at home. The download speed was more or less around 12Mbits/sec. So not clear what the patch states that there is limitation of 64kb/s. May be patch description meant to say TCP window size of 64kbytes (65536 bytes)?

I removed the patch and did two downloads of the same podcast. One with video flood hd and other with dr podder. The file size was 472Mbytes.

Both downloaded the podcast within 6minutes with average speed of 1.4Mbytes/sec (roughly same as the speed test of 12Mbits/sec). Again I don't know where the limitation of 64kb/sec comes in.

If anyone has more clarity regarding this, that would be great. Thanks.
__________________
Sent via HP TouchPad using Forums
palmpre06062009 is offline   Reply With Quote
Old 09/09/2011, 07:09 PM   #7 (permalink)
Member
 
runner77's Avatar
 
Join Date: Jun 2009
Posts: 31
Likes Received: 2
Thanks: 8
Thanked 7 Times in 3 Posts
Default Much Faster!

All I have to say is my browsing speeds seem to be MUST FASTER on my Touchpad after installing the update today!! Thank you Jason!

Hope everyone else gets similar results.

Add: I'm now getting top ISP speeds on speedtest.net, 20/5. When I checked this last week I was only getting half.
runner77 is offline   Reply With Quote
Old 09/10/2011, 11:13 AM   #8 (permalink)
Member
 
Join Date: Oct 2009
Posts: 22
Likes Received: 0
Thanks: 11
Thanked 2 Times in 2 Posts
Default

What this patch seemed to do for me was dramatically decrease my ping times when connecting to speedtest.net; it went from 300-400ms down to 30-40ms. I was getting 20/4 before and after the patch update (in fact, for a time I was getting 12/4 after the patch, but that's unscientific; it's back up toward 20/4 now).
bjabram is offline   Reply With Quote
Old 09/10/2011, 11:22 AM   #9 (permalink)
Member
 
netwrkr9's Avatar
 
Join Date: Nov 2009
Posts: 3,132
Likes Received: 154
Thanks: 453
Thanked 495 Times in 364 Posts
Default

I too noticed a pick up in download speed after installing this patch, thanks Jason.
netwrkr9 is online now   Reply With Quote
Old 09/11/2011, 02:34 PM   #10 (permalink)
Member
 
Join Date: Sep 2011
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default Speed is still low

I tested the download speed in speedtest.net both prior and after installing the patch. The speed has increased from 1.5 Mbps to 1.9Mbps. Please help. The other computers at my home connect at 25Mbps...

Any reason why it is that slow?
rvsankar is offline   Reply With Quote
Old 09/11/2011, 02:55 PM   #11 (permalink)
Member
 
Join Date: Mar 2005
Posts: 885
Likes Received: 73
Thanks: 13
Thanked 66 Times in 56 Posts
Default

Quote:
Originally Posted by rvsankar View Post
I tested the download speed in speedtest.net both prior and after installing the patch. The speed has increased from 1.5 Mbps to 1.9Mbps. Please help. The other computers at my home connect at 25Mbps...

Any reason why it is that slow?
Make sure your computers and webOS devices are connecting to the SAME speedtest.net server. I thought I had huge slowdown and it was just that my computers were connecting to a much faster server location.
__________________
Original Palm Pilot+modem > Kyocera QCP 6035 > Kyocera 7135 > Treo 650 > HTC TyTN (ugh) > Palm Centro > Nokia E75 > Nokia E72 + iPad2 > HP Veer + TouchPad + UK Pre3 + AT&T Pre3 > Currently using iPad2 + ATT Pre3 + Nokia N9
Mize is offline   Reply With Quote
Old 09/11/2011, 03:05 PM   #12 (permalink)
Member
 
Xanadu73's Avatar
 
Join Date: Nov 2009
Location: Hour West of Philly, USA
Posts: 1,571
Likes Received: 4
Thanks: 3
Thanked 215 Times in 161 Posts
Default

Quote:
Originally Posted by rvsankar View Post
I tested the download speed in speedtest.net both prior and after installing the patch. The speed has increased from 1.5 Mbps to 1.9Mbps. Please help. The other computers at my home connect at 25Mbps...

Any reason why it is that slow?
Keep in mind the Pre's WiFi NIC is only a "b". Most modern machines have "g" cards in them. The speeds you posted directly support that.


M.
Xanadu73 is offline   Reply With Quote
Old 09/11/2011, 03:53 PM   #13 (permalink)
Member
 
Join Date: Sep 2011
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hmm..would that mean that pre cannot connect at high speed?
rvsankar is offline   Reply With Quote
Old 09/11/2011, 04:37 PM   #14 (permalink)
Member
 
Xanadu73's Avatar
 
Join Date: Nov 2009
Location: Hour West of Philly, USA
Posts: 1,571
Likes Received: 4
Thanks: 3
Thanked 215 Times in 161 Posts
Default

Quote:
Originally Posted by rvsankar View Post
hmm..would that mean that pre cannot connect at high speed?

For the Pre, that is High Speed. Even if someone at Palm had been whapped with a Clue Stick and put a "g" NIC in these phones, you still wouldn't see the speeds you're asking about. The rest of the hardware is too damn slow, OC'ed or not.


M.
Xanadu73 is offline   Reply With Quote
Old 09/11/2011, 05:46 PM   #15 (permalink)
Member
 
Join Date: Jun 2006
Posts: 122
Likes Received: 19
Thanks: 3
Thanked 20 Times in 18 Posts
Default

Quote:
Originally Posted by Xanadu73 View Post
Keep in mind the Pre's WiFi NIC is only a "b". Most modern machines have "g" cards in them. The speeds you posted directly support that.
I think you meant "g" where you wrote "b", and "n" instead of "g"?

My Pre definitely uses 802.11g (I just double-checked my router connection to be sure), while newer devices like the TouchPad generally support 802.11n.

I can't remember the last time I saw an 802.11b-only device released - it's been years, at least...

--John
jbennett is offline   Reply With Quote
Old 09/11/2011, 06:33 PM   #16 (permalink)
Member
 
Join Date: Sep 2011
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had called HP services earlier and they just called me back. The issue was with my router netgear wnr834bv2. It was set at 270mpbs which means draft n spec. They made me change it to 54mpbs which supports b &g. Now my TP connects @ at 23mpbs...Not sure if this is the right solution. Any ideas?
rvsankar is offline   Reply With Quote
Old 09/11/2011, 06:41 PM   #17 (permalink)
Member
 
giggles's Avatar
 
Join Date: Apr 2010
Posts: 677
Likes Received: 17
Thanks: 45
Thanked 51 Times in 42 Posts
Default

Quote:
Originally Posted by rvsankar View Post
I had called HP services earlier and they just called me back. The issue was with my router netgear wnr834bv2. It was set at 270mpbs which means draft n spec. They made me change it to 54mpbs which supports b &g. Now my TP connects @ at 23mpbs...Not sure if this is the right solution. Any ideas?

They were correct perfect solution. lol
giggles is offline   Reply With Quote
Old 09/12/2011, 12:39 AM   #18 (permalink)
Member
 
Join Date: Jul 2009
Posts: 463
Likes Received: 24
Thanks: 41
Thanked 45 Times in 27 Posts
Default

Quote:
Originally Posted by palmpre06062009 View Post
I noticed that the above patch was updated today in Preware. What is not clear is what was updated. I had this patch installed before, but then ended up removing it since it didn't seem to help and at times might have actually slowed the download.

Jason, can u please indicate what was changed and was there a bug in the previous version? Thanks a lot for your all the great and thorough work. Thanks Diomark as well.
jason, what is updated in ver .26? thanks
__________________
Sent via HP TouchPad using Forums
palmpre06062009 is offline   Reply With Quote
Liked by capt4chris likes this.
Old 09/12/2011, 04:29 PM   #19 (permalink)
Pix
Member
 
Join Date: Sep 2011
Posts: 16
Likes Received: 0
Thanks: 7
Thanked 1 Time in 1 Post
Default

i cannot install it on my pre3... i tried, but the installation fail, and in the ipkg log, it say:

-1: Unable to run command: IPKG_OFFLINE_ROOT=/media/cryptofs/apps /bin/sh /media/cryptofs/apps/usr/lib/ipkg/info/org.webosinternals.patches.misc-unthrottle-download-manager.postinst 2>&1
1 out of 1 hunk FAILED -- saving rejects to file etc/palm/luna.conf.rej
Pix is offline   Reply With Quote
Old 09/12/2011, 05:46 PM   #20 (permalink)
Member
 
Join Date: Jul 2009
Posts: 463
Likes Received: 24
Thanks: 41
Thanked 45 Times in 27 Posts
Default

Quote:
Originally Posted by palmpre06062009 View Post
jason, what is updated in ver .26? thanks
Any info? Just trying to better understand the info related to patch. Thanks.
__________________
Sent via HP TouchPad using Forums
palmpre06062009 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0