DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH RFC v2 0/2] Reduce DPDK initialization time
@ 2015-11-20  1:53 Zhihong Wang
  2015-11-20  1:53 ` [dpdk-dev] [PATCH RFC v2 1/2] lib/librte_eal: Reduce timer " Zhihong Wang
  2015-11-20  1:53 ` [dpdk-dev] [PATCH RFC v2 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling Zhihong Wang
  0 siblings, 2 replies; 7+ messages in thread
From: Zhihong Wang @ 2015-11-20  1:53 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-11-23  1:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-20  1:53 [dpdk-dev] [PATCH RFC v2 0/2] Reduce DPDK initialization time Zhihong Wang
2015-11-20  1:53 ` [dpdk-dev] [PATCH RFC v2 1/2] lib/librte_eal: Reduce timer " Zhihong Wang
2015-11-20 16:31   ` Stephen Hemminger
2015-11-23  1:29     ` Wang, Zhihong
2015-11-20  1:53 ` [dpdk-dev] [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

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).