Packet Size

608 views
Skip to first unread message

Darryl Mitchell

unread,
Jun 23, 2012, 7:24:58 AM6/23/12
to osti...@googlegroups.com
Hello, I am pretty new to network traffic generators and upon research found yours to be the most straight forward to use. But I have a question pertaining to generating a packet to a specific size. To put it more bluntly I would like to send packets of 10MB, 20MB, 40MB,...400MB using Ostinato but I am not sure how configure the packet details. The program refers to packet size but doesn't really say how many bits or bytes the packets contain. The time needed to send these packets is not important for my project, meaning the time can be as short or as long as it needs to be. I will be using 2 gigabit ethernet ports between 2 laptops with one acting as the drone. So basically I want to know how do I adjust the size(bit wise) of the packets.

Carlos G Mendioroz

unread,
Jun 23, 2012, 11:19:52 AM6/23/12
to Darryl Mitchell, osti...@googlegroups.com
Darrel,
may I ask what are you trying to do ?
Ostinato deals with generating packets fast and steadily. If time is not
important, any program can fit the bill.
Also, MTU of the board is going to be not much more than 9kB, the
largest I've seen is 16kB, so 10MB is going to be fragmented for sure.

-Carlos

Darryl Mitchell @ 23/06/2012 08:24 -0300 dixit:
> --
> Get Ostinato News and Updates on Twitter - Follow @ostinato
> (http://twitter.com/ostinato)
> ---------
> You received this message because you are subscribed to the Google
> Groups "ostinato" group.
> To post to this group, send email to osti...@googlegroups.com
> To unsubscribe from this group, send email to
> ostinato+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ostinato?hl=en

--
Carlos G Mendioroz <tr...@huapi.ba.ar> LW7 EQI Argentina


Srivats P

unread,
Jun 23, 2012, 11:30:03 AM6/23/12
to Darryl Mitchell, osti...@googlegroups.com
Darryl

You can specify the packet size in the "edit stream" dialog, "protocol
selection" tab on the top right corner. It is called "frame length
(including CRC)" - the unit size is 'bytes'.

Each packet has an overhead on the wire of 20 bytes of preamble and
inter-packet gap - so a 64 bytes packet that you configure in Ostinato
will be 84 bytes on the wire.

To send 'x' MB (mega byte) of data using 'y' sized packets, you need
to send (x*1024*1024)/y number of packets

The number of packets can be specified in "Stream Control" tab of the
"edit stream" dialog

Let me know if you have any more questions.

Srivats
> --
> Get Ostinato News and Updates on Twitter - Follow @ostinato
> (http://twitter.com/ostinato)
> ---------
> You received this message because you are subscribed to the Google Groups
> "ostinato" group.
> To post to this group, send email to osti...@googlegroups.com
> To unsubscribe from this group, send email to
> ostinato+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ostinato?hl=en



--
http://ostinato.org/
@ostinato

Srivats P

unread,
Jun 26, 2012, 8:18:47 AM6/26/12
to Darryl Mitchell, ostinato
Darryl,

The procedure is correct ...

... as long as you are using the correct portgroup. The portgroup
titled (127.0.0.1) represents the drone running on the computer
running Ostinato. If you wish to send packets out of this computer -
you should be fine. However, if you want to send packets out of a
remote computer (not the one running Ostinato), you need to run drone
on that remote computer and from Ostinato add and connect to that port
group (computer) - then select the port from within that port group.

If the above is confusing then, as Carlos asked earlier, it might be
better to know what you are trying to do here - the big picture of
what you intend to do.

Btw where did you find different instructions from the one that you are using?

Srivats

On Tue, Jun 26, 2012 at 3:01 AM, Darryl Mitchell <dmitc...@live.com> wrote:
> I have a basic question. what is the procedure to send packets from one
> computer to another. Meaning how do I send packets from the master to the
> drone. The procedure I have been following is:
>
> -extend the port group of the master, click on the port that I will be using
> to transmit the packets
> -edit the stream, then click apply
> -select the entire column of the master's port group and port that I will be
> using and start the transfer.
>
> I ask this question because I have found several different instructions
> online with ways on how to do this and I would like to know which is the
> correct way.
>
>> Date: Sat, 23 Jun 2012 21:00:03 +0530
>> Subject: Re: [ostinato] Packet Size
>> From: psta...@gmail.com
>> To: dmitc...@live.com
>> CC: osti...@googlegroups.com
--
http://ostinato.org/
@ostinato

Darryl Mitchell

unread,
Jul 19, 2012, 6:56:16 PM7/19/12
to osti...@googlegroups.com
I am trying to configure Ostinato to send at 1 Gigabit/sec but I am having difficulties.I am using a gigabit ethernet card and a gigabit switch, but the fastest Ostinato will go is about 700 Mbits/sec.  First off is it even possible with Ostinato and if so how.

Srivats P

unread,
Jul 20, 2012, 11:57:31 AM7/20/12
to Darryl Mitchell, osti...@googlegroups.com
Darryl,

What packet size are you using? Does packet size matter for you when
you want to hit 1Gbps? If not, use the largest packet size you can.

Also see http://code.google.com/p/ostinato/wiki/FAQ#Q._What_is_the_maximum_transmit_rate_that_Ostinato_supports?

Srivats

jamgill

unread,
Jul 20, 2012, 2:47:44 PM7/20/12
to Darryl Mitchell, osti...@googlegroups.com

What's your hardware configuration?   What OS are you running?  Natively, or in a VM?

--jg



On Thu, Jul 19, 2012 at 6:56 PM, Darryl Mitchell <dmitc...@live.com> wrote:
I am trying to configure Ostinato to send at 1 Gigabit/sec but I am having difficulties.I am using a gigabit ethernet card and a gigabit switch, but the fastest Ostinato will go is about 700 Mbits/sec.  First off is it even possible with Ostinato and if so how.

--
Reply all
Reply to author
Forward
0 new messages