-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can only run 400 concurrent requests on my machine(4c 8g). Is this normal? #15
Comments
Hi, A common performance issue with this lib is to build it without the optimization flag (-O2),. When not present it will increase the request on CPU by a factor 3. If your test runs only on the CPU and does not use the GPU (which seems likely) it leaves you with 4 cores running it. 100 streams/core without the -O2 on the build line is more or less expected. |
Thank you. At which step should I add the flag (O2) during the build? I built it according to the instructions on the homepage. |
To enable -O2 option on the compiler command line you must add
to the cmake configuration command |
I've already tried to build with -O2 option, the machine can run 1200 streams now, nearly about 3 times before.Really appreciate. Why dont you guys add it into the instructions on homepage |
as title.
the cpu utilization will raised up to 95%
the code are as below.
sleep 20ms to simulate real phone
[Image]
The text was updated successfully, but these errors were encountered: