Discussion Locked

Network Bandwidth Calculation

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi Everyone,

I am currently in the process of designing a new network segment which will be used for Oracle applications and servers.

Does anyone know what is the best way or better still a formula to calculate the Bandwidth for my application.

I know that this is one of the hardest things to do but if anyone knows defined steps on how to do this I would be very greatful.

Regards,

Hany

9 replies

by tels

Wellll there are 8 bits in a byte, so a 100Mb/s connection equates to 12.5 MB/s throughput. Then you need to look at the protocol used to transmit data, to effectively calculate the overhead. If I assume you use TCP, you'll lose 3% of bandwidth due to headers etc.
Therefore, you could expect a theoretical max of
12.125 MBytes/s on a 100MBit/s connection, using TCP.
Of course the real situation would change constantly depending on packet size, protocol, etc.

HTH

by pheroah

Well I understand this very well. But this is the total bandwidht I have. I am using TCP on an oracle server. I would like to find a way of calculating how much bandwidht I REQUIRE for a certian number of users on a given application.

Is there a way without using sniffers and the like to calculate the bandwidht requirments.

by timthetoolman

Hi,

Assuming you've got a client server application that passes SQL statements to your server and receives the data as objects, then in order to do this you need at least an idea of the following...

1. Average transactions/sec
2. Average sizeof the SQL statements although this is likely to be trivial compared to...
3. Average size of returned data objects.

This is the trick, though. You cant easily pull "average size of returned data objects" out of the hat....

So... The best thing to do is break down the types of transactions your application *can* produces and proportion the queries accordingly.

For instance if your app contains a drop down list populated from the database and this is on a main screen, then you would assume a high rate of requests. Whereas a specific report screen accessed only monthly would count very little towards the total.

Often people just dont know how the application will be used until it IS actually used and then they simply measure theresults.

In your case, I expect you'll simply be going with a 100Mb network either way so it may be simpler to let the app run for a wgile and measure its usage and use that data to decide whether to upgrade the network or not...

I you really need an answer,, you simply have to put in the hard yards and work out transaction sizes and rates. There is no other way...

Hope this helps,
Cheers,
Tim.

by timthetoolman

And I guess I should mentio how you could do this "experimentally" - a roughish, but nonetheless useful measure.

You could isolate a client and your server (or if ou can't then you need to guess how much "extra" traffic it was getting) and then do performance monitoring on the nic during a sequence of what you consider to be "normal" operations from your application.

Read the results from the log (Its best to do the perfoamnce monitoring to a log...) and then scale the whole thing up to your expected concurrent usage.

To get to the performance monitor, its one of the system tools or you can simply type perfmon at the command prompt.

Cheers,
Tim.

by wlbowers

First look at what you are doing on the network.
Example:
8 clients connected to a server running
bookeeping software.(small files, sporatic access)
VS
8 clients connected to a server running multiseat Autocad. (large files, constant access)
Guess who is going to need a faster network.

The application workload will decide your network speed demands.

With technology what it is today it is better to have overhead than try to figure just what you need.

In a heavy database application, (you didn't mention the number of users), constant server access and size of file transfer can eat up bandwith fast.

I have yet to have a customer come back and tell me that their having delays, or things are running slow.

Hope this helps Lee

This discussion is closed to new replies.