Re: Slow File Transfer (was Re: Helpppp!

Andreas Koenig (k@anna.in-berlin.de)
Tue, 12 Nov 1996 15:13:32 +0100


>>>>> m.koster@webcrawler.com (Martijn Koster) writes:

  > So yes Andreas, same behaviour here, and this is bad news and needs to
  > be fixed. I wonder if is a leaking eval() or something?

Just to add another view to the problem description I finally installed
5.003_07 and libwww-5.04 on my linux box (still 1.2.13 with ELF) and
found the following. I repeatedly transferred the same file with
734599 bytes over a 64k link.

1. FTP:

1.1 First try:

    Time: 1.25s user 0.35s system 0% cpu 2:51.90 total
    Size: constant  842/1676

1.2 Second try:

    Time: 1.09s user 0.34s system 0% cpu 2:38.49 total
    Size: constant  842/1676

2. GET:


2.1 First try:

    Time: 17.59s user 7.59s system 12% cpu 3:18.00 total
    Size: after ~1 minute  3205  4096
          after ~2 minutes 4297  5168

2.2 Second try:

    Time: 17.66s user 7.65s system 14% cpu 2:49.34 total
    Size: after ~1 minute  3081  3972
          after ~2 minutes 4225  5116


The speed is about the same, but the memory consumption seems higher
than necessary to hold a 700k scalar. But it's probably ok.

Thanks for looking into it,
andreas