How to test routing entry performance in ASR 9000 ?
I have tester (ixia). It have 2 port TE, but each port on asr 9000 has limited about 500,000 prefix. What should I do?
best regards
I want to test how many maximum routing table prefixes of asr 9000 follow to cisco document is real ?
But,It tester limited has 2 interface. Now, I connected point-to-point. Tester == ASR 9000
I can't send prefix over 1M (500+500). Do you have any idea to send prefix to follow a cisco document ?
Thanks.
Similar Messages
-
How to save routing entries permanently after route add
Hi guys,
I have added routing entries through route add command. I know i can add routing entries permanently thru -p option in route add command but didin't use that option. How to save those routing entries now?
Thanks...The filename you are looking for is /etc/inet/static_routes which is available only on Solaris 10 update 3 or later:
root_sol10u3# route -p add -net 192.168.138.0/24 192.168.136.1
root_sol10u3# cat /etc/inet/static_routes
# File generated by route(1M) - do not edit.
-net 192.168.128.0/22 192.168.136.1
-net 192.168.138.0/24 192.168.136.1
-net 172.31.68.0/24 192.168.149.253
-net 172.31.69.0/24 192.168.149.253
root_sol10u3#For Solaris 10 update 2 or earlier, persistent static routes are not implemented. Additionally, the old RC script method suggested above also will not work for Solaris 10 given the host isn't always guaranteed to reach the "multiuser" milestone and subsequently run the legacy /etc/rc*/S* scripts (say if a filesystem fails to mount). For those releases, you should create a new manifest file as follows:
root_sol10u2# cat /var/svc/manifest/network/RKstatic-routes.xml
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
Static Route SMF Manefest
To be replaced by official Sun mechanism in next solaris release
-->
<service_bundle type='manifest' name='RKstatic-routes'>
<service
name='network/RKstatic-routes'
type='service'
version='1'>
<create_default_instance enabled='true' />
<single_instance/>
<dependency name='network'
grouping='require_any'
restart_on='error'
type='service'>
<service_fmri value='svc:/network/service' />
</dependency>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/RKstatic-routes start'
timeout_seconds='60' />
<exec_method
type='method'
name='stop'
exec='/lib/svc/method/RKstatic-routes stop'
timeout_seconds='60' />
<property_group name='startd' type='framework'>
<propval name='duration' type='astring' value='transient' />
</property_group>
<stability value='Unstable' />
</service>
</service_bundle>
root_sol10u2#Then create the method script:
root_sol10u2# cat /lib/svc/method/RKstatic-routes
#!/bin/sh
# RKstatic-routes
# To be called by the network/RKstatic-route SMF service
ACTION=${ACTION:-add}
setup_routes () {
#Route to networks.
/usr/sbin/route $ACTION net 172.1.0.0 -netmask 255.255.0.0 10.1.0.0
/usr/sbin/route $ACTION net 172.2.0.0 -netmask 255.255.0.0 10.2.0.0
case "$1" in
start)
echo "${ACTION}ing static routes"
setup_routes
stop)
ACTION=delete
echo "${ACTION}ing static routes"
setup_routes
echo "Usage: $0 {start|stop}"
exit 1
esac
root_sol10u2#Then, import and enable/start the service:
root_sol10u2# svccfg -v import /var/svc/manifest/network/RKstatic-routes.xml
root_sol10u2# svcadm enable network/RKstatic-routes
root_sol10u2# To stop:
root_sol10u2# svcadm disable network/RKstatic-routes
root_sol10u2# For posterity, here is a pre-Solaris 10 version:
root_sol9# cat /etc/init.d/staticRoutes.sh
#!/bin/sh
case "$1" in
start)
test -f /etc/routes.conf || exit 0
while read type route gateway
do
/usr/sbin/route add $type $route $gateway
done < /etc/routes.conf
stop)
test -f /etc/routes.conf || exit 0
while read type route gateway
do
/usr/sbin/route delete $type $route $gateway
done < /etc/routes.conf
echo "Usage: /etc/init.d/routes { start | stop }"
esac
root_sol9# cat /etc/routes.conf
172.1.2.0/24 172.1.2.4
172.1.3.0/24 172.1.3.4
root_sol9# ln -s /etc/rc2.d/S70staticRoutes /etc/init.d/staticRoutes.sh
root_sol9#Best Regards,
Bryan Wood -
How to test SQL query performance - realiably?
I have certain queries and I want to test which one is faster, and how big is the difference.
How can I do this reliably?
The problem is, when I execute the queries, Oracle does it's caching and execution planning and whatnot, and results of the queries are dependent on the order I execute them.
Example: query A and query B, supposed to return same data.
query A, run 1: 587 seconds
query A, run 2: 509 seconds
query B, run 1: 474 seconds
query B, run 2: 451 seconds
It would seem that A is somewhat faster than B, but if I change the order and execute B before A, results are different.
Also I'm running the queries in SQL Developer, and it only returns 100 first lines, how can I remove this effect and simulate real scenario where all lines are fetched?
I can also use EXPLAIN PLANs and look at the costs but I'm not sure how much I can trust those either. I understand they are only estimations and even if cost(a) = 1.5 * cost (b), b could still end up executing faster in practise due to inaccuracies in the cost calculation....right? EDIT: actually event if cost(a) = 5000 * cost(b), b can still execute faster.....seems like query A's cost is 15836 and B's cost is 3 while A seems to be faster in practise.
Edited by: user620914 on 19-Jan-2010 01:42user620914 wrote:
I have to say I don't understand your point either :)
What are you saying, that people should not test their SQL performance? That tools such as autotrace are useless?No.. what I'm saying is that you need a baseline to make an informed decision about SQL performance.
What does a 4 second SQL performance mean for query foo ? Nothing really.. wearing my dba cap I would point at that this is actually utterly useless for me to determine the impact of your query on production, or use it to determine how to scale it.
If instead you tell me that is hits that table using an index range scan.. I know what it is doing and have a far better idea what it will do to the production instance.
Thus my questioning this "+elapsed time+" measurement approach. I as a dba cannot use it... and I'm not sure what benefit (wearing my developer hat) you will find from it either.
You can form your SQL queries better or worse, or select your table structure / indexes better or worse. Some choices may end up executing orders of magnitude slower than others. Obviously you can't get exact measurements "this query executes in 43123 ns" and there are a lot of unpredictable variables that affect the end performance. Still, it's often better to test your querie's / table's performance before implementing them in the application than not.Exactly. I'm not questioning the fact that optimising your code (and ALL your code, not just SQL) is a Good Thing (tm) - but how you go about that optimisation process.
For example, your PL/SQL code fires off a query. It returns on average 10,000 rows, hits a single partition (SQL enables partitioning pruning) and then uses a local bitmap index to identify the rows.
An optimal query by the sounds of it, and one that will perform and scale well.. even when the database instance needs to service a 100 clients using your code and running this query.
Only, the code does a single bulk collect of all the rows and stuff it into dedicated process memory (PGA). Servicing a 100 clients means that dedicated server memory is now needed for 100x10000 rows - there's insufficient free memory, causing the kernel to start swapping pages in and out of memory heavily as all 100 client sessions are active and wanting to process the rows returned by the optimal query.
What happens to scalability and performance now?
Testing for performance is not simply measuring a query and then trying to use that or extrapolate that to determine application performance and the impact on production.
It starts with the design of the tables, the design of the application, the writing of the code (application and SQL). It is not something that should be done after the fact as in "+okay, application all done, let's see how she performs!+".. and especially not using time as the baseline for performance measurement. -
How to manage route entries on user Mac laptop?
Hi,
I have several Mac's in a small office and one has route entries no other Mac show. How can I permanently rid these entries. I have restarted the router and then the Macs and this has not worked. My route table from a netstat has some of the following entries:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.1 UGSc 321 0 en0
default 192.168.1.1 UGScI 1 0 en1
127 localhost UCS 0 0 lo0
localhost localhost UH 2 409 lo0
169.254 link#4 UCS 0 0 en0
172.16.97/24 link#9 UC 1 0 vmnet8
172.16.97.255 link#9 UHLWbI 3 464 vmnet8
172.16.227/24 link#8 UC 2 0 vmnet1
172.16.227.1 0:50:56:c0:0:1 UHLWI 0 10 lo0
172.16.227.255 link#8 UHLWbI 2 666 vmnet1
192.168.1 link#4 UCS 6 0 en0
192.168.1 link#5 UCSI 2 0 en1
192.168.1.1 0:26:bb:71:8a:d5 UHLWI 344 638 en0 316
192.168.1.1 link#5 UHLWI 1 0 en1
192.168.1.10 link#4 UHRLWI 0 32 en0
192.168.1.40 localhost UHS 4 312 lo0
I want to delete the routes starting 172.16.n.n and wonder how they got into the route table; what type of device they are; and how to remove them.
I am just a standard user with some limited UNIX experience. I cannot switch user to root in a Mac Terminal screen, as I do not know what the 'root' SU password is. But I have administrative user rights on the Mac and the Router.
Thanks,
DonYes.
VMWare (and Parallels as well, for that matter) offer networking services in a variety of modes: Bridging, NAT and Host-only. To be able to connect VM's "internally" for NAT and Host-only networking, VMWare itself needs to provide something like a "virtual router" for each of those services.
There are three private address spaces defined by RFC1918. 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. In your case, your standard internal IP addresses used on your network are in the 192.168.0.0/16 class and VMWare has chosen two addresses in the 172.16.0.0/12 range for vmnet1 and vmnet8.
eliminating them will kill network connectivity for your VM's. Plus, the next time you reboot, VMWare will just recreate them anyway - you can see the kernel messages in the Console. -
How to test hard drive performance?
Hi, I just wanted to know how I can test my Mac’s hard-drive’s performance. I’ve used HD-Tune on Windows, but I don’t know free app that’s available for the Mac. I’ve got a MacMini mid-2011.
Thanks for any help!See BlackMagic Disk Speed Test
https://itunes.apple.com/us/app/blackmagic-disk-speed-test/id425264550?mt=12 -
How to test the performed SAP SCRIPT
Hi friends can any one help for
how to test the performed SAP SCRIPT. What are the necessary codes or anything else for performing itPraveen,
Can you be much clear with your query? What do you mean by performing? Do you mean how to execute it ?
Regards,
Vinod. -
How to configure snmp on loopback interface, on vrf TEST, in ASR 9000 series
Hi there!
How to configure snmp v2, with community string, for ASR 9000 series, in interface loopback 1, that has vrf TEST
Regards!oh that is somewhat vague, but let me try...
in order to enable snmp access to an interface in a vrf you need to enable MPP (management plane protection) in that vrf.
Something like this:
control-plane
management-plane
inband
interface Loopback100
allow all
if you have this and it doesn't work, a config snippet and some debugs (like debug snmp packet) will help to define what to do next.
regards
xander -
How many route entries does 3945E or/and 3900 ISR G2 support
hello guys:
I have a question concerning about how many ospf and bgp route entries does 3945E isr g2 router support?
cheers
tony xiTony,
This question can't be answered in general. It depends foremost on the amount of available memory in the router. With 256MB of RAM, you can expect that the router can manage roughly tens of thousands of routes. The full BGP routing table (not the BGP database) consumes around 70MB, however, the full BGP RIB on one of the route-views project routers consumes over 1100 MB of RAM (this also depends on the number of BGP peers and the amount of data sent to it by individual BGP neighbors). The exact number is impossible to determine, as it depends on the amount of other control information that the router has to store in its RAM - for example, OSPF LSDB, BGP RIB, the CEF and adjacency tables, etc. etc. etc.
So you can assume that 256MB of RAM should be working for deployments up to the order of tens of thousands but this has to be taken with a very, very rough and unreliable estimate.
Best regards,
Peter -
Hi Xperts,
i know that we can test the query performance using the RSRT Debug mode.There so many options in RSRT i am so confused.
Can any body teach me or send me docs to test query performance suing RSRT.
[email protected]hi Nrupal,
check
http://help.sap.com/saphelp_nw70/helpdata/en/a0/2a183d30805c59e10000000a114084/frameset.htm
pdf BEx Monitor(RSRT) is available in SDN ...
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2d589190-0201-0010-f19a-c74465ce6e0f
also review query performance oss and docs
https://forums.sdn.sap.com/click.jspa?messageID=1182708
hope this helps. -
HOW TO USE A SINGLE PERFORM FOR VARIOUS TABLES ?
perform test TABLES t_header.
select
KONH~KNUMH
konh~datab
konh~datbi
konp~kbetr
konp~konwa
konp~kpein
konp~kmein
KONP~KRECH
FROM konh INNER JOIN konp
ON konpknumh = konhknumh
into table iTABXXX
"ANY TEMPERARY INTERNAL TABLE.
for all entries in t_header
where
konh~kschl = t_header-kschl
AND konh~knumh = t_header-knumh.
endform.
how can I use above perform for various internal tables of DIFFERENT LINE TYPES but having the fields KSCHL & KNUMH.u can use single perform....
just see this example......hope this is what u r expecting....
tables : pa0001.
parameters : p_pernr like pa0001-pernr.
data : itab1 like pa0001 occurs 0 with header line.
data : itab2 like pa0002 occurs 0 with header line.
perform get_data tables itab1 itab2.
if not itab1[] is initial.
loop at itab1.
write :/ itab1-pernr.
endloop.
endif.
if not itab2[] is initial.
loop at itab2.
write :/ itab2-pernr.
endloop.
endif.
*& Form get_data
text
-->P_ITAB1 text
-->P_ITAB2 text
form get_data tables itab1 structure pa0001
itab2 structure pa0002.
select * from pa0001 into table itab1 where pernr = p_pernr and begda le sy-datum and endda ge sy-datum.
select * from pa0002 into table itab2 where pernr = p_pernr and begda le sy-datum and endda ge sy-datum.
endform. " get_data
Regards
vasu -
Router can perform static route load balance
Dear All
I am not sure a question. I need your idea and help. The question is if the router can perform static route load balance. I tested it. The result showed No. If you have any experience on it, could share it with me. I also post my result here. Thank youDisclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Normally they can, but you generally need different next hops. How did you "test". -
How to re-route source & gate for Buffered Period in DAmx
I am trying to write a DAQmx program that does the follow :
(1) creates 1 PulseTrain task; this task routes is output to a requested pin with will be used as a SOURCE for a Buffered Period task.
(2) if requested creates a second PulseTrain who's output will be used as the Buffered Period GATE.
(3) the Buffered period task needs to assign ANY SOURCE,GATE and run till its stopped by the user.
Note that this task needs to "sample/read" its data and show it to the user.
My questions are :
(a) is the PulseTrain "output" re-route done OK ?
(b) how to re-route the Period source/gate - I used DAQmxSetChanAttribute, but I an not sure it is right
©) how to make the Period task write the data into "my program buffer" so I do not have to read it when "stop" is pressed.
I try to run with simulated devices on a P4 3.2GHZ running XP :
First TrainPulse - ctr0, out->RSTI0
Second TrainPulse - ctr1, out->RSTI1
Period - ctr2, source=RSTI1, gate=RSTI0
Running this program with a SIMULATED device - OK (data = 0). with the real device - I get error -200141
I included my code.
Attachments:
DaQmx test.zip 147 KBI have a new question
I need to create an event buffered task when the source=80mhz internal card timebase, gate=source of other counter (e.q for counter 1 use 0, for 3 use 2)
I know that with Traditional-DAQ it will look like )see attch file):
Now the convertion to DAQmx :
++++++++++++++++++++++++++++++
void SetupEvent(void)
if ( Internal.P6602_ID == -1 ) return;
sprintf(Chan,"Dev%d/ctr1",Internal.P6602_ID); // channel 1
DAQmxErrChk (DAQmxCreateTask("EventChan1",&DaqmxTasks.PCI_6602[1]));
DAQmxErrChk (DAQmxCreateCICountEdgesChan(DaqmxTasks.PCI_6602[1],Chan,"EventChan1",DAQmx_Val_Rising,0,
DAQmx_Val_CountUp));
DAQmxErrChk (DAQmxSetTimingAttribute (DaqmxTasks.PCI_6602[1], DAQmx_SampTimingType, DAQmx_Val_SampClk) );
DAQmxErrChk (DAQmxSetTimingAttribute (DaqmxTasks.PCI_6602[1], DAQmx_SampQuant_SampMode,DAQmx_Val_ContSamps) );
DAQmxErrChk(DAQmxSetTimingAttribute (DaqmxTasks.PCI_6602[1],DAQmx_SampQuant_SampPerChan, BUF_MAX));
// set source
DAQmxErrChk (DAQmxSetTimingAttribute (DaqmxTasks.PCI_6602[1], DAQmx_SampClk_Src, "/Dev1/80MHzTimebase"));
// and gate
sprintf(msg,"/Dev%d/ctr0Source",Internal.P6602_ID);
DAQmxErrChk(DAQmxSetChanAttribute (DaqmxTasks.PCI_6602[1], Chan, DAQmx_CI_CountEdges_Term, msg,0));
sprintf(Chan,"Dev%d/ctr3",Internal.P6602_ID); // channel 3
DAQmxErrChk (DAQmxCreateTask("EventChan3",&DaqmxTasks.PCI_6602[3]));
DAQmxErrChk (DAQmxCreateCICountEdgesChan(DaqmxTasks.PCI_6602[3],Chan,"EventChan3",DAQmx_Val_Rising,0,
DAQmx_Val_CountUp));
DAQmxErrChk (DAQmxSetTimingAttribute (DaqmxTasks.PCI_6602[3], DAQmx_SampTimingType, DAQmx_Val_SampClk) );
DAQmxErrChk (DAQmxSetTimingAttribute (DaqmxTasks.PCI_6602[3], DAQmx_SampQuant_SampMode,DAQmx_Val_ContSamps) );
DAQmxErrChk(DAQmxSetTimingAttribute (DaqmxTasks.PCI_6602[3],DAQmx_SampQuant_SampPerChan, BUF_MAX));
DAQmxErrChk (DAQmxSetTimingAttribute (DaqmxTasks.PCI_6602[1], DAQmx_SampClk_Src, "/Dev1/80MHzTimebase"));
sprintf(msg,"/Dev%d/ctr2Source",Internal.P6602_ID);
DAQmxErrChk(DAQmxSetChanAttribute (DaqmxTasks.PCI_6602[3], Chan, DAQmx_CI_CountEdges_Term, msg,0));
return;
Error:
Internal.StartStop = OFF;
if ( DAQmxFailed(error) ) DAQmxGetExtendedErrorInfo(errBuff,1024);
StopCallBack();
MessagePopup ("SetupEvent Error", errBuff);
return;
I am not sure this is the way to do it .
Can samebody help ?
Thanks, Galia
Attachments:
AutoScannerDAQCards.c 20 KB -
Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.
If I understand correctly, you want to do the following:
1. Create one or more tab-delimited files that specify a series of query strings (that LabVIEW will send to your products) and expected reply strings (that LabVIEW will look for in response to each query)
2. Run your LabVIEW program (the test engine) and have it execute one or more test scripts from file using either TCP/IP or serial communication to your units under test
3. Track how many of the queries are met with the expected response, and output an indication of whether each step passed or failed
If this is close to correct, then I've attached a sample test file and LabVIEW VI as an example; I chose the TCP/telnet method because it allowed me to use the ni.com Web site to simulate my tes
t hardware. If you happen to own the LabVIEW Internet Toolkit, there's a VI called "Telnet Play Script" in the Telnet palette that does something fairly similar using TCP. The same general model would also work for Serial communications.
Hope it helps,
John Lum
Attachments:
test_engine.zip 24 KB -
Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.
Hello j. smith,
TestStand gives you the ability to create "sequence files" which are lists of tests to be run sequentially or in parallel. These tests can be written in any language: LabVIEW VIs, C/C++ DLLs, EXEs, ActiveX objects, .NET Assemblies, etc.
You can run your TestStand sequence files from a command-line prompt using the following syntax:
\bin\SeqEdit.exe" /quit -run
This will launch the TestStand Sequence Editor (and optionally prompt you for TestStand login information if you have this configured), run your sequence file, then exit.
If you're using the TestStand process model, it can output your results to a report file or database if you configure this. To use a TestStand process mo
del to execute your sequence file, use the following syntax:
\bin\SeqEdit.exe" /quit -runEntryPoint
Here's an example:
C:\>"C:\Program Files\National Instruments\TestStand 3.0\bin\SeqEdit.exe" /quit -runEntryPoint "Single Pass" "C:\Program Files\National Instruments\TestStand 3.0\Examples\Demo\C\computer.seq"
Note that multiple sequences and sequence files can be specified on the command line.
TestStand supports remote sequence execution using DCOM (Distributed COM), which is an east way to remotely execute tests. But as for running tests or commands through a telnet or serial interface, you would have need to check Windows documentation on how to execute command-line remotely like this.
David Mc.
NI Applications Engineer -
How to test server proxy in ECC 6.0 ?
Hi,
Please tell me how to test server proxy created in SPROXY of ECC 6.0 .
I am following this blog XI: Debug your inbound ABAP Proxy implementation .
When i am executing the test service provider i am getting an error with " program terminated " message creating a dump .
How to test it through this method ? Is there any other way to test in ECC6.0
Thanks,
Laawanya DHi,
I have put a breakpoint in my proxy code and when i am trying to execute only, i am getting the error "Program terminated" .
I am using ECC6.0 , so when i am clicking on Test Interface, i am not getting "Application Data Entry" parameters as given in Stefan's blog , but I am getting something like:
Input:
1.Generate template Data
2.Enforce Stylesheet generation
(I have checked both 1 & 2 .)
Error Handling:
1.Don't catch Application faults
if i check this and execute , my program gets terminated , leaving a dump and if i dont set it also My program gets terminated .
So what to do now ?
Maybe you are looking for
-
Xorg fails to restart with nvidia propertiary driver
Hi! Dear fellow archers, I've got this little problem which is driving me crazy: after first successful start of xorg while booting ("kdm" is in the DAEMONS list in rc.conf), i can't get to start it once again (for example with "/etc/rc.d/kdm restar
-
Hi, I recently purchased a copy of Mac OS X Mountain Lion, after playing around with notification center I realized that if I get new mail I have to open my mail in the application so that it can appear in the notification center, why cant it just ap
-
Can you play a music video and still view itunes store?
I'd like to listen to a song I bought as a music video, but still view the itunes store. When i play the song it takes up the entire itunes window, is there any way to avoid this? I thought there was a way for it just to play in the bottom left corne
-
Is an iPhone app the best choice for our project?
Dear All, We are developing a travel tour idea for different locations within the US. Tour content can include video, audio, images and text, as well as maps and locations. We want to make our tours "in-depth" so that people can spend good quality
-
HT204053 How do I turn on my iCloud.?
How do I open my iCloud on my iPad..?.....