Re: [dpdk-users] Too much time in mmap()

2017-01-04 Thread Thomas Monjalon
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


Re: [dpdk-users] Too much time in mmap()

2017-01-04 Thread Chae-yong Chong
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 님이 작성:

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


Re: [dpdk-users] Too much time in mmap()

2017-01-04 Thread Thomas Monjalon
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 :)


Re: [dpdk-users] Too much time in mmap()

2017-01-03 Thread Hu, Xuekun
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-boun...@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.


[dpdk-users] Too much time in mmap()

2017-01-03 Thread 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 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.