Questions tagged [bandwidth]

Amount of data that can be transferred in a given unit of time.

Network bandwidth capacity

Bandwidth sometimes defines the net bit rate (aka. peak bit rate, information rate or physical layer useful bit rate), channel capacity, or the maximum throughput of a logical or physical communication path in a digital communication system. For example, bandwidth tests measure the maximum throughput of a computer network. The reason for this usage is that according to Hartley's law, the maximum data rate of a physical communication link is proportional to its bandwidth in hertz, which is sometimes called frequency bandwidth, spectral bandwidth, RF bandwidth, signal bandwidth or analog bandwidth.

Network bandwidth consumption

Bandwidth in bit/s may also refer to consumed bandwidth, corresponding to achieved throughput or goodput, i.e., the average rate of successful data transfer through a communication path. This sense applies to concepts and technologies such as bandwidth shaping, bandwidth management, bandwidth throttling, bandwidth cap, bandwidth allocation (for example bandwidth allocation protocol and dynamic bandwidth allocation), etc. A bit stream's bandwidth is proportional to the average consumed signal bandwidth in Hertz (the average spectral bandwidth of the analog signal representing the bit stream) during a studied time interval.

Channel bandwidth may be confused with data throughput. A channel with x bps may not necessarily transmit data at x rate, since protocols, encryption, and other factors can add appreciable overhead. For instance, a lot of internet traffic uses the transmission control protocol (TCP) which requires a three-way handshake for each transaction, which, though in many modern implementations is efficient, does add significant overhead compared to simpler protocols. In general, for any effective digital communication, a framing protocol is needed; overhead and effective throughput depends on implementation. Actual throughput is less than or equal to the actual channel capacity plus implementation overhead.

1021 questions
9
votes
2 answers

How to monitor bandwidth consumption of a user in PHP

Ok I know this is a weird problem and may not be possible, so ideas would be appreciated. Anyways, I want to find out how much bandwidth I am giving to each user. I identify a user when he logins to the website. So basically for every request, I…
Ahmed-Anas
  • 5,471
  • 9
  • 50
  • 72
9
votes
5 answers

Programmatic resource monitoring per process in Linux

I want to know if there is an efficient solution to monitor a process resource consumption (cpu, memory, network bandwidth) in Linux. I want to write a daemon in C++ that does this monitoring for some given PIDs. From what I know, the classic…
tuxx
  • 93
  • 1
  • 4
9
votes
1 answer

Check Heroku incoming and outgoing traffic

Is there any way to check how many gigabytes of traffic an heroku application has consumed?
vascop
  • 4,972
  • 4
  • 37
  • 50
9
votes
4 answers

Do certain characters take more bytes than others?

I'm not very experienced with lower level things such as howmany bytes a character is. I tried finding out if one character equals one byte, but without success. I need to set a delimiter used for socket connections between a server and clients.…
Tom
  • 8,536
  • 31
  • 133
  • 232
8
votes
5 answers

How to set bandwidth on Mininet custom topology?

I want to set bandwidth on Mininet custom topology. The python code is: #!/usr/bin/python from mininet.topo import Topo from mininet.net import Mininet from mininet.node import CPULimitedHost from mininet.link import TCLink from mininet.util import…
NWOWN
  • 399
  • 1
  • 4
  • 17
8
votes
3 answers

How to increase network bandwidth of AWS EC2 instance?

We hosted a site in AWS EC2 of type c4.8xlarge. It is a fairly large system with lot of memory and compute resources. Thousands of users tried to access the system during a 2 hour timeframe this weekend. While it did not crash, it slowed down quite…
Srini K
  • 3,315
  • 10
  • 37
  • 47
8
votes
2 answers

Measuring the bandwidth of multi-threaded application

What is the easiest and most effective way to measure the bandwidth that my application (multi-threaded, written with OpenMP) is using? I ran STREAM to get the max. sustainable bandwidth, and I'd like now to know if I am saturating the whole…
a3mlord
  • 1,060
  • 6
  • 16
8
votes
3 answers

CSS media queries: one file vs. separate files and impact on loading speed

For a site I currently use style.css and a bunch of other stylesheets, 960.css, etc., loaded like this:
Roni
  • 87
  • 4
7
votes
2 answers

What is the maximum bandwidth gcp instance can use with single network interface?

I am uploading data to Google cloud storage bucket using n processes parallelly, egress data rate is ~16Gbps. For only downloading data from gcp storage bucket using n processes parallelly, ingress traffic is ~26Gbps. But when I execute upload and…
7
votes
1 answer

WebRTC: use of getStats()

I'm trying to get stats of a webRTC app to measure audio/video streaming bandwidth. I checked this question and I found it very useful; however, when I try to use it I get TypeError: Not enough arguments to RTCPeerConnection.getStats. I think that…
Don Diego
  • 1,309
  • 3
  • 23
  • 46
7
votes
5 answers

How to test a site for low bandwidth?

I'm developing a web application for mobile browsers. Right now most of development is done on local machines (with local apache) and I'd like to test how it behaves in low bandwidth and even high latency environments. I don't need to use apache as…
gotch4
  • 13,093
  • 29
  • 107
  • 170
7
votes
8 answers

How to test low bandwidth conditions on the iPhone

I have an application that does a lot of binary data loading. I've encountered scenarios where an unstable 3G connection may intermittently cut out during the loading of some of this binary data, causing issues. Is there any way, using the simulator…
M. Ryan
  • 6,973
  • 11
  • 52
  • 76
7
votes
1 answer

Generating maximum wifi activity through 1 computer

I need to generate a very high level of wifi activity for a study to see if very close proximity to a transceiver can have a negative impact on development of bee colonies. I have tried to write an application which spawns several web-socket…
Evan
  • 217
  • 2
  • 13
7
votes
1 answer

IIS 8.5 low minBytesPerSecond not working against slow HTTP POST

I have an ASP.NET site running under IIS 8.5 on Windows 2012 R2. I'm trying to use the MinBytesPerSecond configuration setting (in applicationHost\WebLimits) as part of a strategy to mitigate slow HTTP POST attacks but can't seem to get IIS to…
Lee Wilkie
  • 71
  • 1
  • 5
7
votes
5 answers

Get ping latency from host

I'm trying to get the latency from host for a pretty good time and I'm stuck in. Already tried Simple Ping , but seems it doesn't return the latency. The closest I've done was when I use the TKC-PingTest for MAC OS. That works perfect but only in…
Lucas Brito
  • 1,028
  • 1
  • 18
  • 36