首页 > 其他分享 >ECE 5101/CSE 5463 问题解答

ECE 5101/CSE 5463 问题解答

时间:2023-04-08 15:22:30浏览次数:41  
标签:ECE CSE CSMA 问题解答 collision points time CD channel

ECE 5101/CSE 5463, Spring 2023
Due: Apr. 8 11:59pm, 2023 on Carmen
Homework Assignment #4
Late Submission NOT Accepted
Homework Assignment #4
1. (20 points) In an unslotted ALOHA system, the packet arrival times of all users form a
Poisson process having a rate of 103 packets/sec. If the bit rate is 10 Mbps and there are
1000 bits/packet, find (a) the normalized throughput of the system, and (b) the number of
bits per packet that will maximize the throughput.
2. (20 points) Repeat Problem 1 for a slotted ALOHA system.
3. (20 points) (a) Assume a line-of-sight radio path exists for a user 10 km away from the
transmitter. Determine the propagation delay in packet transmission units if a 19.2 kbps
channel data rate is used and each packet contains 256 bits. (b) If slotted ALOHA is to be
used for this single-user system, what is the optimal total transmission rate in the unit of
packets/second for this system?
4. (20 points) Suppose that there are two Wi-Fi service providers in a shopping mall (e.g.,
Starbucks and McDonald’s), with each service provider operating its own AP. Further assume
that, by accident, each service provider has configured its AP to operate over the same
channel. Will the 802.11 protocol completely break down in this situation? Discuss what
happens when two stations, each associated with a different Wi-Fi service provider, attempt
to transmit at the same time.
5. (20 points) Suppose an 802.11 station is configured to always reserve the channel with the
RTS/CTS sequence. Suppose that this station suddenly wants to transmit n bytes of data,
and all other stations are idle at this time. Denote the delay of DIFS, SIFS, RTS, CTS,
and acknowledgement by dDIFS, dSIFS, dRTS, dCTS, and dACK, respectively. Let R denote
the transmission data rate, in the unit of bits/sec. Under the use of SIFS and DIFS, and
ignoring propagation delay and assuming no bit errors, derive the expression to calculate the
time required to transmit the n bytes of data and receive the acknowledgement according to
the 802.11 DCF protocol.
6. (Bonus: 40 points) Background of CSMA/CD: In class, we mentioned that CSMA/CA is
the default MAC protocol for 802.11, which uses mechanisms such as random backoff timer
and RTS/CTS to prevent collisions from happening. However, due to these extra overhead,
CSMA/CA is less efficient than another variant of CSMA called CSMA/CD (CSMA with
collision detection).
CSMA/CD works as the following: When a station has a packet to transmit, it first listens
to the channel. If the channel is occupied, it will wait until the channel is free; otherwise,
it will start transmit after sensing the channel being idle for a fixed amount of time (i.e.,
the CSMA part). If, however, two stations sense the channel being idle and start transmit
simultaneously, then a collision still happens even if they already follow the CSMA rule. Now,
suppose that if both stations can detect the collision once it happens, then they can suspend
their ongoing colliding transmissions immediately to reduce the collision duration and shorten
the time wasted in transmitting unfinished packets (i.e., the CD part). After that, these two
stations contend for the channel again with random backoff. Clearly, CSMA/CD is more
efficient than CSMA/CA thanks to lower overhead.
1
ECE 5101/CSE 5463, Spring 2023
Due: Apr. 8 11:59pm, 2023 on Carmen
Homework Assignment #4
Late Submission NOT Accepted
Historically, CSMA/CD is used in older generations of Ethernet (IEEE 802.3) that are based
on shared medium (e.g., 10BASE2, 10BASE5), but no longer needed in modern Ethernet with
sophisticated switches and full-duplex connections, where there is no collision possibility at
all. Meanwhile, CSMA/CD does NOT work for wireless LANs because wireless transceivers
are half-duplex in nature as a result of self-interference (i.e., the radio can either transmit
or receive, but cannot do both simultaneously). Therefore, when a wireless device starts
transmitting, it cannot listen to the channel at the same time to detect collision.
However, recent years have witnessed significant advances in wireless technologies and re searchers have made a significant progress in the areas of full-duplex wireless.
1 As a result,
CSMA/CD received renewed interests in wireless networking MAC protocol design, which
could improve the efficiency of the default CSMA/CA MAC protocol of IEEE 802.11.
Questions: With the above background story, now let us consider an unslotted CSMA/CD
system, where the propagation delay is negligible compared to the β time units required for
a node to detect that the channel is idle or busy. Assume that each packet requires one
time unit for transmission. Assume that β time units after either a successful transmission
or a collision ends, all backlogged nodes attempt transmission after a random delay and that
the composite process of initiation times is Poisson of rate G (up to time β after the first
initiation). For simplicity, assume that each collision lasts for β time units.
(a) (10 points) Find the probability that the first transmission initiation after a given idle
detection is successful.
(b) (10 points) Find the expected time from one idle detection to the next.
(c) (10 points) Find the throughput based on the above given assumption.
(d) (10 points) Optimize the throughput numerically over G.
1For example, see https://fullduplex.rice.edu/ for the full-duplex hardware designed by Prof. Ashu Sabharwal,
who is an OSU alum. Prof. Kannan Athreya’s group at OSU also work on full-duplex wireless networking.
WX:codehelp mailto: [email protected]

