LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Try to fill route cache
@ 2007-01-31 12:42 Markus Wenke
  2007-02-02 13:10 ` Andi Kleen
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Wenke @ 2007-01-31 12:42 UTC (permalink / raw)
  To: linux-kernel

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"
----------------------------------



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Try to fill route cache
  2007-01-31 12:42 Try to fill route cache Markus Wenke
@ 2007-02-02 13:10 ` Andi Kleen
  2007-02-02 15:19   ` Markus Wenke
  0 siblings, 1 reply; 5+ messages in thread
From: Andi Kleen @ 2007-02-02 13:10 UTC (permalink / raw)
  To: Markus Wenke; +Cc: linux-kernel

Markus Wenke <M.Wenke@web.de> writes:
> 
> Where is the problem ?

pktgen doesn't use the routing cache.

-Andi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Try to fill route cache
  2007-02-02 13:10 ` Andi Kleen
@ 2007-02-02 15:19   ` Markus Wenke
  2007-02-02 16:18     ` Eric Dumazet
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Wenke @ 2007-02-02 15:19 UTC (permalink / raw)
  To: linux-kernel

Andi Kleen schrieb:
> Markus Wenke <M.Wenke@web.de> writes:
>   
>> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Try to fill route cache
  2007-02-02 15:19   ` Markus Wenke
@ 2007-02-02 16:18     ` Eric Dumazet
  2007-02-04 20:02       ` Markus Wenke
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Dumazet @ 2007-02-02 16:18 UTC (permalink / raw)
  To: Markus Wenke; +Cc: linux-kernel

On Friday 02 February 2007 16:19, Markus Wenke wrote:
> Andi Kleen schrieb:
> > Markus Wenke <M.Wenke@web.de> writes:
> >> 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...


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Try to fill route cache
  2007-02-02 16:18     ` Eric Dumazet
@ 2007-02-04 20:02       ` Markus Wenke
  0 siblings, 0 replies; 5+ messages in thread
From: Markus Wenke @ 2007-02-04 20:02 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: linux-kernel

Eric Dumazet schrieb:
> On Friday 02 February 2007 16:19, Markus Wenke wrote:
>   
>> Andi Kleen schrieb:
>>     
>>> Markus Wenke <M.Wenke@web.de> writes:
>>>       
>>>> 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...
>
>   
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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-02-04 20:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 12:42 Try to fill route cache Markus Wenke
2007-02-02 13:10 ` Andi Kleen
2007-02-02 15:19   ` Markus Wenke
2007-02-02 16:18     ` Eric Dumazet
2007-02-04 20:02       ` Markus Wenke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).