[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] How can I Modify Hash Classifier in DRR?



Hi. I Install ns2.1b6-allinone and try to test DRR scheduling.
I modify test-drr.cc file to test many source and destination node( about 1024 sender and 1 router, 1 receiver). Something strange thing is that I didn't add "$ns set-address-format expanded" but no error. ?.?
 
Anyway, I set buckets to 2^15 but when I use very many source nodes, conflicting occurs.
 
How can I solve this problem???
 
I want to modify drr's hash function. So never confilcting occurs...
How can i do this?
Should i change hash function? or... other method?
 
I have about 256M(realy memory)+256M swap.
 
I Need not collision. I mean... simulation time doesn't matter to me.
 
Any information or suggestion thx.
 
__
 
Choi YoungSoo
e-m@ail   : mailto:[email protected]
icq       : 43998959
myh0me    : http://palgong.knu.ac.kr/~guru0109
TeNet Lab : http://tenet.knu.ac.kr/