Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I/net server throttling
Date: Fri, 22 Jun 2012 15:52:16
Message-Id: 201206221650.44932.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] I/net server throttling by William Kenworthy
1 On Friday 22 Jun 2012 11:29:00 William Kenworthy wrote:
2 > On Fri, 2012-06-22 at 05:10 -0400, Philip Webb wrote:
3 > > 120622 Mick wrote:
4 > > > On Friday 22 Jun 2012 05:41:14 Philip Webb wrote:
5 > > >> In recent weeks, I've seen many instances of downloads of files
6 > > >> coming in small segments, which seem to be the same for each server,
7 > > >> but vary between different servers. Some Gentoo mirrors suffer this
8 > > >> way -- not all -- & some general news sites, eg when delivering
9 > > >> videos, which run for a few secs, then freeze, then resume etc.
10 > > >> Once I observed a server doing this for several hours (a large file),
11 > > >> then suddenly loosening up & delivering the rest of the file in one
12 > > >> go.
13 > > >
14 > > > Yes, when I use the wireless network at work.
15 > > > It could be the ISP or it could be other users taking up bandwidth.
16 > > > Really early in the morning performance is generally higher
17 > > > than during work hours. this could be due to contention
18 > > > on the local network or the ISP's pipe.
19 > > > Do you get such problems off peak hours?
20 > >
21 > > I think you're describing a different phenomenon, traffic jams (smile).
22 > > That sometimes happens here & may persist for 1 - 2 weeks ,
23 > > but it feels just like driving on the highway when 1 lane is closed.
24 > > That probably is some piece of the Internet or ISP under repair or test.
25 > >
26 > > What I'm refering to is getting downloaded files in slices,
27 > > eg using Wget, a piece of the file downloads for 22 sec , then stops;
28 > > Wget tries again & another 22 sec piece comes down the pipe, then
29 > > stops. This can go on for hours with a big file
30 > > & doesn't seem related to the local time of day.
31 > > My guess is that the server has been programmed to stop after 22 sec
32 > > in an effort to share access among many clients,
33 > > but it is irritating & also suggests the server needs faster hardware.
34 > >
35 > > Have others noticed this -- it seems to be a recent innovation --
36 > > & is it a known ploy of server managers ?
37 >
38 > Are you using traffic shaping like a "police filter", or is there
39 > shaping somewhere in the path? - most of the linux shaping methods work
40 > on a burst principle that produces a given throughput by gating the
41 > traffic for an average throughput. I have seen the effect you mention
42 > with block transfer protocols (ftp) and wget when trying to use its
43 > built in bandwidth regulation which works similarly to when traffic
44 > shaping is in effect. There seems to be an interaction between the two
45 > instances of regulating the traffic to create an effect like you have
46 > seen. This also affects other traffic trying to use the link at the
47 > same time as the available bandwidth gets very "choppy".
48 >
49 > I have less experience with other than linux based shaping methods such
50 > as Cisco QoS methods but have not seen the same effect there.
51
52 Now that I understood what Philip was describing I have not seen anything like
53 that (yet). When there is throttling at the server it just shaves off
54 anything above a certain transmission rate. So a bar chart that would
55 otherwise show a variable bar height as the client-server try to negotiate
56 maximum throughout up to the ADSL max capacity, is now cropped at a lower than
57 max throughput. There is no starting and stopping.
58
59 If there is contention on the line then there will be some throughput
60 variability, but not really stopping completely and then restarting. Unless
61 perhaps the contention is so abysmal or the server/ISP are under some DDoS
62 attack?
63
64 --
65 Regards,
66 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] I/net server throttling Philip Webb <purslow@××××××××.net>