[Ilugc] internet speed issues with ubuntu

  • From: binand@xxxxxxxxx (Binand Sethumadhavan)
  • Date: Mon Jan 8 23:56:14 2007

On 08/01/07, Mano <manokaran@xxxxxxxxx> wrote:

hrs!! Then I installed Prozilla (a linux download accelerator) and tried
again. This time the entire image (700MB) was downloaded in 70 mins. Average
speed was 165kBps!!! Well in the realm of BSNL's promise.

How many parallel threads did you run with Prozilla?

Where are you downloading from and what is the latency (as measured by
ping) to that site?

Will it be possible for you to compile this program and run on your
Ubuntu box (just save it in a.c and run: make a && ./a)?

#include <stdio.h>
#include <sys/socket.h>
int main (void) {
    int sb = 0;
    size_t sz = sizeof sb;
    int s = socket (AF_INET, SOCK_STREAM, 0);
    getsockopt(s, SOL_SOCKET, SO_RCVBUF, &sb, &sz);
    printf ("RCV: %d\n", sb);
    getsockopt(s, SOL_SOCKET, SO_SNDBUF, &sb, &sz);
    printf ("SND: %d\n", sb);
}

Binand

Other related posts: