not familiar with sockets, this is the info, server talks with multiple clients, each client is running in an embedded system. when starts, server and clients can quickly make the connections. now we use VMs to simulate the clients, all these "clients" run in 1 pc, still talk with the remote server. the thing is the connection time takes much longer. why is this ? if these clients use different ports, can the connection be faster than all use the same network ports ? thanks !
【在 w*s 的大作中提到】 : not familiar with sockets, this is the info, : server talks with multiple clients, each client is running in an embedded : system. : when starts, server and clients can quickly make the connections. : now we use VMs to simulate the clients, all these "clients" run in 1 pc, : still talk with the remote server. : the thing is the connection time takes much longer. : why is this ? if these clients use different ports, can the connection be : faster than all use the same network ports ? : thanks !
o*i
7 楼
觉得是有资金在吸货,垃圾股比绩优大盘股好操作多了
b*s
8 楼
偶是说站方官方啊。您估计也不过是个棋子罢了。
【在 f******e 的大作中提到】 : 你披他,能上首页,也能挣银子啊,你当伪币是个宝啊?
w*s
9 楼
was < 1 min for all ~100 client connections, now > 10 mins, actually we tried another way, 1 pc running 50 instances of client simulation, without VMs, each client just makes 1 socket connection to the server. still > 10 mins. i don't know the internal of the client code. thanks !
【在 j*a 的大作中提到】 : how much time before vm and how much after
H*H
10 楼
我怎么没看到多少盛赞啊! 枪手总是有的啦!
j*a
11 楼
1 pc running 50 VM instances? what hw does this pc use?
【在 w*s 的大作中提到】 : was < 1 min for all ~100 client connections, : now > 10 mins, : actually we tried another way, 1 pc running 50 instances of client : simulation, : without VMs, : each client just makes 1 socket connection to the server. : still > 10 mins. : i don't know the internal of the client code. : thanks !
f*e
12 楼
我不过是个爱红楼的网友,随手写了篇什么,怎么就成棋子了?
【在 b*****s 的大作中提到】 : 偶是说站方官方啊。您估计也不过是个棋子罢了。
w*s
13 楼
forget about VM for now, we then tried to run 50 client applications in 1 pc without VM, each client app makes 1 socket connection to the server. if they use same port, or different port, how much is the difference ?
【在 j*a 的大作中提到】 : 1 pc running 50 VM instances? what hw does this pc use?
【在 w*s 的大作中提到】 : forget about VM for now, : we then tried to run 50 client applications in 1 pc without VM, : each client app makes 1 socket connection to the server. : if they use same port, or different port, : how much is the difference ?
【在 w*s 的大作中提到】 : was < 1 min for all ~100 client connections, : now > 10 mins, : actually we tried another way, 1 pc running 50 instances of client : simulation, : without VMs, : each client just makes 1 socket connection to the server. : still > 10 mins. : i don't know the internal of the client code. : thanks !
it's like the 50 instances are talking with the server one by one, not parallel.
【在 j*a 的大作中提到】 : 我不清楚了 : 你再想想有啥漏了说
x*m
20 楼
演员没什么大腕,用不了多少钱,都雇人到处吹了吧?
n*t
21 楼
sounds like caused by reverse dns lookup...
【在 w*s 的大作中提到】 : not familiar with sockets, this is the info, : server talks with multiple clients, each client is running in an embedded : system. : when starts, server and clients can quickly make the connections. : now we use VMs to simulate the clients, all these "clients" run in 1 pc, : still talk with the remote server. : the thing is the connection time takes much longer. : why is this ? if these clients use different ports, can the connection be : faster than all use the same network ports ? : thanks !