From: Cheng Kevin <k5896246@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Issue for storing the payload on vHost-testpmd
Date: Thu, 7 May 2015 16:41:13 +0800 [thread overview]
Message-ID: <CACnuE8GTga-WFpM16u9yrBuDSPNV8RNRVN9eaYcc+6ZZ-h0P0w@mail.gmail.com> (raw)
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
reply other threads:[~2015-05-07 8:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACnuE8GTga-WFpM16u9yrBuDSPNV8RNRVN9eaYcc+6ZZ-h0P0w@mail.gmail.com \
--to=k5896246@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).