what are the methods to test QoS functions (specifcally I'm interested in
traffic shaping, scheduling) without packet generators Smartbits or Ixia,
but having only a few PCs and a target board running some code on L2 switch?
So basically, I'm trying to implement QoS support for a Ethernet chip, i.e.
QoS per se is done in hardware, my software is doing configuration and
monitoring, and thus I want to check if it really works or not.
Let's say, connect one PC to port 1 of the board and second PC to port 2, I
can generate traffic via port 1 and expect to be shaped or scheduled
accordingly -- what is the sdcenario, or procedure, to do this? What tools,
utilities I could use for this, provided that both PCs and the board run
Linux?
Thanks.
I'd expect you to need more than two hosts ... ? But I don't know your
requirements.
> What tools,
> utilities I could use for this, provided that both PCs and the board run
> Linux?
Assuming you really only need a handful of endpoints:
- All the normal command-line tools and scripting languages
- Its configurable IP stack
- Its firewall
- ...
The "normal tools" I'd use would include ping, netcat, wget, ssh and
rsync. And the TCP and UDP flavors of the 'echo' and 'chargen' services.
Maybe you want one single tool which gives you one simple answer instead.
Someone else will have to mention those -- I don't know them.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
I would not presume to call it a drop-in replacement for smartbits or
ixia, but I do have a certain fondness for netperf:
which can be used to generate bulk streams, request/response traffic,
etc.
happy benchmarking,
rick jones
--
It is not a question of half full or empty - the glass has a leak.
The real question is "Can it be patched?"
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
>Hello,
>
>what are the methods to test QoS functions (specifcally I'm interested in
>traffic shaping, scheduling) without packet generators Smartbits or Ixia,
>but having only a few PCs and a target board running some code on L2 switch?
>So basically, I'm trying to implement QoS support for a Ethernet chip, i.e.
>QoS per se is done in hardware, my software is doing configuration and
>monitoring, and thus I want to check if it really works or not.
>
1st bit is that it is difficult to do any QoS testing for a switch or
router unless you can overload a port.
So - traffic into 1 port faster than the output, or into 2 ports same
speed as the output.
2nd is that before you test your switch, test the PCs "back to back" -
because they may well not get to wire speed on a Gigabit Ethernet
port...
>Let's say, connect one PC to port 1 of the board and second PC to port 2, I
>can generate traffic via port 1 and expect to be shaped or scheduled
>accordingly -- what is the sdcenario, or procedure, to do this? What tools,
>utilities I could use for this, provided that both PCs and the board run
>Linux?
The way we do this at work is to start simple and add complications.
a. 2 PCs back to back
b add switch without any qos enabled.
c add qos
etc
you are looking for how things change between tests.
1 place the Smartbits etc win is with scripting the tests so you can
re-run a varient of the same test, increasing load each time and show
the trends in the results, (or adding more IP subnets, or multicast
addresses or whatever you are stressing).
>
>Thanks.
>
Good luck
- most tests seem to find problems with the test rig and software a
big chunk of the time :)
--
Regards
stephe...@xyzworld.com - replace xyz with ntl
That's not functionality; that's stuff that is internal to the chip,
and can only be verified by looking at its counters if it has any.
The /functionality/ would be how traffic with different COS values
affect the dropping of each other during heavy load.
I suppose you could set up something like this:
host A: addr A ----- SUT ------ addr B0 : host B
addr B1
addr B2
And add iptables rules to rewrite COS on traffic
to B0, B1 and B2.