Subject | RE: [firebird-support] Firebird is too fast ;-) - simulate slow network connection |
---|---|
Author | Nigel Weeks |
Post date | 2007-07-22T22:45:48Z |
We use FreeBSD on our servers, and it's easy to use IPFW to do traffic
shaping.
Just put these in your /etc/firewall.conf with the rest of your firewalling
rules
ipfw add pipe 1 config bw 33kbits/s # for inbound traffic
ipfw add pipe 2 config bw 56kbits/s # for outbound traffic
# Provide a simulated slow connection for only one machine on our network
ipfw add 3000 allow pipe 1 tcp from 192.168.0.30 to me 3050
ipfw add 3010 allow pipe 2 tcp from me 3050 to 192.168.0.30
Makes testing for low-bandwidth systems absurdly easy...
Nige.
Nigel Weeks
Tech Support and Systems Developer
Rural Press Tasmania
The Examiner Newspaper
Ph. 03 6336 7234
Mob. 0408 133 738
Email. <mailto:nweeks@...> nweeks@...
"You may now be on
the other side of the fence,
but the grass is just as likely
to die there too." - nw
_____
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Christian Brümmer
Sent: Saturday, 21 July 2007 4:14 PM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] Firebird is too fast ;-) - simulate slow network
connection
Hi, good morning, group,
I have a problem developping a tool for Firebird: I cannot test a slow
response as Firebird is too fast. ;-)
To get serious: I want to check the behaviour of my program, if there is
just a slow Network performance. Do you have an idea, if and how I can
slow down the server? I tried to write scripts, which I was executing in
parallel but I was not able to slow down the Server.
Do you know any tools which can be used to slow down the connection?
I've just two Firebird Servers: one in the LAN and one on the same
computer on which I am developping.
Thanks in advance
Christian
__________ NOD32 2410 (20070720) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
[Non-text portions of this message have been removed]
shaping.
Just put these in your /etc/firewall.conf with the rest of your firewalling
rules
ipfw add pipe 1 config bw 33kbits/s # for inbound traffic
ipfw add pipe 2 config bw 56kbits/s # for outbound traffic
# Provide a simulated slow connection for only one machine on our network
ipfw add 3000 allow pipe 1 tcp from 192.168.0.30 to me 3050
ipfw add 3010 allow pipe 2 tcp from me 3050 to 192.168.0.30
Makes testing for low-bandwidth systems absurdly easy...
Nige.
Nigel Weeks
Tech Support and Systems Developer
Rural Press Tasmania
The Examiner Newspaper
Ph. 03 6336 7234
Mob. 0408 133 738
Email. <mailto:nweeks@...> nweeks@...
"You may now be on
the other side of the fence,
but the grass is just as likely
to die there too." - nw
_____
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Christian Brümmer
Sent: Saturday, 21 July 2007 4:14 PM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] Firebird is too fast ;-) - simulate slow network
connection
Hi, good morning, group,
I have a problem developping a tool for Firebird: I cannot test a slow
response as Firebird is too fast. ;-)
To get serious: I want to check the behaviour of my program, if there is
just a slow Network performance. Do you have an idea, if and how I can
slow down the server? I tried to write scripts, which I was executing in
parallel but I was not able to slow down the Server.
Do you know any tools which can be used to slow down the connection?
I've just two Firebird Servers: one in the LAN and one on the same
computer on which I am developping.
Thanks in advance
Christian
__________ NOD32 2410 (20070720) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
[Non-text portions of this message have been removed]