Limit upload bandwidth speed

I'd like to limit my network traffic when uploading large files to host sites. Either by limiting my total upload speed, or preferably, by limiting the upload speed allowed by specific programs. In this case I would like to limit the upload speed of firefox to prevent it hogging all my bandwidth when uploading files to MegaUpload or Rapidshare.
What is the best way to do this using Arch?
I don't mind using config files and scripts if that's the way to go. But I'm also interested in any applications that people can recommend from the repos or AUR. A firefox extension might be even better if anyone knows of one to suit this situation. Something that would give me the ability to adjust upload/download speeds in a similar manner to when using a bittorrent client would be perfect. Kinda like this extension called Firefox Throttle (which is not available for linux):-
https://addons.mozilla.org/en-US/firefox/addon/5917
Last edited by Nixie (2009-06-22 17:35:28)

It installed in firefox with no problems, that's a nice trick for trying out older extensions. But no bandwidth limits could be set & it's display did not show active upload/download. It basically didn't work at all.
Probably depended on windows OS to gather the appropriate info.

Similar Messages

  • Rate limit the internet Bandwidth/Speed

    Hello ,
    In ASA 5510.
    How I can limit the users in (VLAN 20) to use the internet with a limited Bandwidth/speed with 3 mbps upload and 5 mbps download?
    In case the outside interface (Native vlan) which is connected to the ISP and have a bandwidth/speed of 30 mbps upload and 50 mbps download.
    Thanks in advanced,
    MKD

    This worked well for limiting download but doesn't seem to put a limit on the upload.  Am I doing something wrong?
    I was just using speedtest.net to verify my upload and download are 10 Mbps.  The test result is 9.40 Mbps down and 17.22 Mbps upload.  I've retested a few times with the same result.
    If I remove the service policy I get 55-60 Mbps up and down so it seems like the upload limit is doing something.
    I do get matched packets for input and output though,
    Interface Public_Wireless:
      Service-policy: SHAPE-PUBLIC-WIRELESS
        Class-map: LimitPublicWireless
          Output police Interface Public_Wireless:
            cir 10000000 bps, bc 312500 bytes
            conformed 160908 packets, 180033824 bytes; actions:  transmit
            exceeded 4952 packets, 6813748 bytes; actions:  drop
            conformed 1502312 bps, exceed 56968 bps
          Input police Interface Public_Wireless:
            cir 10000000 bps, bc 312500 bytes
            conformed 103702 packets, 26569368 bytes; actions:  transmit
            exceeded 1193 packets, 1561054 bytes; actions:  drop
            conformed 221728 bps, exceed 13048 bps
    Here's my config,
    ! all wireless ip traffic
    access-list PublicWireless extended permit ip 10.0.0.0 255.255.248.0 any
    access-list PublicWireless extended permit ip any 10.0.0.0 255.255.248.0
    class-map LimitPublicWireless
    match access-list PublicWireless
    policy-map SHAPE-PUBLIC-WIRELESS
    class LimitPublicWireless
      ! 10Mbps limits
      police output 10000000
      police input   10000000
    ! What interface it is sourcing from
    service-policy SHAPE-PUBLIC-WIRELESS interface Public_Wireless

  • Dropbox uploading/syncing speeds are extremely slow

    I've noticed that when I am in Windows my Dropbox uploading speeds are relatively fast but when I am using Arch Linux it uploads at a crawl. When I initially start the program it jumps up to a fast rate and then almost immediately starts to slide down to about 20 kbs.
    I looked at my Dropbox settings and I made sure nothing is throttled including the download speeds.  Does this have something to do with my specific network configuration in Arch Linux? Its definitely not my ISP since in Windows using the same connection Dropbox is really fast.

    I could only find this on the internet, besides that I am out of ideas:
    Preferences > Network > Bandwidth > Change Settings. Once there, change your Upload rate to "Don't limit", or if you're familiar with your network's upload bandwidth and want to exercise a little more control, pick an upload limit that you're comfortable with in the Limit to field.
    Maybe it is related to your network configuration. Dropbox is working fine here.

  • Bandwidth/speed limiter java

    Hi,
    I am working on a ftp application and was wondering if anyone knows a way to determine and limit the current upload speed of a connection.
    I don't know the exact code that will be helpful but some info from my app:
    Use Socket() to connect to ftp server.
    the outputstream (os) is from socket().getOutputStream();
    byte[] buf= new byte[16384]; c = is.read();
    then I upload using os.write(buf, 0, c);
    Essentially I am looking for a method to lower the upload bandwidth consumption of my program so users can browse the internet and such simutaneously. I am hoping that there might be some function in the java packages made for this or a small method that doesn't have to doesn't hog much cpu resources. Any help would be appreciated. Thanks

    ai_77 wrote:
    Hi, Can anyone suggest a good method for determining the current upload speed used by my program. My current method basically adds the amount written after each successful os.write(x,x,x) to a seperate variable in a seperate speedWorker thread, which then each second(I tried variations as well) displays that amount and resets the count. The problem is that this has been quite inaccurate for me, reporting anywhere from 50-70% off from what I know the speed should be. It may be important to note that I have several threads and connections doing the uploading simultaneously and one speedWorker.
    P.S: ejp: I tried using the set Socket.setSendBufferSize() to various values ranging from 1- 65000 and noticed no difference in the speed. I checked if it Make it smaller like 512 or 256(Something smaller than the bytes being written). Anyways you could use the Thread.sleep(Long time) method but it should work the way ejp said. I dont know any other way of getting the download speed but if I were you I would add the number of bytes being written in 1 second and divide by the seconds. For example Download speed at the moment= #of bytes per 'x' Seconds divided by 'x' Seconds. Should work though becuase it gives you an average of bytes written per second.

  • Detecting the optimal upload bandwidth of cam video stream (Dynamic Bandwidth Detection Approach)

    Hello folks,
    i am discovering the wide world of adobe technologies and i am impressed how seamless all is working.
    Anyway i have a tricky problem, at least it seems tricky to me. Here we go: i build up a client (camera+audio conferencing) streaming its camera right to my server (red5). Every client can see the camera streams of each connected particpant. So far so good all is working as expected, we can call this a conferencing solution. Now i would like to improve that by implementing some kind of automatic bandwidth detection in order to adjust the video resolution depending on the current bandwidth "situation" of every participant. Some might have stronger upload bandwidth, some might have a bad or even too low upload bandwidth to even up-stream their video. My client should be able to handle them individually. Those clients who have a good upload bandwidth should be able to up-stream their video in the most high resolution as possible regarding their bandwidth. For those clients having a bad upload connection i assume to reduce their video resolution automatically. The aim behind this automatic bandwidth detection should be to give the most priority to the audio streaming by taking care to not overhelming the bandwidth with heavy camera usage.
    I know there is upload speed tests (onBWCheck, etc), but i assume this test is annoying for the participants as well as they are not reflecting dynamic changes.
    So lets say i start with a default camera resolution of 640 x 480 px for every client. What i need to know is in general two informtion in order to judge about the current bandwidth is enough for the currently up-streamed camera video:
    1) the actual bandwidth used for the up-streaming camera video (based on specific resolution, quality and fps) which is of course dynamicly changing
    2) the max. needed bandwidth which is necessary to perfectly up-stream the camera video regarding the specific resolution, quality and fps of the camera settings
    So here is my current solutions:
    1) the actual bandwidth: every second the currentBytesPerSecond() method of the NetStreamInfo object is of my uploading stream is called to get the currently used bandwidth speed (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStreamInfo .html#currentBytesPerSecond). The documentation says about the currentBytesPerSecond() method: Specifies the rate at which the NetStream buffer is filled in bytes per second. I understood from that phrase that literally this is the amount of bytes filled into the network depending on the current network situation. I tested this by using bandwidth limitation and in fact the currentBytesPerSecond() returns the dynamicly changed amount of bytes sent through the network. So thats pretty OK.
    2) the max. needed bandwidth: here i struggle. I have three principal ideas to know how much bytes/second are max. needed to up-stream the camera video to the server in a proper way:
    * either by experience, which means i manually make several tests to know the max. bytes/second needed for every possible specific resolution, quality, fps (i discovered that different cameras can even produce different results with the same camera settings!)
    * calculate the needed bytes/second (actually i use the H246 codec)
    * or finally the most crazy but maybe most proper solution: beside the up-stream to the server the client streams additionally to the same client application over the localhost network. I find this last attempt the most interesting because it gives very practicaly accurate result how much bytes must be send because almost the bandwidth of the network through the internet isnt used either. The client sends a stream to himself over the internal network IP (localhost, 127.0.0.1). To achieve this i tried to let the NetConnection being connected to localhost and null and publish the video. But the stream didnt worked. Here is my code:
              private function init():void {
                    nc = new NetConnection();
                    nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    nc.connect(null);
                    ns = new NetStream(nc);
                    ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    ns.client = {};
                    var camera:Camera = Camera.getCamera();
                    if (camera) {
                        videoDisplay.attachCamera(camera);
                    } else {
                        Alert.show("You don't seem to have a camera.");
                    ns.attachCamera(camera);
                    ns.publish("streamname");
                    mainTimer.addEventListener (TimerEvent.TIMER, onMainTimerTickHandler);
                    mainTimer.start();
                private function onMainTimerTickHandler (evt:TimerEvent): void
                    info.text += Number(ns.info.currentBytesPerSecond / 1000).toFixed(2) + " kBytes (OUT)\n";
                private function netStatusHandler(event:NetStatusEvent):void {
                    info.text += event.info.code+"\n";
    The result is a connection success, but the stream didnt send any data due to the fact that ns.info.currentBytesPerSecond returns 0. Also strange is that the NetSteam or NetConnection didn't return any error.
    So folks here i struggle and i ask does anyone out there have any hints or ideas how to solve this tricky one?
    Thanks in advance,
    Markus

    Thanks,I have read that article.  Based on that article the NetStreamInfo.maxBytesPerSecond is not an accurate measurement to base dynamic switching on. This seems to be the basis of the bitrate switching in both the longtail player, and the adobe examples that I have tried.   That article suggests using the dropped frames property, in conjunciton with bufferlength to determine if switching is neccessary.  Unfortunately I can't seem to find a player online which handles this successfully.  That being said, I can't believe I'm the only person trying to implement dynamic bitrate switching for live streams so surely there are some players out there which can do this successfully?  If anyone knows of any code available which does this successfully I would appreciate knowing where!  The examples provided by Adobe https://www.adobe.com/cfusion/entitlement/index.cfm?e=fms35 unfortunately don't work either.

  • RDP traffic and upload/download speeds?

    I would monitor your bandwidth at both edge devices.
    RDP in my experience is typically more latency sensitive than bandwidth sensitive.
    Most Internet providers will push you more bandwidth but that will not help the time it takes the data to get back and fourth.
    If you are maxing you connection out in Houston than more bandwidth may be something to consider. Also depending on the cost of the Internet service upgrade.
    You may also look into filtering unwanted traffic from the Houston office. Such as Youtube or recently I found a receptionist watching Hulu.

    I'm having a difficult time understanding how upload/download speeds factor into RDP session speed. I have a company in Houston that hosts an RDS server that has a remote app that uses a local SQL server to get data from. We have a remote office in Dubai that accesses the RDS server to use this SQL app. 
    In Houston we have 20/20 fiber. In Dubai they have 100/28 cable. The Dubai office complains about speed. The Houston office is thinking of upgrading to 40/40 connection. Will that help Dubai's user experience?
    This topic first appeared in the Spiceworks Community

  • Bandwidth speed terribly slow

    Hi folks,
    I am a novice when it comes to troubleshooting my network connection. My frustration is making me crazy, so I will try to provide as much data as possible to help out.
    Up until yesterday I was getting good bandwidth speed tethered by ethernet from comcast modem to belkin wireless N routher via comcast @
    DL Speed: 29362 kbps (3670.3 KB/sec transfer rate)
    UL Speed: 2677 kbps (334.6 KB/sec transfer rate)
    today:
    Download Speed: 596 kbps (74.5 KB/sec transfer rate)
    Upload Speed: 2523 kbps (315.4 KB/sec transfer rate)
    March 26, 2010 9:50:40 AM PDT
    So, I was using Chrome, was adding extensions and noticed the speed issue shortly afterwards. I got rid of the extension that I had added and still have the same problem.
    Well, after looking through this forum, I tried to run ethernet straight from the comcast modem to the mini. No luck in proving the router had anything to do with it.
    I am in a bind. What other data should I provide to any of you to figure out the problem?
    Thanks in advance,
    Kevin

    Wow, thanks for the timely responses. Being new here I was waiting to get pummeled with newB jokes and such... LOL
    Anyways, I did take a deep breath [thanks] and got online with Comcast support. They did a diagnostic, and reset the connection from their end. Second, I did the reset of the whole system.
    Turn everything off
    Disconnect power from router
    Wait 15 seconds [which felt like an hour and half]
    Set everything back up
    Start up computer
    BAM! I am up and running again. My browser on my phone was faster than my Mac.
    Thanks again for the help.

  • File Sync pegs upload bandwidth constantly

    I just installed the CCD today.  It appeared to have worked at first.  It seemed to upload most of my files although there were 2 (both my CR2 files) that had an exclamation point next to them.  Didn't think anything of it.  Later in the day as I am surfing I noticed that my internet connection was super slow.  No matter what I did (reboot entire network/computers) nothing seemed to help.  I then called my internet provider and had them open a ticket and see if they can find the problem.  I got a call back from them a couple hours later and they said that my upload bandwidth is pegged at 100%.  This made me think that it had something to do with CC.  I then pulled up my task manager and noticed that coresync.exe is running constant and utilizing my entire upload bandwidth.  I am unable to get this to stop with out uninstalling and reinstalling CCD (rebooting inbetween).  BUT once I reinstall and tell it to sync it does not appear to be syncing AND it pegs my upload again.  Also something weird when I started it for the first time, it said that I had another CC Folder from a different Adobe ID on the computer.  It asked if I wanted to delete or merge with the new one.  My ID did not change.  I don't know why it said that. 
    I will say that I only have about 25 photos in the folder.  They are small.  Mostly jpg's and a couple CR2's and PSD's so I am not even close to any limit.  I am running Windows 8 64bit on my laptop. 
    Any help would be appreciated.

    For those that may have the same issue, I have talked with support about this.  Apparently this will be fixed in the full version when it is released soon.  The workaround is to only open the CCD when you want to sync and then shut the CCD down. 

  • Is possible to limit sharing bandwidth of peers in  Netgroup   ?

    Hi everyone,
    I am creating an audio-video conference tool using flex and FMS 3.5. I am using Netgroupfor publishing audio-video.
    Issue is that each peer share its bandwidth. I set Netstream.multicastPushNeighborLimit = 0  but peers still share there bandwidth. Is it possible to limit sharing bandwidth of peers in Netgroup? if yes then How? please reply.
    Thank you.

    Thanks Michael,
    I found one more issue with P2P. There is a delay of 4-5 second in live streaming.
    Can u have any solution how to remove this delay?
    multicastPushNeighborLimit
    multicastWindowDuration
    multicastRelayMarginDuration
    multicastAvailabilityUpdatePeriod
    multicastFetchPeriod
    multicastAvailabilitySendToAll
    Can these properties help if yes than  how can I use these properties to remove delay.
    Thank You

  • Photostream uses all my upload bandwidth and i have no photo.

    Hello, well, i came back home today and noticed that something was using all my upload bandwidth. I closed all the apps and it was still being used. So i opened Activity Monitor and had no idea about what was using all that bandwidth. I just noticed few apps using CPU. I don't know why but i tried to force quit Photostream and it freed my UP bandwidth. I rebooted my MBP and i immediatelly saw about 20kb/s BW usage without any app started. So i checked iCloud preferences and disabled Photo Stream and the BW usage dropped down to 1-2kb/s.
    But why is that? I mean, i had no photo streamed. Aperture and iPhoto had Photostream with 0 photos inside and it was disabled on both. iPhone too. So why if there was no photos to stream it was using my upload bandwidth?

    No.
    Sorry.
    You should keep everything on your computer and always maintain a backup copy.

  • How to limit the bandwidth on another computer

    Hi, I have a wrt54g router and I'm sharing my DSL connection wirelessly with someone's else computer in my basement. When he is on my network my download rate is very slow, like around 10kB/s (my total download bandwidth is 1.5 MB/s)... but when he is not connected, I can download about 70 kB/s. I think it is slow because he is using up a lot of bandwidth so I was wondering if there's is a way to set the router to limit his bandwidth to a certain amount.  I have a Duron 750 processor. Thanks. 

    I think you have the same problem with this thread.. check this .
    MyPOV
    Yesterday is history. Tomorrow is mystery. Today is a gift.

  • Rate limit high bandwidth application

    I have a 10mb line from a site office to my HQ.
    there is one user in the HQ office that is running some high bandwidth application, taking up 50% of my total bandwith.
    its some video monitoring system.
    i am using a C1841 router.
    how do i limit the bandwidth the user can occupy ?
    SrcIf         SrcIPaddress    DstIf         DstIPaddress    Pr SrcP DstP Bytes
    Fa0/0         10.200.2.181    Tu1002        10.200.90.158   06 022A CC9F    46M
    Fa0/0         10.200.2.181    Tu1002        10.200.90.158   06 022A CCE7    32M
    Fa0/0         10.200.2.181    Tu1002        10.200.90.158   06 022A CD01    25M
    Fa0/0         10.200.2.181    Tu1002        10.200.90.158   06 022A CC9C    21M
    Fa0/0         10.200.2.181    Tu1002        10.200.90.158   06 022A CE2B  9478K

    i have enable nbar on the router.
    what i can see that all are gre traffic.
     FastEthernet0/1
                                Input                    Output
       Protocol                 5min Bit Rate (bps)      5min Bit Rate (bps)
       gre                      223000                   288000
       bgp                      0                        0
       ntp                      0                        0
       bittorrent               0                        0
       citrix                   0                        0
       cuseeme                  0                        0
       custom-01                0                        0
       custom-02                0                        0
       custom-03                0                        0
       custom-04                0                        0
       unknown                  0                        0
       Total                    223000                   288000

  • How to globally limit the bandwidth of FMS 3.5

    Hi all,
    Can you give me a hint on how to solve this or confirm me the following ?
        Is it possible to limit globally the bandwidth usage of FMS 3.5 ?
    I don't want FMS  to use all the bandwidth available via our ISP.
    I want my coworkers and other servers to be able to continue using Internet while sending/receiving data from/to FMS
    I know it is possible to limit various bandwidths per Applications, but it seems there is no easy way - using the xml config files - to globally limit the server bandwidth.Ok I could compute a limit per app, but it is not a long terme solution to modify all the config files each time a new applications is to be installed.
    So I think it is not possible to easily limit globally the bandwidth of FMS.
    Do you agree with me ?
    If not, how did you manage this : do you have an example, some code ?
    Thanks for your answers
    Fred

    Thanks for the try, though I'd hope you aimed at a another solution
    I think your proposition is not possible this way, because:
    (It is for streaming only )
    1) say we have a BW of 100 [Mb/s] available for this FMS.
    2) the individual bw needed by the media files (indbw) within an application ranges from 200 [kb/s] to 2000[kb/s] (some files are audio, others medium quality video, some good quality video)
    3) the BandwidthCap (in application.xml) is  per connection within the application. (to simplify the talk we choose a BandwidthCap = indbw )
    4) the MaxConnections (in vhost.xml) is per vhost
    The question is "which indbw one chooses to divide the available 100 [Mb/s] BW" : ( MaxConnections = BW divided by BandwidthCap )
    Two possibilities:
    A) Let's take audio only indbw, that's 200 [kb/s], then FMS can serve 500 connections
    B) Let's take good quality vid indbw, that's 20000 [kb/s], then FMS would be limited to 50 connections.
    Both ways are not good :  in A) we risk jamming the internet link if too many of the connections are in fact streaming video, in B) we can not serve enough people and will likely waste some BW sinc not all clients will stream good quality video.
    Does anyone has another hint about " how to globally limiting the bandwidth of Flash Media Server 3.5" ?

  • UC 540 Bandwidth Speed Trouble and MTU settings

    I have a UC540 that is having a bandwidth problem. When I device is connected directly to the cable modem we see around 30Mbps. When the cable modem is plugged into the wan interface on the UC540 and then a computer is plugged into one of the lan switch ports we are seeing an average of 15Mbps. So it seems I am losing half of my internet speed through the UC 540. I have tried disabling the firewall and they on average only nets a 3Mbps gain. Cisco SMB support suggested adjusting the MTU setting lower but could not instruct me how to do so. I need help changing the MTU setting on the UC 540 and also would open to suggestions as to what is causing me to lose 15Mbps of bandwidth speed through the UC 540.

    IOS Version 15.0(1)XA2. The wan is a cablevision cable modem internet connection with a dynamic ip address. The internal lan is dhcp and has a voice and data vlan. Nothing fancy much beyond that.

  • Do the sub-interface of ASA firewall has limit of bandwidth

    do the sub-interface of ASA firewall has limit of bandwidth? or how does the bandwidth of the physical interface divided among the sub-interface? is there a cisco documentation url link that explains this?

    Nakayama-san,
    The configuration recommendation to limit the traffic entering the router was intended for legacy (i.e. non-ISR routers). Since you are using a 2811, I would recommend that you test WAAS without these limitations configured.
    Thanks,
    Zach

Maybe you are looking for