OPNET ACE Instructions
OPNET ACE Instructions
OPNET ACE Instructions
In today’s IT organizations, there has been increasing need of detailed, quantitative understanding of
the complex interactions among applications, servers, and networks on which the performance of
networked applications depend. OPNET’s ACE can directly address these challenges. ACE enables
you to capture, filter, and synchronize application traces from multiple network segments. ACE
applies expert knowledge to captured application data for automated troubleshooting. It provides
both a network-layer and an application-layer view of an application exchange. This helps you
pinpoint the individual components of application and network delay, and thereby see how your
network affects-and does not affect-an application’s performance. ACE also uses AppDoctor, which
provides instant, comprehensive diagnoses of your network and application’s performance and thus
helps identify bottlenecks and their possible causes. These key features expedite the resolution of
performance problems, boosting the productivity of IT organizations.
For the purpose of this assignment, let us consider a two-tier Oracle Application. The Oracle server
and the Oracle client are within the same LAN.
You need to do the following if and only if you find extraneous traffic. For isolating extraneous
traffic:
a) Select AppDoctor Tier Pair Circle or click the TIER PAIR action
button
b) Use the View Statistic pull-down menu at the top of the dialog box to view the list
of different statistics available
c) Select the Average Network Packet Payload Size (Bytes) statistic. Notice that
each statistic re-colors the conversation pair arrows.
a) Click the DATA EX. action button to open the Data Exchange Chart. If the remaining
traffic doesn’t fill the entire screen, right-click in the workspace and select Full Zoom
The Data Exchange Chart appears. It is shown below
The colors of the application messages represent the size of the messages.
b) Differentiate the messages flowing in different directions. Select View Split Groups
Now the messages are split into two groups and you can detect more details.
c) View the tool tip by resting the mouse over the first group of messages
d) You may want to have a closer look at the application messages. To do this, click on the
Zoom action button. Drag the cursor to create box around the target area. If you are not
happy with your initial zoom, you can select the Unzoom action button from the menu and
try again. Once you have adjusted the zoom level, you can use the arrow keys to scroll in all
directions. You can study the individual messages. The arrowhead indicates the direction that
a message flows.
Questions
1. At what time does the data flow between the Oracle_Server and Oracle_Client begin and at what
time does it end?
2. Which tier has the most processing time?
AppDoctor
Now, we will do analysis using AppDoctor. AppDoctor shows you exactly where the application is
stalling and itemizes all delays by address and type into an “AppDoctor Diagnosis” report. Problems
are identified and recommendations are provided. AppDoctor’s Summary of Delays provides insight
into the root cause of the overall application delay. It decomposes the total application response time
into four components:
• Application delay, calculated separately for each tier, is the amount of time that the
application was being processed by each host.
• Propagation delay is the component of delay due to latency in the network. (Latency is the
time it takes for 1 bit to be transmitted across the network.)
• Transmission delay is the component of delay caused by the limited bandwidth of the
network.
• The Protocol/congestion component of delay is a metric of network restriction to packet
flow. This restriction may be caused by packet queuing in the network (congestion) or by
flow control mechanisms of the network protocols (TCP, for example, has several built-in
flow control mechanisms).
AppDoctor’s Diagnosis provides a more granular view of the potential bottlenecks affecting this
transaction. Diagnosis tests the current transaction against issues that often cause performance
problems in network-based applications, grouped by category. Values that cross a specified threshold
(user-settable) are marked as bottlenecks or potential bottlenecks.
Tree View
Next, we will look at the Tree View, which gives us a hierarchical view of tiers, connections,
application messages and network packets. Each individual frame and frame grouping (tier pair,
message flow group, etc.) is displayed on a separate line, with summary information arranged in
columns across each row. Select the Tree View action button for the Tree View to be
displayed. You can see the application level data.
(Try to think about a question here)
Protocol Decodes
Let us now examining ACE Decodes using the Protocol decode viewer. To do this,
a) Bring up the Data Exchange Chart
b) Right-click on any application message group and select Show Protocol Decodes
for Selected Items from the pop-up menu.
The Protocol Decodes Viewer appears.
It looks somewhat similar to the one below.
We will now view the Graph Statistics. Select the Graph statistics action button
Select the statistics as shown in the figure below and Click Show
The Graphs appear in separated windows
Select File Save to save your work.
Now, we will use ACE with OPNET’s simulation environment to explore solutions and “what-if”
scenarios. ACE automatically creates baseline network topologies with application profiles from
network analyzer traces and also selects some statistics for collection-giving you a ready-to-use
simulation model with which to perform response time and what-if scenario studies including
performance analysis, technology migration, bandwidth, sizing, and more as we saw in the first 2
assignments. The import wizard allows you to control certain aspects of the topology and
application; others can be customized after the import is complete.
a) Select SIMULATE action button
b) In the next dialog box enter
• Project Name: Oracle_Application_Study
• Scenario Name: Initial_topology
• Select OK
c) In Startup Wizard: Initial Topology dialog box enter:
• Import from ACE
• Select Next
d) In Configure ACE application dialog box enter:
• Application Name: Oracle ACE Application
• Repeat Application: 2 times per hour
• Select Add Task
• In ACE Trace File column click on the word specify
• In the pop-up menu, select the file OracleApplicationTask1
• Select Next
e) In the Create ACE Topology dialog box
• Leave all defaults
• Select Create
f) The network topology will be appear in the Project Editor. It will look somewhat
similar to the following
Questions
What is the application task response time? Suggest ways to improve the application task response
time. Make suitable upgradations to the existing model and run the simulation and see if there are any
improvements in the application task response time. Turn in the statistic graph for the upgraded
model. Rerun the simulation by specifying the number of clients as 8. The easiest way to this is to
Duplicate the existing scenario. Copy and paste the existing Oracle Client 7 times on the project
editor and connect them to the switch. What was the impact on response time? What other changes
would you make to test out possible improvements to application response time (if any)?