nixp.ru v3.0

18 апреля 2024,
четверг,
15:05:00 MSK

athilson написал 11 августа 2005 года в 15:26 (757 просмотров) Ведет себя как мужчина; открыл 16 тем в форуме, оставил 19 комментариев на сайте.

если у меня на компе стоит сетевая карта 100BaseTX, и происходит передача данных от одного процесса другому локально (не выходя за пределы данного компа), то верно ли, что скорость передачи данных все равно будет ограничена 100Мбит/сек?

например:

процесс-1:

server.start(«10.0.1.1», 1100);

server.waitAndRecv(megaBuf);

процесс-2:

client.connect(«10.0.1.1», 1100);

client.send(hugeData);

myst

Нет. Ибо ядро не будет даже обращаться к карточке. Неужели ты думаешь, что ядро так тупо написано?

Genie

лично достигалось 900 мегабайт/сек.

при использовании netpipe-tcp:

$ apt-cache show netpipe-tcp

Package: netpipe-tcp

Version: 3.6.2-1

Description: A network performance tool using the TCP protocol

NetPIPE is a protocol independent performance tool that encapsulates

the best of ttcp and netperf and visually represents the network

performance under a variety of conditions. By taking the end-to-end

application view of a network, NetPIPE clearly shows the overhead

associated with different protocol layers. NetPIPE answers such

questions as: how soon will a given data block of size k arrive at its

destination? Which network and protocol will transmit size k blocks

the fastest? What is a given network’s effective maximum throughput

and saturation level? Does there exist a block size k for which the

throughput is maximized? How much communication overhead is due to the

network communication protocol layer(s)? How quickly will a small (< 1

kbyte) control message arrive, and which network and protocol are best

for this purpose?

.

This package uses a raw TCP protocol to measure network performance.

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.