* [dpdk-users] Too much time in mmap()
@ 2017-01-03 23:08 Chae-yong Chong
2017-01-04 1:17 ` Hu, Xuekun
2017-01-04 9:16 ` Thomas Monjalon
0 siblings, 2 replies; 5+ messages in thread
From: Chae-yong Chong @ 2017-01-03 23:08 UTC (permalink / raw)
To: users
Hi,
Too much time is spent on mmap() in rte_eal_init().
When running DPDK application with 35 1G huge pages, it takes about 12sec
in mapping().
Is there any way to reduce this time?
I guess it is okay to have that much time in first initialization. However,
if the application is restarted for some reason(for example, unexpected
exit) that long initialization can cause service continuity.
May the Fun with you.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] Too much time in mmap()
2017-01-03 23:08 [dpdk-users] Too much time in mmap() Chae-yong Chong
@ 2017-01-04 1:17 ` Hu, Xuekun
2017-01-04 9:16 ` Thomas Monjalon
1 sibling, 0 replies; 5+ messages in thread
From: Hu, Xuekun @ 2017-01-04 1:17 UTC (permalink / raw)
To: Chae-yong Chong, users
Which DPDK version are you using? In DPDK16.04, below url did some optimization work.
http://dpdk.org/ml/archives/dev/2015-November/028598.html
-----Original Message-----
From: users [mailto:users-bounces@dpdk.org] On Behalf Of Chae-yong Chong
Sent: Wednesday, January 04, 2017 7:08 AM
To: users@dpdk.org
Subject: [dpdk-users] Too much time in mmap()
Hi,
Too much time is spent on mmap() in rte_eal_init().
When running DPDK application with 35 1G huge pages, it takes about 12sec in mapping().
Is there any way to reduce this time?
I guess it is okay to have that much time in first initialization. However, if the application is restarted for some reason(for example, unexpected
exit) that long initialization can cause service continuity.
May the Fun with you.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] Too much time in mmap()
2017-01-03 23:08 [dpdk-users] Too much time in mmap() Chae-yong Chong
2017-01-04 1:17 ` Hu, Xuekun
@ 2017-01-04 9:16 ` Thomas Monjalon
2017-01-04 14:38 ` Chae-yong Chong
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2017-01-04 9:16 UTC (permalink / raw)
To: Chae-yong Chong; +Cc: users
2017-01-04 08:08, Chae-yong Chong:
> Hi,
>
> Too much time is spent on mmap() in rte_eal_init().
> When running DPDK application with 35 1G huge pages, it takes about 12sec
> in mapping().
> Is there any way to reduce this time?
I guess you are using an old DPDK.
You just need to upgrade :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] Too much time in mmap()
2017-01-04 9:16 ` Thomas Monjalon
@ 2017-01-04 14:38 ` Chae-yong Chong
2017-01-04 14:43 ` Thomas Monjalon
0 siblings, 1 reply; 5+ messages in thread
From: Chae-yong Chong @ 2017-01-04 14:38 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: users
I am using 16.07. Is it already 'too old'? -_-;;;
Almost time is spent on mmap() not the memset()
2017년 1월 4일 (수) 오후 6:16, Thomas Monjalon <thomas.monjalon@6wind.com>님이 작성:
2017-01-04 08:08, Chae-yong Chong:
> Hi,
>
> Too much time is spent on mmap() in rte_eal_init().
> When running DPDK application with 35 1G huge pages, it takes about 12sec
> in mapping().
> Is there any way to reduce this time?
I guess you are using an old DPDK.
You just need to upgrade :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] Too much time in mmap()
2017-01-04 14:38 ` Chae-yong Chong
@ 2017-01-04 14:43 ` Thomas Monjalon
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2017-01-04 14:43 UTC (permalink / raw)
To: Chae-yong Chong; +Cc: users
2017-01-04 14:38, Chae-yong Chong:
> I am using 16.07. Is it already 'too old'? -_-;;;
No it is not too old :)
> Almost time is spent on mmap() not the memset()
Ah OK interesting to know.
Which kernel is it?
Could you profile what is done in kernel side?
PS: please reply below the questions
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-01-04 14:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-03 23:08 [dpdk-users] Too much time in mmap() Chae-yong Chong
2017-01-04 1:17 ` Hu, Xuekun
2017-01-04 9:16 ` Thomas Monjalon
2017-01-04 14:38 ` Chae-yong Chong
2017-01-04 14:43 ` Thomas Monjalon
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).