Professional Documents
Culture Documents
Network Bandwidth
A How-to Guide by the
Progress Data Management Group
Introduction ..................................................................................................................................................................... 3
Overview .......................................................................................................................................................................... 3
How Fathom Replication Works................................................................................................................................. 4
Calculating After-image Volume.................................................................................................................................... 5
1.
2.
3.
4.
Additional Notes............................................................................................................................................................ 10
Additional Network Overhead........................................................................................................................ 10
Network Bandwidth ....................................................................................................................................... 10
References..................................................................................................................................................................... 10
Introduction
The best way to measure network bandwidth requirements is to run Fathom Replication in a controlled
test environment reflecting the true demands of your application and database. In this environment you can
use a network monitoring tool to capture exact amounts of network bandwidth used by Fathom Replication.
If this is not possible (which is usually the case), you may need to estimate the network requirements using
the guidelines described in this white paper.
This document is not intended to provide a fail safe formula providing every user with the exact amount of
network bandwidth used by Fathom Replication on their network. It is solely intended to provide enough of
an overview of the technology for new users to make an educated guess on the amount of network
bandwidth needed for the implementation of Fathom Replication.
Overview
Fathom Replication bandwidth calculations rely on many different factors. The amount of after-imaging
volume and after-image performance tuning changes are just parts of the pieces of the puzzle that go into
determining the amount of bandwidth that will be needed. On average, the amount of bandwidth needed is
50 - 65 percent greater than the amount after-image activity that is being created.
Source
Database
Target
Database
AI Extents
Database
Broker
Servers
Writers
Database
Broker
Servers
Writers
Replication
Server
Replication
Agent
04/07/04
10:38:13
Per Min
782
0
51653
6437851
0
431
350
0
Per Sec
Per Tx
13.04
0.00
860.89
107297.52
0.00
7.19
5.83
0.00
0.31
0.00
20.68
2577.82
0.00
0.17
0.14
0.00
Notice the highlighted elapsed time on the second line of the printed screen above. Choose the s option at
the bottom of the screen by typing s. This will gather a sample for 60 minutes. When this is complete,
this time should show 60 minutes.
The numbers shown on the rest of the screen are running totals for that elapsed time. Record the number
from the total after-image writes row in the Total column. This is the total number of after-image blocks
written in one hour. You may repeat this process to gather additional samples. Calculating a realistic
average number of blocks written in 1 hour requires several samples. The more samples gathered the more
accurate the average is. Now divide the average number of blocks generated in one hour by after-image
block size. This can be found from the main menu of R&D by selecting option 1 (Status Displays) and then
option 10 (after-image Log). The after-image block size is the second to last entry. Take this number and
divide it by 1024 to arrive at the block size (8192 / 1024 = 8). Multiply the value that you got activity menu
by this value. The result is the number of 1K after-image blocks written during a typical hour period.
Summary
Calculating Fathom Replications effect on the network involves many different aspects. After-image data
is the largest part of determining what bandwidth will be needed. Exact data volume cannot be accurately
calculated as it depends on the type of transactions within the application and how much activity is going on
against the database. It can be estimated if you know the average amount of after-image volume on your
system. The formulas documented here will help you calculate the values for capacity planning.
Formula
Examples
Example One
AID = 89 Mb
Sample Length = 60 minutes
PRD = 1
Example Two
AID = 360 Mb
Sample Length = 24 hours
PRD = /1440
Additional Notes
Additional Network Overhead
TCP/IP default packet sizes are typically 1564 bytes. 64 bytes of this information is TCP and IP header
information (approximately 4%). This additional amount may need to be added to the final calculation for
more accurate representation of network usage.
Network Bandwidth
Determining network bandwidth is hard to do. A T1 line provides approximately 1.544 megabits per second
of throughput. This is the theoretical limit but typically due to routers, hubs, and switches it is somewhat
less than this.
References
Unix Network Programming, Prentice Hall Software Series, By W. Richard Stevens,
Copyright 1990 ISBN 0-13-949876
http://www.stallion.com/html/support/glossary.html#T Definition of T1
http://www.strategicwebventures.com/definitions/Glossary/T1
Corporate Headquarters
Progress Software Corporation, 14 Oak Park, Bedford, MA 01730 USA Tel: 781 280 4000 Fax: 781 280 4095
Europe/Middle East/Africa Headquarters
Progress Software Europe B.V. Schorpioenstraat 67 3067 GG Rotterdam, The Netherlands Tel: 31 10 286 5700 Fax: 31 10
286 5777
Latin American Headquarters
Progress Software Corporation, 2255 Glades Road, One Boca Place, Suite 300 E, Boca Raton, FL 33431 USA Tel: 561 998
2244 Fax: 561 998 1573
Asia/Pacific Headquarters
Progress Software Pty. Ltd., Level 2, 25 Ryde Road, Pymble, NSW 2073 Australia Tel: 61 2 9496 8439 Fax: 61 2 9498 7498
Progress and Fathom are registered trademarks of Progress Software Corporation. All other trademarks, marked and not
marked, are the property of their respective owners.
www.progress.com
Specifications subject to change without notice.
2003 Progress Software Corporation.
All rights reserved.
10