ubuntu - Linux系统上, "lo(本地还回)"网卡的性能取决于什么?
PHPz
PHPz 2017-04-17 15:20:28
0
1
458

我在笔记本上, Ubuntu系统, cpu(酷睿i5)大概占用50%, 用iperf测了几次, 速度为 38~40Gbits/sec

xxx@xxx:~$ iperf -c 127.0.0.1
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 5001
TCP window size: 2.50 MByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 41856 connected with 127.0.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  47.2 GBytes  40.6 Gbits/sec
PHPz
PHPz

学习是最好的投资!

reply all(1)
大家讲道理

If you use localhost as both host and client, iperf does not use the network card, but directly swaps memory, so the speed here reflects your memory access speed. Here, you transferred a total of 47.2G bytes in 10 seconds, so the speed is 4.72GB/second, which is your memory speed.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!