about hash_size, max_chain_len and buckets
vladone
vladone at spaingsm.com
Sat Jul 15 19:00:28 UTC 2006
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 at spaingsm.com
More information about the freebsd-ipfw
mailing list