trema / trema-edge

Transient repository for Trema OF1.3 branch
27 stars 14 forks source link

reduce memory usage #74

Closed iHiroakiKawai closed 11 years ago

iHiroakiKawai commented 11 years ago

create_hash allocates default_hash_size=65521, and that is too much for the following variables for switch implementation.

in messenger.c

active transaction id with hash size 16 is small.

in openflow_switch_interface.c

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling 565fc65b8eb3a66c3ebc15aff23cf4b14b8311e8 on iHiroakiKawai:hash_size into 1c47e6ca9ff111e90afc1e9435ae2b0c02a8d8e6 on trema:master.