GithubHelp home page GithubHelp logo

Comments (10)

zcj88 avatar zcj88 commented on June 2, 2024 1

这个问题的根本原因已找到,可能因为我的配置太低,把listen数量改低就能正常运行,conf配置文档默认32对我来说太多了,改为1或5都运行成功

from dperf.

pengjianzhang avatar pengjianzhang commented on June 2, 2024

please refer https://dperf.org/doc/html/dperf-faq

from dperf.

zcj88 avatar zcj88 commented on June 2, 2024

1、上面的配置参数不变的情况下,把大页内存配置到8G,现象依旧;
image

2、IP数量低于100,或者CC和cps值比上面图片值大一些都会提示:Error:insufficient sockets
image
3、运行server.conf是可以的
image

请问还有其他原因吗,我加载的是UIO驱动,谢谢~

from dperf.

amberlipp avatar amberlipp commented on June 2, 2024

dperf初始化时客户端和服务端的打流的socket链接就会创建,这个问题会不会是系统内核socket连接数的限制,试试改大一些呢

from dperf.

zcj88 avatar zcj88 commented on June 2, 2024

dperf初始化时客户端和服务端的打流的socket链接就会创建,这个问题会不会是系统内核socket连接数的限制,试试改大一些呢

请问怎么改啊?谢谢~

from dperf.

zcj88 avatar zcj88 commented on June 2, 2024

dperf初始化时客户端和服务端的打流的socket链接就会创建,这个问题会不会是系统内核socket连接数的限制,试试改大一些呢

请问怎么改啊?谢谢~

from dperf.

amberlipp avatar amberlipp commented on June 2, 2024

当前环境的系统内存有多少? free -m查看下呢
看了下源码,基于当前并发数、连接数的配置预估的内存数,需要大页内存至少15.63G以上;
你这边调整到8G大页应该还不够,如果系统内存充足的话,可以预设大页为32G试试
cat /proc/meminfo可以查看当前大页内存配置情况

from dperf.

zcj88 avatar zcj88 commented on June 2, 2024

当前环境的系统内存有多少? free -m查看下呢 看了下源码,基于当前并发数、连接数的配置预估的内存数,需要大页内存至少15.63G以上; 你这边调整到8G大页应该还不够,如果系统内存充足的话,可以预设大页为32G试试 cat /proc/meminfo可以查看当前大页内存配置情况

我的系统内存只有16G,分配了8G大页,free还有6G多,我之前其实有测试成功过,但是最近一直卡住在要么Error: insufficient sockets,要么 work space init error,过不去了,试了好多平台复盘不出问题

from dperf.

amberlipp avatar amberlipp commented on June 2, 2024

建议增加内存条试试

from dperf.

pengjianzhang avatar pengjianzhang commented on June 2, 2024

请拉最新代码,增加了出错处理的提示

from dperf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.