Войти

Показать полную графическую версию : Задачка из учебника по сетям


fzakharov
26-05-2014, 19:31
Задачка 1.23 из книги "Computer Networks: A Systems Approach Fifth Edition"
Assume you wish to transfer an n B file along a path composed of the source, destination, 7 point-to-point links, and 5 switches.
Suppose each link has a propagation delay of 2ms and a bandwidth of 4 Mbps, and that the switches support both circuit and packet switching.
Thus, you can either break the file up into 1-KB packets or
set up a circuit through the switches and send the file as one contiguous bitstream.
Suppose that packets have 24 B of packet header information and 1000 B of payload, store-and-forward packet processing at each switch incurs a 1-ms delay after the packet had been completely received, packets may be sent continuously without waiting for acknowledgments,
and circuit setup requires a 1-KB message to make one round trip on the path, incurring a 1-ms delay at each switch after the message has been completely received. Assume switches introduce no delay to data traversing a circuit. You may also assume that filesize is a multiple of 1000 B.
(a) For what filesize n B is the total number of bytes sent across the network less for circuits than for packets?

Интересует её решение в mathCAD.
Свое решение представил тут: http://net-of-mine.blogspot.ru/2014/05/computer-networks-exercises-123-a.html
Но мне оно не очень нравится, может есть способ элегантнее?

fzakharov
28-05-2014, 07:07
Выложил вариант b:
(b) For what filesize n B is the total latency incurred before the entire file arrives at the destination less for circuits than for packets?

fzakharov
30-05-2014, 07:55
Выложил вариант с (http://net-of-mine.blogspot.ru/2014/05/computer-networks-systems-approach-5e_30.html)
(c) How sensitive are these results to the number of switches along the path? To the bandwidth of the links? To the ratio of packet size to packet header size?

fzakharov
31-05-2014, 08:26
Следующая задачка тут: http://forum.oszone.net/thread-282952.html

WSonic
31-05-2014, 10:54
fzakharov, Вы с кем разговариваете?

fzakharov
02-06-2014, 07:30
Просто делюсь наработками, ищу единомышленников, критиков.

Задачки из: Computer Networks: A Systems Approach 5e
Exercises (1.26).

For the following, assume that no data compression is done, although in practice this would almost never be the case. For (a) to (c), calculate the bandwidth necessary for transmitting in real time:
(a) Video at a resolution of 640×480, 3 bytes/pixel, 30 frames/second.
(b) Video at a resolution of 160×120, 1 byte/pixel, 5 frames/second.
(c) CD-ROM music, assuming one CD holds 75 minutes’ worth and takes 650 MB.
(d) Assume a fax transmits an 8×10-inch black-and-white image at a resolution of 72 pixels per inch. How long would this take over a 14.4-kbps modem?

Решение тут: http://net-of-mine.blogspot.ru/2014/05/computer-networks-systems-approach-5e_7170.html
Решена в MathCAD.

fzakharov
04-06-2014, 08:17
Задачки из: Computer Networks: A Systems Approach 5e
Exercises (1.27):

For the following, as in the previous problem, assume that no data compression is done. Calculate the bandwidth necessary for transmitting in real time:
(a) High-definition video at a resolution of 1920×1080, 24 bits/pixel, 30 frames/second.
(b) POTS (plain old telephone service) voice audio of 8-bit samples at 8 KHz.
(c) GSM mobile voice audio of 260-bit samples at 50 Hz.
(d) HDCD high-definition audio of 24-bit samples at 88.2 kHz.

Решение тут: http://net-of-mine.blogspot.ru/2014/06/computer-networks-systems-approach-5e.html
Решена в MathCAD.




© OSzone.net 2001-2012