All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Reduce DPDK initialization time
@ 2015-11-22 19:13 Zhihong Wang
  2015-11-22 19:13 ` [PATCH 1/2] lib/librte_eal: Reduce timer " Zhihong Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Zhihong Wang @ 2015-11-22 19:13 UTC (permalink / raw)
  To: dev

This 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 v1:

1. Use macro in sleep time initialization

2. Update commit message according to code change

--------------
Changes in RFC 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] 10+ messages in thread

end of thread, other threads:[~2016-01-21 15:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-22 19:13 [PATCH 0/2] Reduce DPDK initialization time Zhihong Wang
2015-11-22 19:13 ` [PATCH 1/2] lib/librte_eal: Reduce timer " Zhihong Wang
2015-11-22 19:13 ` [PATCH 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling Zhihong Wang
2015-11-23  2:28   ` Stephen Hemminger
2015-11-24 21:13     ` Thomas Monjalon
2015-11-24 22:44       ` Stephen Hemminger
2015-11-24 23:04         ` Thomas Monjalon
2015-11-25  1:57           ` Yuanhan Liu
2015-11-25  1:59           ` Wang, Zhihong
2016-01-21 14:59 ` [PATCH 0/2] Reduce DPDK initialization time Thomas Monjalon

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.