From: Zhihong Wang <zhihong.wang@intel.com>
To: dev@dpdk.org
Subject: [PATCH RFC v2 0/2] Reduce DPDK initialization time
Date: Thu, 19 Nov 2015 20:53:46 -0500 [thread overview]
Message-ID: <1447984428-137897-1-git-send-email-zhihong.wang@intel.com> (raw)
This RFC patch aims to reduce DPDK initialization time, which is important in cases such as micro service.
Changes are:
1. Reduce timer initialization time
2. Remove unnecessary hugepage zero-filling operations
With this patch:
1. Timer initialization time can be reduced by 4/10 second
2. Memory initialization time can be reduced nearly by half
The 2nd topic has been brought up before in this thread:
http://dpdk.org/dev/patchwork/patch/4219/
--------------
Changes in v2:
1. Use MAP_POPULATE flag to populate page tables
2. Add comments to avoid future misunderstanding
Zhihong Wang (2):
lib/librte_eal: Reduce timer initialization time
lib/librte_eal: Remove unnecessary hugepage zero-filling
lib/librte_eal/linuxapp/eal/eal_memory.c | 20 ++++++--------------
lib/librte_eal/linuxapp/eal/eal_timer.c | 2 +-
2 files changed, 7 insertions(+), 15 deletions(-)
--
2.5.0
next reply other threads:[~2015-11-20 8:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-20 1:53 Zhihong Wang [this message]
2015-11-20 1:53 ` [PATCH RFC v2 1/2] lib/librte_eal: Reduce timer initialization time Zhihong Wang
2015-11-20 16:31 ` Stephen Hemminger
2015-11-23 1:29 ` Wang, Zhihong
2015-11-20 1:53 ` [PATCH RFC v2 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling Zhihong Wang
2015-11-20 16:32 ` Stephen Hemminger
2015-11-23 1:31 ` Wang, Zhihong
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=1447984428-137897-1-git-send-email-zhihong.wang@intel.com \
--to=zhihong.wang@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.