Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2006 21:59:58 +0300
From:      vladone <vladone@spaingsm.com>
To:        ipfw@freebsd.org
Subject:   about hash_size, max_chain_len and buckets
Message-ID:  <58885595.20060715215958@spaingsm.com>

next in thread | raw e-mail | index | archive | help
Hi!
I have some questions about this parameters.
Default value for this are:
net.inet.ip.dummynet.hash_size: 64
net.inet.ip.dummynet.max_chain_len: 16

I want understand some thinks!
64X16=1024 (this is right :) )
Now questions:
1. If i have more than 1024 pipe or queue, what is happening?
2. if pipe or queue are dropped when exceed this value (1024), what
need to increase, hash_size or max_chain_len?
3. I have for example this situation:
   one pipe, with two queue connected, with mask option
   this is what show command "ipfw queue show":
   q00001: weight 1 pipe 1   20 sl. 45 queues (64 buckets) droptail
   q00002: weight 10 pipe 1   20 sl. 44 queues (64 buckets) droptail
   a) how many queue can have with default settings?
   b) how many queue are in pipe 1? 45+44?
   c)if i have this situation:
        q00001: weight 1 pipe 1   20 sl. 3000 queues (64 buckets) droptail
        q00002: weight 10 pipe 1   20 sl. 3000 queues (64 buckets) droptail
   what settings need to make for pipe 1 and queue's 1 and 2
   (refering to buckets parameter, that is same with hash_size but affect only pipe or queue where are defined),
   or to hash_size respectively max_chain_len, in order to work right?

Thanks anticipate anyone for reply, and i think that disscution is
good to clear up this elements!

-- 
Best regards,
 vladone                          mailto:vladone@spaingsm.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58885595.20060715215958>