DPDK patches and discussions
 help / color / mirror / Atom feed
From: Marc Sune <marc.sune@bisdn.de>
To: Morten Jagd Christensen <mjc@xenanetworks.com>,
	 "<dev@dpdk.org>" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Valgrind and DPDK - RDRAND + RTE_MACHINE obstacle
Date: Fri, 14 Nov 2014 10:32:48 +0100	[thread overview]
Message-ID: <5465CC40.2070403@bisdn.de> (raw)
In-Reply-To: <038401cfffe9$dff1c3a0$9fd54ae0$@xenanetworks.com>

On 14/11/14 10:03, Morten Jagd Christensen wrote:
> Hi Marc,
>
> It turns out that I could successively comment out the setting of cpu flags
> in mk/rte.cpuflags,
> rebuild dpdk and my application, and then run valgrid until no further error
> messages occured.
>
> But it turns out to be too slow for practical purposes :-(

(Please, do not drop the list, it might be helpful to others)

Ok, I am not sure if this can cause you any problem. Perhaps someone in 
the community can advise you here.

valgrind should only be used to do functional testing, not for 
performance. But for doing so I strongly suggest to do this:

> [snip]
> One recommendation: once it is working, unless you have a very 
> powerful machine (which my VM isn't) I recommend to add some usleeps 
> in the main I/O loops when running valgrind, otherwise due to the 
> heavyweight emulation valgrind does it slows down application 
> execution considerably. Let's see if it helps. Marc 

Best
Marc

      parent reply	other threads:[~2014-11-14  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12  9:43 Morten Jagd Christensen
2014-11-12 14:49 ` Burakov, Anatoly
2014-11-12 15:48   ` Marc Sune
     [not found]     ` <038401cfffe9$dff1c3a0$9fd54ae0$@xenanetworks.com>
2014-11-14  9:32       ` Marc Sune [this message]

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=5465CC40.2070403@bisdn.de \
    --to=marc.sune@bisdn.de \
    --cc=dev@dpdk.org \
    --cc=mjc@xenanetworks.com \
    /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).