How to measure the bandwidth from a certain network.
Hi all,
I am trying to measure the BW from a certain network on my nic.
I have used snoop in order to do it.
The problem is I cannot snoop all day long...the snoop is taking resources from the machine.
Is there another way to do this?
tried several tools to measure BW, but none of them gave me the option to distinguish between hosts and networks.
BTW,
In order to measure the toal BW on the nic,
I am using SNMP MIB oids in order to determine how many packets were received and how many were sent. (but this is not what I need)
If you have an idea I will be glad to hear about it..
Thanks!
Tomer.
raw throughput measurement is typically done with a utility like "TTCP" or "IPERF". However even if you use the correct tool, if you are a newbie with network measurement you can make rookie mistakes. The common one I see is using a tool like TTCP with one stream to measure gigabit. You need to create at least a few streams and test with different numbers of streams. This is to better model what multi-streamed applications actually do on the wire to 'fill the pipe'. You then take those individual streams and total their throughput to get a number (and set expectations).
Just as multiple streams make a gigabit interface more efficient, there is a law of dimishing returns. You can see this by running multiple tests and adding in streams until the the total throughput starts to drop off.
This has been my experience with gigabit and TTCP. Nowadays you have 10gig on the scene and probably even larger NICs to come and I've not worked with these as much.
Also keep in mind that you never get 100Mbps on a 10/100 NIC or a full gigabit of throughput on a 10/100/1000 NIC.
The TTCP utility utilizes the "sender/receiver" method. That should work for your NIC on the problem network. Have one machine be a sender and the other a receiver, then swap them around. TTCP is a text based tool, no fancy GUI, just so you know.
and never, ever use applications like "ftp" to "measure" your throughput. Too much over head to get a "raw" reading AND single threaded apps don't fill the pipe as well.
hope that gets you started.
Similar Messages
-
How to retrieve the values from a table if they differ in Unit of Measure
How to retrieve the values from a table if they differ in Unit of Measure?
If no data is read
- Insure that you use internal code in SELECT statement, check via SE16 desactivating conversion exit on table T006A. ([ref|http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa0122493111d182b70000e829fbfe/frameset.htm])
If no quanity in result internal table
- There is no adqntp field in the internal table, so no quantity is copied in itab ([ref|http://help.sap.com /abapdocu_70/en/ABAPINTO_CLAUSE.htm#&ABAP_ALTERNATIVE_1@1@]).
- - Remove the CORRESPONDING, so quantity will fill the first field adqntp1. ([ref|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_WA.htm])
- - Then loop at the internal table and move the quantity when necessary to the 2 other fields.
* Fill the internal table
SELECT msehi adqntp
INTO TABLE internal table
FROM lipso2
WHERE vbeln = wrk_doc1
AND msehi IN ('KL','K15','MT').
* If required move the read quantity in the appropriate column.
LOOP AT internal_table ASSIGNING <fs>.
CASE <fs>-msehi.
WHEN 'K15'.
<fs>-adqnt2 = <fs>-adqnt1.
CLEAR <fs>-adqnt1.
WHEN 'MT'.
<fs>-adqnt3 = <fs>-adqnt1.
CLEAR <fs>-adqnt1.
ENDCASE.
ENDLOOP.
- You could also create another table with only fields msehi and adqntp and then collect ([ref|http://help.sap.com/abapdocu_70/en/ABAPCOLLECT.htm]) the data to another table.
Regards,
Raymond -
How to measure the baseline of a noisy, pulsed signal
Hi
I am measuring the torque exerted by a large motor on a shaft using a load cell and lever arm. The shaft runs at approx 150 rpm. I have attached a drawing that shows the output I get. This is a test rig.
I have written some code that measures the maximum peak out of a group of approx 5 peaks and writes this to a shift register. This gives me an idea of the maximum torque "spike".
I also wish to measure the baseline torque (due to the bearings in the machine). Even when highly filtered (my noise filter is set to 49Hz) the signal exhibits this noise which is probably due to vibration in the system. The signal is zeroed when the motor is not running.
Does anyone have an ideas on how to measure the "baseline" torque? The large spike in torque prevents me from doing a running average. Can anyone think of a way of averaging just the noisy part of the signal to get an average value? I aim to to subtract the average baseline torque from the peak value to get an idea of the torque due to the event which causes
the spike.
Any help would be greatly appreciated.
Many thanks.
Attachments:
drawing of torque signal.gif 26 KBThanks for the reply. I understand what you are saying. However, I might have to modify my method for measuring the peaks if I choose to implement your idea. I have taken a screenshot of my "peak finder" code and attached it.
Bascially, the reset terminal is wired to a timer which outputs a pulse every few seconds. This resets the vi (a standard NI one I think) and sets the peak magnitude back to zero. This way, I am windowing the signal and measuring the maximum peak in every window. This is what I need to do.
So I could use a logical filter to feed data to the running average only if;
the amplitude of the signal is less than a certain threshold
and if the current value has similar low peaks either side of it
How would you construct the code to delay the evaluation so that the values in front and behind of the current data point can be analysed?
thanks again
Attachments:
peak_find_screenshot.jpg 45 KB -
How to determine the bandwidth of a particular frequency in Labview?
Hallo,
After i determined the frequency of a signal, i want to measure the bandwidth of this frequency. how can i do that in labview? is there a block which can calculate it directly?
thanks in advance..If I remember correctly, the BANDWIDTH is defined as the frequency distance between the -3dB points, relative to the peak.
It's not correct to say "the bandwidth of a frequency", you measure the bandwidth of some process, say an amplifier or a filter.
If you have a spectrum sweep of this filter, then you just measure the peak amplitude and look on both sides for the places where it crosses the 3dB down amplitudes. The difference between those frequencies is your bandwidth.
If it's a narrow bandwidth, you'll have to pay attention to how FFT works or you won't get a good answer from an FFT. If your FFT frequency resolution is low, your precision will be low as well.
I don't think there are any canned solutions for you.
HTH
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks -
How to measure the size of an object written by myself?
Hi all,
I'm going to measure the performance on throughput of an ad hoc wireless network that is set up for my project. I wrote a java class that represents a particular data. In order to calculate the throughput, I'm going to send this data objects from one node to another one in the network for a certain time. But I've got a problem with it- How to measure the size of an object that was written by myself in byte or bit in Java? Please help me with it. Thank you very much.LindaL22 wrote:
wrote a java class that represents a particular data. In order to calculate the throughput, I'm going to send this data "a data" doesn't exist. So there's nothing to measure.
objects from one node to another one in the network for a certain time. But I've got a problem with it- How to measure the size of an object that was written by myself in byte or bit in Java? Not. -
How to measure the performance of Extractor
Hi,
How to measure the time taken to by the extractor when executed from rsa3 for a given selection?
Lot of threads speak about ST05... but these transactions are too granular to analyse.
How to get the overall time taken.i need the overall time taken and the time taken by the individual SQL statements... please provide specific pointers.
Thanks,
BalajiMaybe SE30 can help you....
Regards,
Fred -
How to measure the performance of sql query?
Hi Experts,
How to measure the performance, efficiency and cpu cost of a sql query?
What are all the measures available for an sql query?
How to identify i am writing optimal query?
I am using Oracle 9i...
It ll be useful for me to write efficient query....
Thanks & Regardspsram wrote:
Hi Experts,
How to measure the performance, efficiency and cpu cost of a sql query?
What are all the measures available for an sql query?
How to identify i am writing optimal query?
I am using Oracle 9i... You might want to start with a feature of SQL*Plus: The AUTOTRACE (TRACEONLY) option which executes your statement, fetches all records (if there is something to fetch) and shows you some basic statistics information, which include the number of logical I/Os performed, number of sorts etc.
This gives you an indication of the effectiveness of your statement, so that can check how many logical I/Os (and physical reads) had to be performed.
Note however that there are more things to consider, as you've already mentioned: The CPU bit is not included in these statistics, and the work performed by SQL workareas (e.g. by hash joins) is also credited only very limited (number of sorts), but e.g. it doesn't cover any writes to temporary segments due to sort or hash operations spilling to disk etc.
You can use the following approach to get a deeper understanding of the operations performed by each row source:
alter session set statistics_level=all;
alter session set timed_statistics = true;
select /* findme */ ... <your query here>
SELECT
SUBSTR(LPAD(' ',DEPTH - 1)||OPERATION||' '||OBJECT_NAME,1,40) OPERATION,
OBJECT_NAME,
CARDINALITY,
LAST_OUTPUT_ROWS,
LAST_CR_BUFFER_GETS,
LAST_DISK_READS,
LAST_DISK_WRITES,
FROM V$SQL_PLAN_STATISTICS_ALL P,
(SELECT *
FROM (SELECT *
FROM V$SQL
WHERE SQL_TEXT LIKE '%findme%'
AND SQL_TEXT NOT LIKE '%V$SQL%'
AND PARSING_USER_ID = SYS_CONTEXT('USERENV','CURRENT_USERID')
ORDER BY LAST_LOAD_TIME DESC)
WHERE ROWNUM < 2) S
WHERE S.HASH_VALUE = P.HASH_VALUE
AND S.CHILD_NUMBER = P.CHILD_NUMBER
ORDER BY ID
/Check the V$SQL_PLAN_STATISTICS_ALL view for more statistics available. In 10g there is a convenient function DBMS_XPLAN.DISPLAY_CURSOR which can show this information with a single call, but in 9i you need to do it yourself.
Note that "statistics_level=all" adds a significant overhead to the processing, so use with care and only when required:
http://jonathanlewis.wordpress.com/2007/11/25/gather_plan_statistics/
http://jonathanlewis.wordpress.com/2007/04/26/heisenberg/
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
How to measure the rotational speed by using rotary encoder and 1 counter?
I want to measure the rotational speed of a shaft, and I have below hardware:
1, a rotary encoder, with A,B,Z signals output;
2, PCI-E6363 card.
I do konw how to use such a encoder to measure the rotational angle by using the function "DAQmxCreateCIAngEncoderChan", but this time I need to measure the speed(rpm), as well as the dirction of the speed, which means a negative speed represent a CCW rotate direction.
More detail informations:
for the encoder, the A,B signal is 600ppr, and Z signal is 1ppr
the rotatinal speed is in range: -300 ~ 5000 rpm.
some one suggested me that I can use the "DAQmxCreateCIAngEncoderChan" task to measure the angle firstly and then do the differential analysis with the angle. but I have to enable the Z index function, and it's hard to calculate when the shaft speed is fast then 2500rpm.
Anyone can help me on this issue?
Thanks in advance!RobertoBozzolo:
Thansk for your reply. You are right that measure frequency to get the speed is the best way, but it's hard to get the dirction at the same time. You suggest me that "perform two angle measurements to get the sense of rotation", but I'm not sure I catched what you mean about this. I try to understand your opinion like this: distribute the signals to 2 counters, and start 2 tasks, one for frequency, the other for angle which used for deciding the dirction?
And by the way, in my application, the counter is limited:
I'm using PCI-E6363, which have 4 counters totally, and I have to measure 4 different speed sensors at the same time, so that means only 1 counter for me to measure the speed and the dirction.
RobertoBozzolo 已写:
To measure the speed from the encoder you can simply follow some of the frequency measurement examples that ship with DAQmx, considering that speed (rpm) is given by frequency (Hz) on one encoder output / 600 (ppr) * 60 (s->min) = frequency / 10.
Difficult is to add a sign to this measurement: frequency measurement gives you no information about sense of rotation, so I suppose you could perform two angle measurements to get the sense of rotation and then get the speed as above. -
How can I stop Siri from speaking certain words as I text??? It is so annoying and unnecessary!
Actually, I did notice the thread age. However, this phenomenon only appeared with mu phone in the last week.
You and I both would hope that it was corrected long ago, but that is evidently not the case.
I added information that will be useful for anyone else encountering my recent situation, now or perhaps in some distant future.
If you are aggravated by notices re: threads over two years old, perhaps you should disengage from the thread in lieu of making
snarky remarks to those of us still getting useful information from them. -
How to remove the worksets from the Top level navigation for the ESS role.
Hi All,
I am working on enabling and disabling certain services in the ESS worksets.
we are using EP 7.0, ECC 6.0 (NW2004s).
When I login as a user with ESS role, I can view the changes in the overview pages. However, the worksets are still visible in the TOP Level navigation of th poral. can anyone please explain me how to remove the workset from the Top level navigation.
Thanks for your help
Regards
SMHi,
Go to the ESS role via Content Admin, then double click the workset (or page or iview) and in the drop down select navigation. Then click the <i>Yes</i> radio button of the "<i>Invisible in Navigation</i>" property. -
How to measure CPU utilization from Oracle AWR
Hi All,
How to measure the cpu usage % from the AWR reports.
Oracle : 10.2.0.3
OS : AIX 5300-12-02
I see the top 5 waited events listing CPU time in it.
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time Wait Class
CPU time 98,655 40.0
Is it mean that the CPU utilization is full to its 100%. Is there any other way to measure how much an oracle instance is utilizing the CPU ?
Please advice.
TIA,
NvHi,
Check this script, if possible run in toad.
col LastCallET format 99,999
col cpumins format 99,999
col status format a1 trunc
col module format a20
col username format a15
col logontime format a12
col machine format a15 trunc
col sid format 9999
select * from (
select 'P',s.sid, s.status, t.value/100/60 cpumins ,
floor(last_call_et/60) "LastCallET",
to_char(s.logon_time,'mm/dd hh24:mi') logontime,
s.username,s.process, p.spid, s.module , s.machine, s.sql_hash_value
from v$sesstat t, v$session s, v$process p
where t.statistic# = 12
and s.sid = t.sid
and s.paddr = p.addr
and s.type = 'USER'
and s.sql_hash_value != 1425819161
union
select 'N',s.sid, s.status, t.value*-1/100/60 cpumins ,
floor(last_call_et/60) "LastCallET",
to_char(s.logon_time,'mm/dd hh24:mi') logontime,
s.username,s.process, p.spid, s.module , s.machine, s.sql_hash_value
from v$sesstat t, v$session s, v$process p
where t.statistic# = 12
and s.sid = t.sid
and s.paddr = p.addr
and s.type = 'USER'
and s.sql_hash_value != 1425819161
and t.value < 0
order by 4 desc)
where rownum < 11
Regards,
Satya. -
How to measure the task instance size
I am trying to understand how to measure the custom task instnace size that was occupied in the cache repository. Is there a way to obtain the size (in KB s ) in lighthouse 4.1 +sp5. Please help.
Hi, Luiz!
In order to estimate the instance size, you will have to sum up all the instance variables size.
From the practical prospective it may be difficult to use the algorithm in cases when your instance variables are not simple types.
For already existing instances, you can look the instance size in the database:
An instance is just a java object, that is serialized as a byte[] and stored in the engine database, PPROCINSTANCE table, column INSTDATA.
You can write a simple program (either java or SQL plus) that would read the instance from the BLOB and measure the size.
And yes, with large instances you can have performance problems. -
Can I measure the frequency from all PFI pins?
I am using a PCI-6229 DAQmx card. I am trying to measure the frequency from pin PFI 5. I have been successful in measuring frequency from PFI0 and PFI1 but for some reason I am not able to measure on other pins. When I run the run the DAQmx Read sub VI it times out like it is not reading anything. I am using the same sub VI I created to measure 5 as I did 0 and 1 so I know that the VI is working. What is the matter? Are there only certian pins that I can measure? Would the sub VI time out because there is no signal on the pin?
Hello Flowserve1,
Thanks for your post!
The basic answer to your question, "Would the sub VI time out because there is no signal on the pin?", Is yes if there is no signal coming into the pin your are bring a signal in on. It sounds like you were able to do a "frequency" measurement on PFI0 and PFI1? Usually the counter tasks are used for such a measurement. How are you performing these frequency counter tasks on your PFI lines? It looks like on the pin read out that PFI0,1 and 5 are for digital tasks and PFI routing lines. Are you internally routing your signals to other places? If you want to measure the frequency using counters, this board has two of them so use Ctr 0 and 1 gate or source to make these measurements. Let me know if any of this helps you and perhaps you could post a piece of your code that you are using to make your frequency counts.
Cheers!
Corby_B
http://www.ni.com/support -
Hi all
I would like to know how to measure the duration for which the "over temperature" is in on state in the example "Temperature system Demo.vi"
i would also like to measure the transisent in a sine waveform.
thanks in advance.
with regards,
McFerra
Attachments:
Temperature System Demo.vi 49 KBHi McFerra,
Find the attach vi that can solve your question..
enjoy..
DoN't FoRgEt To cLiCk KuDoS.....!!!
Greeting from India,
Malhar
Attachments:
Temperature System Demo.vi 46 KB -
How to measure the pulse duration of a TTL signal using AI?
Hi there.
I would like to know how to measure the pulse duration of a TTL signal using an Analog input.
These TTL signals comes from an ultrasonic sensor's output. The pulse width of the signal is
proportional to the distance of the object the sensor detected.
I have tried using the example "Measure Pulse Width.vi" which uses a counter to measure the
pulse duration instead. It provides me with correct results.
However, i will like to know how can i do it using the AI instead.
I tried it by using the example "Acq&Graph Voltage-Int Clk.vi" which i modified by including a
timing and transistion measurement vi. Pulse duration was selected as the output. A graph indicator was also added at the output of the pulse duration to monitor the incoming TTL signals.
However, everytime the TTL signals was detected on the graph indicator, the numeric indicator always produce a "zero" reading.
I have attached my vi for your reference.
Can anybody advice me what i have done wrongly?
Regard.
Attachments:
Acq&Graph Voltage-Int Clkv1.vi 190 KBHi Paul,
Today i tried using 2 different methods to read the pulse duration of my sensor signal.
Both methods use "Acq&Graph Voltage-IntClk" vi as a guide.
Method1:
Add a filter vi(lowpass/bandpass) and a timing and transition measurements vi.
Pulse duration is selected as the output. With some numeric conversion, a centimeter
reading indicator was created. However, the reading always remains as "zero"
Method2:
Add a Mask and Limit Testing vi and a timing and transition measurements vi.
By adjusting my upper and lower limits, i manage to "filter" a single pulse out from the actual signal.
However, like the earlier case, the cm reading still remains at "zero"
I have attached both the methods resulted waveforms for your reference.
Are there anything that you can advice on?
Regard.
Attachments:
Results_Waveforms.doc 141 KB
Maybe you are looking for
-
While trying to update, I first updated from my iPad, and it got stuck multiple times (between resets by holding power and home button) about ⅚ through the second progress bar. Now I put it in recovery mode, and updated via iTunes. The progress bars
-
Set delivery completed flag with a program
Hi, We have a need of setting the delivery completed flag on a lot of POs. Is there a program that we can use for that? br Anders Edited by: Anders Öhrling on Aug 10, 2011 5:42 PM
-
Cannot connect Playbook to computer. Tried all fixes.
Hey, since a few weeks my PlayBook just cannot connect to my computer. The desktop software sees it but doesn't mount it, nor can it access files. I have seen fixes about TCPIP NetBios Helper service not running or anti-virus. Nothing helps. I can s
-
My i-pad 2 speaker sound has started playing up. Sound works fine thru headphone jack but only some times thru the speaker. Volume control on the ipad doesnt work and the on-screen slider volume controller is missing on apps like music, videos and u-
-
How to exclude the manually create SAP PO from MRP Run?
Dear all There is this situation that due to the long procurement lead time, certain PO is created manually in SAP in advance based on the sales order enquiry made by customer. (In normal case, we will create a sales order in SAP and then run MRP to