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
2
votes
1 answer

How to circumvent extraordinarily low network throughput from host to Docker container?

I'm experiencing extremely weak network performance when sending data from a host machine to a docker container, compared to traffic sent from a host machine to the same host. I've measured the TCP performance using iPerf, these are the results on…
j3141592653589793238
  • 1,810
  • 2
  • 16
  • 38
2
votes
1 answer

Monitoring internet activity

I'm looking into writing a small app (in Python) that monitors internet activity. The same idea as NetMeter except with a little more customisation (I need to be able to set off-peak time ranges). Anyway, I've been having a little trouble…
Ross
  • 46,186
  • 39
  • 120
  • 173
2
votes
1 answer

Understanding memory transfer performance (CUDA)

auto ts = std::chrono::system_clock::now(); cudaMemcpyAsync((void**)in_dev, in_host, 1000 * size, cudaMemcpyHostToDevice, stream_in); cudaMemcpyAsync((void**)out_host, out_dev, 1000 * size, cudaMemcpyDeviceToHost,…
Treeman
  • 100
  • 6
2
votes
2 answers

CUDA Pinned memory for small data

I am running host to device bandwidthtests for different sizes of data, and have noticed an increased bandwidth when the host memory is pinned against pageable. Following is my plot of bandwidth in MB/s vs data transfer size in bytes. One could…
Sayan
  • 2,662
  • 10
  • 41
  • 56
2
votes
1 answer

Video.js HLS chooses lower quality TS segments than is expected

I'm using video.js to play HLS video stream that has multiple qualities in the m3u8 file. I noticed that video.js selects a lower quality than expected for a given quality. I checked the same stream and bandwidth with another HLS player, the…
Yaron T
  • 21
  • 1
2
votes
1 answer

Limit Apache Proxy upload speed per connection/ip?

I looked at mod_bandwidth and mod_cban but they dont seem to satisfy my requirements. I am running a proxy server with apache 2.2 (mod_proxy, proxy_http, proxy_connect). I want to limit the "upload speed of the client". This is at the same time…
The Surrican
  • 29,118
  • 24
  • 122
  • 168
2
votes
3 answers

Parallel file download

This is a basic question but I'd like to have someone with some more networking experience provide a more comprehensive answer. Let's say I have 3 files on an external server that are 1GB each. And to download them I would do: $ wget…
David542
  • 104,438
  • 178
  • 489
  • 842
2
votes
1 answer

What is bandwidth in cloud storage in firebase?

I'm new to firebase as well as programming, Now I'm working on a music app that streams data from cloud storage and plays music. it's around 100 to 120 songs only, I just played 10 - 12 songs only, but already my bandwidth level reached to 1GB, What…
2
votes
0 answers

Can I retrieve the bandwidth used in a seaborn kdeplot?

I am usingsns.kdeplot(data) to obtain a Kernel Density Estimate for my 1 dimensional dataset. As I understand and having read seaborn's documentation on kdeplot, sns.kdeplot() passes bw_method="Scott" to scipy.stats.gaussian_kde to automatically…
CodeTrek
  • 435
  • 1
  • 3
  • 10
2
votes
1 answer

"free tier" instances ... exceeded 85% of 1 GB bandwidth in 4 days ... How can I see bandwidth usage?

I'm experimenting with Amazon AWS free tier. Only been four days, and I just got an email: "I've exceeded 85% of my 1Gig bandwidth" How can I tell what used this bandwidth? What I've done ... I created and terminated some t2.micro linux instances. …
AvaTaylor
  • 623
  • 4
  • 16
2
votes
2 answers

Java API to Check Internet Speed (upload/download)

I am building an application in Java where I need to know the download/upload speed as we get in https://speedtest.net kind of sites. Are there any APIs/java inbuilt methods using which I can get the speeds. Thanks!
2
votes
0 answers

limit on 1 gbps included bandwidth on an ovh dedicated server?

i know this might not be the best place for posting this but this is by far the biggest and diverse community from coders to technical experts so i am taking my chances in hope that someone comes across this and point me in some direction. I plan to…
JayD
  • 748
  • 1
  • 13
  • 38
2
votes
1 answer

What are the most widespread low bandwidth alternatives to HTTPS?

I'm porting a web app to a mobile device and working with the major carriers to minimize our bandwidth use, but need to maintain security. The SSL handshaking overhead associated with HTTPS is more than 50% of the bandwidth currently. Can someone…
Chirag Patel
  • 5,819
  • 8
  • 35
  • 38
2
votes
0 answers

Azure egress bandwidth calculation

I was wondering how Azure calculates the amount of network bandwidth. Is it bad ed on the number and size of packets that are moving out of a respective region. I am asking because I believe if a protocol is chatty or uses encryption, the amount…
2
votes
0 answers

Is there a way of monitoring opened files and disk bandwidth for my python script?

My EC2 instance on AWS shows very high read disk bandwidth usage during execution of my python script. Sometimes i run into problems where i used up all my burst_balance credits for this volume and my hole system gets unstable and basically…