You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by "Michaud,Pierre [CMC]" <Pi...@ec.gc.ca> on 2002/09/26 14:41:19 UTC
Connection speed throttle
Hi,
I'd like to know if you are planning to add an option to flood that can
simulate the connection speed of a user (33,6Kbps for example), such as
http_load (www.acme.com).
Pierre Michaud
Re: Connection speed throttle
Posted by Jacek Prucia <ja...@7bulls.com>.
wiadomosc od Aaron Bannert, z dnia Sun, Sep 29, 2002 at 10:43:36AM -0700
[...]
> I'm not so sure we could even implement something like this at
> such a high level.
I wasn't really talking about BSD dummynet. I was thinking about very simple rate limiting. We could write to socket precise amount of bytes every second (or another period of time), which could give us a poor man's rate limit. This wouldn't be anything special (no random packet drops, constant latency and stuff like that), but at least it would allow people to get the idea 'how things will be for all those modem people out there'.
> OTOH, aside from cost considerations, a standalone
> BSD box running dummynet inbetween one or more clients and one or
> more servers would be very effective.
Yeah, dummynet is a cool thing, and you can have similar effect with other OS'es (like Linux). However setting things up is a bit troublesome. Among many things dummynet requires root privileges which sometimes aren't available.
But yes, I think that even when we implement such basic rate limit, we could give pointers to tools which are very usefull in conjunction with flood.
regards,
--
Jacek Prucia
7bulls.com S.A.
Re: Connection speed throttle
Posted by Aaron Bannert <aa...@clove.org>.
On Sun, Sep 29, 2002 at 10:48:09AM +0200, Jacek Prucia wrote:
> Correct, but this applies only to BSD. Linux doesn't have such feature out-of-the-box. I bet this is true for other operating systems (Solaris, IRIX, etc.). So this might be a good idea to implement such functionality in flood. However it looks like this feature will be at the bottom of (at least mine) TODO list. There are more important things to do first.
I'm not so sure we could even implement something like this at
such a high level. OTOH, aside from cost considerations, a standalone
BSD box running dummynet inbetween one or more clients and one or
more servers would be very effective.
-aaron
Re: Connection speed throttle
Posted by Jacek Prucia <ja...@7bulls.com>.
wiadomosc od Aaron Bannert, z dnia Thu, Sep 26, 2002 at 11:47:17PM -0700
> On Thu, Sep 26, 2002 at 06:41:19AM -0600, Michaud,Pierre [CMC] wrote:
> > I'd like to know if you are planning to add an option to flood that can
> > simulate the connection speed of a user (33,6Kbps for example), such as
> > http_load (www.acme.com).
>
> The dummynet feature of BSD is a great way to do this in conjuntion
> with flood.
Correct, but this applies only to BSD. Linux doesn't have such feature out-of-the-box. I bet this is true for other operating systems (Solaris, IRIX, etc.). So this might be a good idea to implement such functionality in flood. However it looks like this feature will be at the bottom of (at least mine) TODO list. There are more important things to do first.
regards,
--
Jacek Prucia
7bulls.com S.A.
Re: Connection speed throttle
Posted by Aaron Bannert <aa...@clove.org>.
On Thu, Sep 26, 2002 at 06:41:19AM -0600, Michaud,Pierre [CMC] wrote:
> I'd like to know if you are planning to add an option to flood that can
> simulate the connection speed of a user (33,6Kbps for example), such as
> http_load (www.acme.com).
The dummynet feature of BSD is a great way to do this in conjuntion
with flood. I found this to be a very informative article:
http://bsdvault.net/sections.php?op=viewarticle&artid=119
-aaron