This is a creation in
Article, where the information may have evolved or changed.
Constrained by the number of local ports allocated, I want to see how many TCP client connections can be played locally
The test case client and server are deployed on the same Linux virtual machine
View the number of process open descriptors: 102400 (100,000)
[root@bogon~]#ulimit-acorefilesize (blocks,-c) 0datasegsize (kbyt
Document directory
1. Problem:
2. Theoretical calculation:
3. Test Cases
TCP connection timeout and Test Cases
1. Problem:
I encountered a problem at work: If a TCP connection cannot be established due to timeout, what is the timeout time?
2. Theoretical calculation:
This value can be calculated as follows:In the
You need a NC test environment on Docker--internet some data collected on the---------------------------------------------------------------------------------Swiss Army Knife NC//man that's clear.Common uses include:· Simple TCP Proxies· Shell-script based HTTP clients and servers· Network Daemon Testing· A SOCKS or HTTP proxycommand for SSH (1)· And much, much moreTCP:hosta:$ nc-l 1234 hostb:$ NC hostA 123
0.PCATTCP Introduction
The predecessor of PCATTCP is Test tcp,test TCP is the native tool of the BSD operating system, which is used to test TCP or UDP communication speed through console input parameters. The project was launched
A problem found:The server is a Linux system, with JMeter test interface, found to open a lot of TCP connections, [[email protected] bin]# ulimit-n 65535 with this command set the total number of connections, when the pressure test, the number of connections may reach more than 50000, Easily error-prone; View the number of TC
I. troubleshooting commands
1. show command:1) Global commands:Show version; displays the system hardware and software versions, DRAM, flashShow startup-config; displays the configuration content written into NVRAMShow running-config; displays the currently running configuration contentShow buffers; Detailed output buffer name and sizeShow stacks; provides the router process and processor utilization information, using Stack decodeShow tech-support; displays the output of several show commandsS
From: http://www.cnblogs.com/zhang3533/archive/2007/06/26/795705.html
Test the access speed of three remoting channels: HTTP, TCP, IPC, and Web Service
Remoting and Web Service are. net can be used for Distributed System Development. If it is a different platform, you can only select Web service, but if it is the same platform, you can choose. In the end, there are also access efficiency considerations.
In the development and use of audio and video, often encountered TCP or UDP whether the problem is smooth, now according to the market more stable Anychat platform, Progress Demo debugging, to provide you with a simple test method. Download First Anychat software that can be downloaded to their website: www.anychat.cnDownload the attachment tools I provide:Sockettool.rar(755.9 KB,download number of times: 1
understood, from a byte, temp[0] is the position, temp[1] is high, deep into each byte inside the binary, high in front, Low in the rear. In C # equivalent to the following code, and C language, Java is very similar, but also a good understanding.If I say, send a note to the FF 01 00 00 00 01 to the socket, then that is:byte[] temp = new Temp[12];temp[0] = 0x00;temp[1] = 0x00;temp[2] = 0x00;temp[3] = 0x00;temp[4] = 0x00;temp[5] = 0x06;temp[ 6] = 0xff;temp[7] = 0x01;temp[8] = 0x00;temp[9] = 0x00
/*
* Author:godbach
* e-mail:nylzhaowei@163.com
* This article can be reproduced freely, but please indicate the source, and ensure the integrity of this article.
*/
For testing and computing in packets, many of the books on TCP/IP protocols have been discussed, RFC1071 is a document that discusses computational tests and. The traditional calculation method is to sum up the data of the whole data (IP packet is the data of IP header).
However, in the
Smark. net. TCP. xmlservice is based on Smark. net. open-source TCP component for XML encapsulation and Processing Based on TCP. The component provides an object sending and action-based binding processing mechanism, making it easier to compile a network based on socket. if your application processes thousands of requests over thousands of persistent connections.
This article is made available by checking information on the network.
You only need to modify it to use it in the project.
Reference for children's shoes
Platform (lm3s9b92 + ucoⅱ + LWIP)
Online IP address converter (Binary hexadecimal conversion)
Http://www.ab126.com/goju/1840.html
Implemented under the LWIP netconn API Function
TCP Server
Tcp client
UDP Test
The fastest speed is that non-WCF named pipelines on the local machine have 113 MB/S
The fastest speed for local network machines to transfer files is to use TCP binding of WCF, with a speed of 70 ~ 120 MB/S
Test speed comparison:
Local Data Transfer
Mutual transmission of LAN machines
HTTP binding for WCF
104 ~ 116 Mbit/s buffer mode (0.21 Mbit/s for 25 Mbit/s ~ 0
After the installation of network hardware and network protocol, we generally have to do the TCP/IP protocol testing, then how to test is a more comprehensive test? We believe that comprehensive testing should include two aspects of local area network and Internet, so it should be tested in two aspects of LAN and Internet, the following is the steps we use to
connections is much higher, the program consumes less CPU resources.
The average CPU occupancy rate is about 7%.
The memory footprint of the server is about 2.6G, and the actual operating system's memory is full.SummarizeDue to the limitations of memory in these tests can not run to 100w connection a little pity (but after the idle time to add memory and then will be bored to brush again) ...; As a result, it is possible to further illustrate a very important
In some scenarios, a large number of message broadcast forwarding exists. net socket TCP performance in this regard, so a relatively extreme information broadcast forwarding strength test. the test scenario is to use 400 pieces of connection information to broadcast each other as a test case. When one connection sends
number of connections is much higher, the program consumes less CPU resources.
The average CPU occupancy rate is about 7%.
the memory footprint of the server is around 2.6G, because the memory of the actual operating system that does not control the socket level is full. SummarizeDue to memory limitations in these tests can not run to 100w connection a little pity. A very important question has been further explained from the results The ability to measur
UNIX Domain Socket IPCThe socket API was originally designed for network communication, but later developed an IPC mechanism on the socket's framework, UNIX Domain socket. Although the network socket can also be used for interprocess communication with the same host (via loopback address 127.0.0.1), the UNIX Domain socket is more efficient for IPC: it does not need to go through the network protocol stack, does not need to package unpacking, calculate checksum, maintain serial number and answer,
Httping is an HTTP request client that simulates ping output. The Fastopen request is supported from 1.5 and the current version is 2.3.4.
I compiled the Nginx 1.5.13,yum on Fedora 20 (kernel version 3.13) and installed httping 2.3.3 version.
Open two terminals, one running tcpdump, and then another running httping as follows:
Httping-f-G http://www.google.com.hk/url-c 1This is when you see the output of the previous terminal:
[chenlin.rao@com21-100 tfo]$ sudo tcpdump-i p5p1-vvnxxs 0
How to analyze the HTTP or TCP packets captured by the packet capture tool during the test
Http://www.docin.com/p-101479451.htmlC/S communication interface testing often causes many problems due to incorrect request structure or packet sending errors. Usually, you need to use the packet capture tool to capture the sent packets, after further analysis, we can easily see the existing errors. Based on my own s
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.