ANtsMUTE.ppt

上传人:土8路 文档编号:11815039 上传时间:2021-09-18 格式:PPT 页数:35 大小:185KB
返回 下载 相关 举报
ANtsMUTE.ppt_第1页
第1页 / 共35页
ANtsMUTE.ppt_第2页
第2页 / 共35页
ANtsMUTE.ppt_第3页
第3页 / 共35页
ANtsMUTE.ppt_第4页
第4页 / 共35页
ANtsMUTE.ppt_第5页
第5页 / 共35页
点击查看更多>>
资源描述

《ANtsMUTE.ppt》由会员分享,可在线阅读,更多相关《ANtsMUTE.ppt(35页珍藏版)》请在三一文库上搜索。

1、,Network size with 4 connections per node (ANts),After 1 hop you can reach 4 nodes,Network size with 4 connections per node (ANts),After 2 hop you can reach 42 = 16 nodes,Network size with 4 connections per node (ANts),After 3 hop you can reach 43 = 64 nodes,Network size with 4 connections per node

2、(ANts),In a network of N nodes the average hops to reach any other node is logc N Where c is the mean number of connections per node,Network size with 10 or more connections per node (MUTE),In a network of N nodes the average hops to reach any other node is logc N Where c is the mean number of conne

3、ctions per node,Network size with 10 or more connections per node (MUTE),In a network of N nodes the average hops to reach any other node is logc N log10 100 = 2 So with 100 nodes we have still just 2 hops In the mean case,Network size with 10 or more connections per node (MUTE),If the net has less

4、than 100 nodes then the following inequality will hold log10 N 2 iif N 100 So we have an average hops number to any node that is less than 2,ANts - Mute comparison,We said that ANts extablishes less connections than MUTE in the mean case so it follows that the average hops number to reach any point

5、of the net is HIGHER even when the MUTE net has more nodes,ANts - Mute comparison,Infact even with 100 nodes MUTE needs just 2 hops in the worst case to reach any point of the network ANts instead with only 25 nodes needs 2,5 hops in the mean case,ANts - Mute comparison,If ANts needs more hops than

6、MUTE Why ANts tranfers are faster than MUTE ones?,ANts - Mute comparison,The reason have to be found in the differences of the protocols used MUTE uses a msg ack protocol for any transfer (data and control) so graphically,ANts - Mute comparison,to complete the sending of a message MUTE waits for the

7、 ask to be received,msg,ANts - Mute comparison,This produces a low throughput, in particular: throughput = latency = 4 hops (in the example),msg,ANts - Mute comparison,Using this protocol for control message Is ok. Cause we need to be sure that A message has been delivered Instead using this protoco

8、l for data transfer Is known to be very inefficient!,ack,ANts - Mute comparison,Infact to send a packet we NEED to wait that the former has been received. So we can send a packet only every 4 hops!,ack,ANts - Mute comparison,You can easily understand that adding up network congestion and low latency

9、 that are tipical of ad-hoc networks to this inefficient protocol is not a good idea!,ANts - Mute comparison,As we cant do anything to reduce latency We HAVE to act in order to increase Throughput and reduce Net load (balancing the load over the highest number of connections available),ANts - Mute c

10、omparison,ANts grants a higher throughput because it DOESNT wait for acks before sending the next message in DATA TRANFERS,ANts - Mute comparison,ANts grants an higher throughput because it DOESNT wait for acks before sending the next message in DATA TRANFERS,File requestor,File owner,ANts - Mute co

11、mparison,First a msg ack exchange is performed to initiate the transfer process,file request,ANts - Mute comparison,Once the owner received the request it sends an ack and BEGIN THE FILE TRANSFER,file request,ANts - Mute comparison,File parts are sent without waiting for acks the source waits only f

12、or an initial ack (to assure that the receiver is ready to receive) this grants an high throughput and this is the main reason why ANts is actually faster than MUTE,ack,ANts - Mute comparison,The initiate transfer message is the only one the requires the ack!,ack,Initiate transfer,ANts - Mute compar

13、ison,The initiate transfer message is the only one the requires the ack!,Initiate transfer,ANts - Mute comparison,The initiate transfer message is the only one the requires the ack!,ack,ANts - Mute comparison,The initiate transfer message is the only one the requires the ack!,ack,ANts - Mute compari

14、son,Once received the ack, the source can initiate transfer sending groups of parts and stopping only if acks are not received after N parts are sent. i.e. if there are more than N message sent still waiting for their acks. (window of size N),part 1,ANts - Mute comparison,So if acks are delivered wi

15、thout Interruptions we get a CONSTANT FLUX of data!,part 2,part 1,ANts - Mute comparison,In order to improve the transfer we need not only a CONSTANT FLUX but also a way to DISTRIBUTE LOAD over ALL the AVAILABLE CONNECTIONS from the source to the destination,part 3,part 2,ack 1,ANts - Mute compariso

16、n,ANts let this happend because if more paths are present to our destination they are ALL USED in a way proportional to the load of EACH one,part 4,part 3,ack 2,ack 1,ANts - Mute comparison,ANts let this happend because if more paths are present to our destination they are ALL USED in a way proporti

17、onal to the load of EACH one,part 4,part 3,ack 2,ack 1,STALLED,part 5,ANts - Mute comparison,ANts let this happend because if more paths are present to our destination they are ALL USED in a way proportional to the load of EACH one,part 4,ack 3,ack 2,ack 1,STALLED,part 6,part 5,part 7,ANts - Mute co

18、mparison,This way of working applies to a single chunks transfer (each chunk is made up of 10 parts). If you consider that ANts has multiple sources download you can understand why, even if a single chunk STALLS, the node keeps a constant flux of data.,part 4,ack 3,ack 2,ack 1,STALLED,part 6,part 5,

19、part 7,ANts - Mute comparison,Infact even if a SOURCE stalls, you can always have another source that is not stalled and that keeps sending you packets.,part 4,ack 3,ack 2,ack 1,STALLED,part 6,part 5,part 7,ANts - Mute comparison,ACTUALLY this is the reason why ANts is faster EVEN WHEN it extablishes LESS CONNECTION PER NODE in the average case.,part 4,ack 3,ack 2,ack 1,STALLED,part 6,part 5,part 7,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1