标签:ECE,CSE,CSMA,问题解答,collision,points,time,CD,channel
From: https://www.cnblogs.com/oknice/p/17298597.html

相关文章

  • Elaticsearch
    ElasticSearch安装声明:最低要求JDK8,必须保证ElasticSearch的版本与Java的核心jar包版本对应。下载官网:https://www.elastic.co/windows安装1、解压2、熟悉目录bin启动文件config配置文件1og4j2日志配置文件jvm.optionsjava虚拟机相关的配置(默认启动......
  • mogodb 同步数据到 ElasticSearch
    1、需安装:mogodb  ElasticSearch monstache2、mogodb创建副本集主副主开启副本集设置:replication:replSetName:"S1"副机关闭防火墙,设置net:port:27017bindIp:0.0.0.0"C:\ProgramFiles\MongoDB\Server\4.4\bin\mongo.exe"127.0.0.1:27017配置:rs.initiate({......
  • elasticsearch 查询超10000的几种解决方案
    在es中,默认查询的from+size数量不能超过一万,官方对于超过1万的解决方案使用游标方案,今天介绍下几种方案,希望对你有用。数据准备,模拟较大数据量,往es中灌入60w的数据,其中只有2个字段,一个seq,一个timestamp,如下图:方案1:scroll游标游标方案中,我们只需要在第一次拿到游标id,之后......
  • Serilog.Sinks.Elasticsearch 写username到 ES失败
    Usingthelib:Serilog.Sinks.ElasticsearchandECS-dotnet whichprovidetheecsformat,wecanwritelogintoesinECSformat.Ihavebeenabletooveralllinktrace, now,Iwanttorecordtheusernameifuserhaslogged.Astonoshingly,sometime,itwor......
  • ansible-playbook之安装elasticsearch单机版
    一.准备环境:1.centos7环境2.安装ansible环境3.elasticsearch安装文件下载路径:  https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.6.2-linux-x86_64.tar.gz4.elasticsearch安装主机,作者用192.168.126.129作为elasticsearch安装环境二.规划:1.变量规......
  • 【Service & BroadcastReceiver相关】
    android开发中如何实现开机自启动http://gundumw100.iteye.com/blog/906188监听应用程序安装和卸载http://zhangkun716717-126-com.iteye.com/blog/1192479使用service定期执行一个服务http://gundumw100.iteye.com/blog/896880利用BroadcastReceive......
  • 【庖丁解牛】图像处理库: 解决WeCenter至少需要有GD图像处理库才能正常运行
    错误复现以下是安装wecenter时候的报错信息:zmedu致码高胜寒解决方案一[root@xinsz08install]#yuminstallphp-mysqlnd解决方案二如果方案一不管用,建议重新编译php,亲测有效:在从新编译之前先安装依赖包:yum-yinstallcurl-develyum-yinstallpostgresql-develyuminstall......
  • es查询三种方式,Elasticsearch查询速度为什么这么快
    Elasticsearch查询速度为什么这么快?es查询三种方式 ......
  • CSE 3430 问题求解
    CSE3430SP23LAB1ABDESCRIPTIONThislabhastwoparts,Part1andPart2.ForPart1,wewillwritecodetodocalculationsondatainasinglestaticallyallocatedarray(asdescribedinslidesetB-5),andwewillreadinputfortheprogramfromaf......
  • 分布式搜索引擎Elasticsearch的架构分析
    一、写在前面 ES(Elasticsearch下文统一称为ES)越来越多的企业在业务场景是使用ES存储自己的非结构化数据,例如电商业务实现商品站内搜索,数据指标分析,日志分析等,ES作为传统关系型数据库的补充,提供了关系型数据库不具备的一些能力。ES最先进入大众视野的是其能够实现全文搜索的能力,也......