Skip to contentSkip to conversation

Try to fill route cache

DISCUSSION Markus Wenke 3 participants 5 messages Jan 31, 2007 – Feb 4, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I try to test a programm, that manages ca. 120000 connections at the same time.

Now I want to test it with a full route cache. I can only test it from some Test-PC's.
So the route cache ist nearly empty all the time.

I tried to fill the route cache with pktgen amongst others with the appended configuration, but my route cache is always nearly empty. In my log this error appears: "eth0: too many iterations (6) in nv_nic_irq."

I use Kernel "2.6.16.13-4-smp".

Where is the problem ?

Thanks in advance

Markus Wenke

------------------------------------
CLONE_SKB="clone_skb 1"
PKT_SIZE="pkt_size 60"
#COUNT="count 0"
COUNT="count 10000000"

PGDEV=/proc/net/pktgen/eth0
echo "Configuring $PGDEV"
pgset "$COUNT"
pgset "$CLONE_SKB"
pgset "$PKT_SIZE"
pgset "flag IPDST_RND"
pgset "dst_min 5.0.0.0"
pgset "dst_max 5.255.255.255"
pgset "flows 32768"
pgset "flowlen 10"
----------------------------------

#1 lore raw
Quoted 2 lines · Markus Wenke

Where is the problem ?

pktgen doesn't use the routing cache.

-Andi

#2 lore raw
Quoted 8 lines · Andi Kleen
Quoted 2 lines · Markus Wenke

Where is the problem ?

pktgen doesn't use the routing cache.

Is there any other chance to test my Application with a stressed route cache?

thanks

Markus

#3 lore raw
Quoted 9 lines · Markus Wenke
Quoted 4 lines · Andi Kleen
Quoted 1 line · Markus Wenke

Where is the problem ?

pktgen doesn't use the routing cache.

Is there any other chance to test my Application with a stressed route cache?

I am not sure I understood your stress environment.
Do you use several machines ?
If yes, then the route cache of the destination machine should be filled...

#4 lore raw
Quoted 10 lines · Eric Dumazet
Quoted 8 lines · Markus Wenke
Quoted 6 lines · Andi Kleen
Quoted 2 lines · Markus Wenke

Where is the problem ?

pktgen doesn't use the routing cache.

Quoted 10 lines
Quoted 4 lines

Is there any other chance to test my Application with a stressed route cache?

I am not sure I understood your stress environment.
Do you use several machines ?
If yes, then the route cache of the destination machine should be filled...

I stress my server from ca. 7 machines.
Every machine runs some test-programms, every testprogram stress the server with some threads.

I use only 7 real machines, so my route cache ist not stressed or?

thanks in advanced

Markus Wenke