[dpdk-dev] Issue for storing the payload on vHost-testpmd
Cheng Kevin
k5896246 at gmail.com
Thu May 7 10:41:13 CEST 2015
Hi all,
Recently, i've modified the vHost app - testpmd.
The modification includes the following steps:
1.obtain the payload of each packet
2.collect the information that i need. ex. 'url'
3.store the "url" into a disk file. ex. payload.txt
The first two steps is achieved easily.
However, step 3 is a problem now. i use fwrite to write the file.
And fwrite occupy all of the free memory in the vm.
At the end, testpmd will be terminated by os.
Is there any way to get rid of this situation?
Any advise will be appreciated.
Best Regards,
kevin
More information about the dev
mailing list