[codes-ross-users] codes simple net problems

于雷(Yu Lei) yulei at buaa.edu.cn
Fri Sep 30 04:23:40 CDT 2016


Hi John,

we have two questions about simple-net model.

1/If we want to transfer "big data" between two servers, like 100GB, we 
only need to set the parameter message_size to 100*1024*1024*1024 in the 
method model_net_event_return model_net_event_annotated(
         int net_id,
         char const * annotation,
         char const * category,
         tw_lpid final_dest_lp,
         uint64_t message_size,
         tw_stime offset,
         int remote_event_size,
         void const * remote_event,
         int self_event_size,
         void const * self_event,
         tw_lp *sender);

Am I right? Because when we change the parameter message_size to 
100*1024*1024*102, the simulation becomes very slow.

2/In the configuration file of simple-net, net_bw_mbps="4000" means the 
bandwidth is 4000*1024*1024 bit/s and   4000*1024*1024/8 byte/s?

Thanks,


Lei





More information about the codes-ross-users mailing list