lith 4 years ago
parent
commit
7a89b87d1e

+ 1 - 1
dotnet/Doc/PublishFile/Sers单体压测/ServiceCenter/Data/App.Robot.json

@@ -31,7 +31,7 @@
         "type": "ApiClientAsync",
         "name": "Async",
         "apiRoute": "/a",
-        "threadCount": 8,
+        "threadCount": 20,
         "loopCountPerThread": 1000000000,
         "interval": 0,
         "autoStart": true,

+ 1 - 1
dotnet/Doc/PublishFile/Sers单体压测/ServiceCenter/appsettings.json

@@ -56,7 +56,7 @@
     "LocalApiService": {
 
       /* 后台服务的线程个数(单位个,默认0,代表不开启服务)*/
-      "workThreadCount": 8,
+      "workThreadCount": 20,
 
       /* 超时时间,若不指定则后台任务永不超时。(主动关闭超过此时间的任务,实际任务强制关闭的时间会在1倍超时时间到2倍超时时间内)。单位:ms。*/
       //"timeout_ms": 10000,

+ 10 - 12
dotnet/Library/Sers/Sers.CL/Test/CommunicationManage/CmClient/README.md

@@ -1,24 +1,18 @@
 
 
-1 server 
-20 client 1000thead   qps 160万
  
 
 
+ 
+dotnet /root/app/CmServer/CmServer.dll
 
 
-cd /root/app
-dotnet CmServer/CmServer.dll
-
-
-cd /root/app
-dotnet CmClient/CmClient.dll > console.log 2>&1 &
+dotnet /root/app/CmClient/CmClient.dll > console.log 2>&1 &
 
 
-#杀死mc用户端 
+#杀死进程
 kill -s 9 `pgrep -f 'CmClient.dll'`
-
-#--------------------------------
+ 
 #--------------------------------
 
 dotnet CLClient.dll > console.log 2>&1 &
@@ -27,5 +21,9 @@ dotnet CLClient.dll > console.log 2>&1 &
 
 启动1个进程的qps是4万
 
+ 
+#--------------------------------
+# centos8
+1server;  2client; 4000 thead;	mode: Timer ;      msgLen:10	qps: 98万
 
- 
+1server;  2client; 1000 thead;	mode: Timer ;      msgLen:100	qps: 84万

+ 1 - 1
dotnet/Library/Sers/Sers.CL/Test/CommunicationManage/CmClient/appsettings.json

@@ -49,7 +49,7 @@
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
           /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          "mode": "Timer",
 
           /* 接收缓存区大小(单位:byte,默认:8192)  */
           "receiveBufferSize": 8192,

+ 1 - 1
dotnet/Library/Sers/Sers.CL/Test/CommunicationManage/CmServer/appsettings.json

@@ -46,7 +46,7 @@
           "className": "Sers.CL.Socket.Iocp.OrganizeServerBuilder",
 
           /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          "mode": "Timer",
 
           /* 接收缓存区大小(单位:byte,默认:8192)  */
           "receiveBufferSize": 8192,