Comments (11)
Do you invoke anssock_close() or anssock_shutdown to close the fd?
You run so many lcore, so you shall update ans_main.c to increase the mbuf pool size.
from dpdk-ans.
If can't malloc mbuf from pool, will print error code 12 (NOMEM).
Please increase the mbuf pool size.
And share your detail test steps.
from dpdk-ans.
After I increase the mbuf pool size, It works fine. Thanks.
Maybe you treat the close of connection as a EPOLLIN event and would malloc a mbuf to store the data,
It confused me at first.
from dpdk-ans.
Yes, if remote send 'fin' to ANS, ANS will notify application via EPOLLIN event.
from dpdk-ans.
Could you please share the test result?
from dpdk-ans.
I want to verify whether I could use it to hold 1M connection, the result is OK.
Then I would test if it works OK when read and write on such a mount of connections, especially If it would block when do connect, read or write action.
from dpdk-ans.
Good.
What is your ENV? CPU? NIC?
How many lcores are reserved for ANS?
How many hugepage are reserved?
from dpdk-ans.
I use Cenos6.5, kernel 3.18
CPU:Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
NIC: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
alloc 4 cores for ANS
4096 * 2MB hugepages, if increase the mbuf pool size, more hugepages needed.
Create 1M sockets and connect to another directly (port to port without any router and switcher), cost about 8 minutes.
from dpdk-ans.
Alse there is a serious problem, the connect action would blocking, It must considered in high load environment.
from dpdk-ans.
Yes, anssock_connect() API is always block API, it block there to wait remote server reply.
from dpdk-ans.
Any result for your reading/writing case?
from dpdk-ans.
Related Issues (20)
- Low TCP TX performance HOT 1
- ans configuration. HOT 5
- Build ANS on corei7 architecture. HOT 2
- pointtopoint howto ? HOT 1
- How to Enable ip Fragmentation HOT 4
- Fast path TCP stack? HOT 1
- Need armv8 support
- Congestion Control supports HOT 7
- tcp slowdown when recv large stream
- There are no code to generate librte_ans for core-avx2
- LCORE [-1] Default gateway address is unreachable
- librte_ans source code
- run ans failed (nb_tx_desc(=2048), should be: <= 1024, = 128) HOT 1
- ans not run ? why?
- Failed to run ans
- ANS support for CentOS-7.5 or any later version
- Compiling deps for Epyc HOT 1
- Skylake arch HOT 4
- 你们是哪个公司的?
- NFV Selection Based on ONF HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpdk-ans.