[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-04-17 Thread Isan
And 
trickle -s -u 100 wget -c 
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-beta-alternate-i386.iso
I got 10.00K/s
trickle -s -u 3 wget -c 
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-beta-alternate-i386.iso
I got 10.00K/s

so you must specify your download speed even you are limiting upload
speed too

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-04-17 Thread Isan
But: 
trickle -u 100 wget -c 
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-beta-alternate-i386.iso
I got 10.00K/s
trickle -u 3 wget -c 
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-beta-alternate-i386.iso
I got 10.00K/s

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-04-17 Thread Isan
in Hardy clean install:
 trickle -s -d 15 wget -c 
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-beta-alternate-i386.iso
I got 15.00K/s
 trickle -s -u 5 -d 15 wget -c 
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-beta-alternate-i386.iso
I got 15.00K/s
 trickle -u 5 -d 15 wget -c 
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-beta-alternate-i386.iso
I got 15.00K/s

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-04-16 Thread Fernando Pereira
Let me try to get the ideas strait.

There are two optional parameters that I/we are using here to formulate this 
bug report.
* 1st  -d rate  Limit the download bandwidth consumption to rate KB/s;
* 2nd -u rate  Limit the upload bandwidth consumption to rate KiB/s;

I guess everyone with some network experience knows that if the upload speed is 
artificially reduce, the download speed WILL be affected, correct?
There is a approximated value of 1 for each 80/100 bytes reason. So to achieve 
1024KiB/s (8000 kb[its]/s) of bandwidth one needs something close to 10/13KiB/s 
(80/104 kb/s) of upload bandwidth.

Now if we all are talking the same language, I'll get back to this bug.

I repeat, in my case I used to need to set a limit on my upload bandwidth when 
doing downloads, due to our VoIP system.
So, when I would use the network I would launch that specific program with 
trickle (in this example wget). I would then pass the -u (upload throttle) to 
trickle so that it would only allow a maximum of 8 KiB/s (64kb/s) of our 
400kb/s (notice the kilobits, the uplink speed from our ADSL).

BUT as the original OP (me) post, that would lock trickle on 10 KiB/s on the 
download speed, when it should in fact be much higher (around 400/600 KiB/S).
Then, with extra comments on this ticket, we found out that trickle code would 
AUTO set that 10KiB/s limit if not used the -d (download throttle). That doesnt 
make much sense, and so it is a BUG.
I know i could have just used the -d parameter, but that wasnt what I was 
doing, and the program should allow users to use it as they see fit.

In the meantime I've discovered wondershapper that does exactly what I
want, but doenst allow me to select the network, as I would do with
trickle (by app) or trickled (daemon by protocol, on .conf)

** Changed in: trickle (Ubuntu)
   Status: Invalid => New

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-04-15 Thread Johnathon
>From my testing, tricked will automatically go into standalone mode, if
some case is met (I'm not sure what that case is). If it is already in
standalone mode, then telling it to go into it doesn't matter... and I
have duplicated this bug here, limiting upload ALSO appears to limit
download. I do not believe that this should be invalid, but will not
change it: Isan can you check again, preferably on a completely clean
install (nothing but trickle added).

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-04-15 Thread Isan
I tested -s changes something so it is again invalid, sorry.

** Changed in: trickle (Ubuntu)
   Status: New => Invalid

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-03-27 Thread Fernando Pereira
Just tested...
it seems that using -s wont change anything.
BUT using -d parameter does affect the download speed.

So this is a bug, because not using -d, and only -u, it limits the
donwload to 10KiB/s and not the maximum of the connection.

So the orginal reports is correct.

** Description changed:

  If I set trickle to limit my upload while using it to control a download, the 
download limit will be stuck a preset value:
  ~$ trickle -u 8 wget -c 
http://neacm.fe.up.pt/pub/ubuntu-releases/gutsy/ubuntu-7.10-desktop-i386.iso
  
- this should just limit my upload to 8KB/s, but what it does is to limit 
download rate at 10KB/s no mater what the upload limit I set.
+ this should just limit my upload to 8KiB/s, but what it does is to limit 
download rate at 10KiB/s no mater what the upload limit I set.
  It could even be: 
  ~$ trickle -u 1024 wget -c 
http://neacm.fe.up.pt/pub/ubuntu-releases/gutsy/ubuntu-7.10-desktop-i386.iso 
- It would still limit my download rate by 10KB/s
+ It would still limit my download rate by 10KiB/s
+ 
+ ---
+ 
+ New information:
+ trickle -s #standalone doesnt change this;
+ trickle -u UPSPEED -d DOWNSPEED does in fact allow bigger speeds;
+ trickle -u UPSPEED_BIGGER_THEN_10KiB/s works as expected

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-03-27 Thread Fernando Pereira
** Changed in: trickle (Ubuntu)
   Status: Invalid => New

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-03-27 Thread Fernando Pereira
On Wednesday 26 March 2008 12:45:52 Isan wrote:
> Don't forget -s option for running trickle in standalone mode independent of 
> trickled.

I've tried in the past with -s and even with the daemon and the behavior was 
the same.
I'll try tomorrow again, and post back

> ** Changed in: trickle (Ubuntu)
>  Assignee: (unassigned) => Isan (45702yhfksahf)
>Status: Confirmed => Invalid

Why are you marking this as invalid after more users confirm it?
If the reason is for not have used the standalone in the reported post, you 
should at least have marked it as incomplete.

 status new

-- 
BUGabundo  :o)
(``-_-´´)   http://Ubuntu.BUGabundo.net
Linux user #443786GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net
ps. My emails tend to sound authority and aggressive. I'm sorry in advance. 
I'll try to be more assertive as time goes by...

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-03-26 Thread Isan
Don't forget -s option for running trickle in standalone mode
independent of trickled.

trickle -s -u 8 -d 1000 wget -c http://neacm.fe.up.pt/pub/ubuntu-
releases/gutsy/ubuntu-7.10-desktop-i386.iso

** Changed in: trickle (Ubuntu)
 Assignee: (unassigned) => Isan (45702yhfksahf)
   Status: Confirmed => Invalid

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-02-20 Thread Fernando Pereira
On Tuesday 19 February 2008 16:35:19 sveri wrote:
> Now nethogs shows me an upload value of ca. 6 k/s with short peaks at 12 K/s 
> measured over 1 minute

For better control over spikes, one needs to set the time parameters.


> And now comes the really weired thing, exchanging the -u and the -d option, 
> like you wrote above i get an upload value at ca. 34 K/s with peaks at 40 K/s 
> which is all my connection is able to transfer.
> 
> Maybe you can try exchanging the options and see if it does change anything.

You mean setting first the -u and then -d?


-- 
BUGabundo  :o)
(``-_-´´)   http://Ubuntu.BUGabundo.net
Linux user #443786GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net
ps. My emails tend to sound authority and aggressive. I'm sorry in advance. 
I'll try to be more assertive as time goes by...

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-02-19 Thread sveri
Hm, ok, there must be a more severe bug inside the program.

The first thing you mentioned was the fact that 
trickle -u 8 wget -c 
http://neacm.fe.up.pt/pub/ubuntu-releases/gutsy/ubuntu-7.10-desktop-i386.iso
downloads only with 10 K/s and this can be explained by looking in the code 
above.
Setting the -d  option works, it your download will be as fast as you want 
to.

So i checked out what goes on with the upload.
I used the tool you proposed, nethogs:
trickle -u 8 -d 1000 wget -c 
http://neacm.fe.up.pt/pub/ubuntu-releases/gutsy/ubuntu-7.10-desktop-i386.iso

Now nethogs shows me an upload value of ca. 6 k/s with short peaks at 12
K/s measured over 1 minute

And now comes the really weired thing, exchanging the -u and the -d option, 
like you wrote above
i get an upload value at ca. 34 K/s with peaks at 40 K/s which is all my 
connection is able to transfer.

Maybe you can try exchanging the options and see if it does change
anything.

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-02-19 Thread Fernando Pereira
well from my tests cases, even using:
trickle -d 2048 -u4 wget -c 
http://neacm.fe.up.pt/pub/ubuntu-releases/gutsy/ubuntu-7.10-desktop-i386.iso

will not limit the upload to 4KiB/s, so using -d just remove the
hardcoded limit doesnt work.

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 193195] Re: [hardy] trickle upload limit also limits wget download

2008-02-19 Thread Johnathon
** Summary changed:

- [hardy] trickle upload limit blocks wget
+ [hardy] trickle upload limit also limits wget download

-- 
[hardy] trickle upload limit also limits wget download
https://bugs.launchpad.net/bugs/193195
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs