DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Temperature of CPU when running DPDK App
       [not found] <126402432.2812576.1522233938671.JavaMail.zimbra@viettel.com.vn>
@ 2018-03-28 10:47 ` vuonglv
  2018-03-28 11:08   ` Vincent Jardin
  2018-03-29 10:05   ` Richard Nutman
  0 siblings, 2 replies; 6+ messages in thread
From: vuonglv @ 2018-03-28 10:47 UTC (permalink / raw)
  To: users; +Cc: toanln1



Hi DPDK team, 
I have big problem with temperature of CPU when running DPDK App (My app use all of 16 CPU on socket 1, and all CPU always run with 100% work load). As you see in below statistics, temperature of CPU is up to 72°C. 
My question: 72°C is too hot, right?. What is the recommend for temperature of CPU when running DPDK App? 




Server: HP-BL460C Gen9 
OS: Redhat 7.3 

[root@localhost dataplane]# lscpu 
Architecture: x86_64 
CPU op-mode(s): 32-bit, 64-bit 
Byte Order: Little Endian 
CPU(s): 64 
On-line CPU(s) list: 0-63 
Thread(s) per core: 2 
Core(s) per socket: 16 
Socket(s): 2 
NUMA node(s): 2 
Vendor ID: GenuineIntel 
CPU family: 6 
Model: 79 
Model name: Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz 
Stepping: 1 
CPU MHz: 2600.000 
BogoMIPS: 5200.76 
Virtualization: VT-x 
L1d cache: 32K 
L1i cache: 32K 
L2 cache: 256K 
L3 cache: 40960K 
NUMA node0 CPU(s): 0-15,32-47 
NUMA node1 CPU(s): 16-31,48-63 

[root@localhost ~]# sensors 
ixgbe-pci-0600 
Adapter: PCI adapter 
loc7: +33.0°C (high = +95.0°C, crit = +75.0°C) 

power_meter-acpi-0 
Adapter: ACPI interface 
power1: 0.00 W (interval = 300.00 s) 

coretemp-isa-0000 
Adapter: ISA adapter 

Physical id 0: +61.0°C (high = +83.0°C, crit = +93.0°C) 
Core 0: +55.0°C (high = +83.0°C, crit = +93.0°C) 
Core 1: +54.0°C (high = +83.0°C, crit = +93.0°C) 
Core 2: +54.0°C (high = +83.0°C, crit = +93.0°C) 
Core 3: +54.0°C (high = +83.0°C, crit = +93.0°C) 
Core 4: +56.0°C (high = +83.0°C, crit = +93.0°C) 
Core 5: +53.0°C (high = +83.0°C, crit = +93.0°C) 
Core 6: +53.0°C (high = +83.0°C, crit = +93.0°C) 
Core 7: +53.0°C (high = +83.0°C, crit = +93.0°C) 
Core 8: +52.0°C (high = +83.0°C, crit = +93.0°C) 
Core 9: +52.0°C (high = +83.0°C, crit = +93.0°C) 
Core 10: +52.0°C (high = +83.0°C, crit = +93.0°C) 
Core 11: +52.0°C (high = +83.0°C, crit = +93.0°C) 
Core 12: +52.0°C (high = +83.0°C, crit = +93.0°C) 
Core 13: +53.0°C (high = +83.0°C, crit = +93.0°C) 
Core 14: +53.0°C (high = +83.0°C, crit = +93.0°C) 
Core 15: +54.0°C (high = +83.0°C, crit = +93.0°C) 

coretemp-isa-0001 
Adapter: ISA adapter 

Physical id 1: +72.0°C (high = +83.0°C, crit = +93.0°C) 
Core 0: +72.0°C (high = +83.0°C, crit = +93.0°C) 
Core 1: +71.0°C (high = +83.0°C, crit = +93.0°C) 
Core 2: +69.0°C (high = +83.0°C, crit = +93.0°C) 
Core 3: +67.0°C (high = +83.0°C, crit = +93.0°C) 
Core 4: +70.0°C (high = +83.0°C, crit = +93.0°C) 
Core 5: +71.0°C (high = +83.0°C, crit = +93.0°C) 
Core 6: +70.0°C (high = +83.0°C, crit = +93.0°C) 
Core 7: +70.0°C (high = +83.0°C, crit = +93.0°C) 
Core 8: +70.0°C (high = +83.0°C, crit = +93.0°C) 
Core 9: +69.0°C (high = +83.0°C, crit = +93.0°C) 
Core 10: +71.0°C (high = +83.0°C, crit = +93.0°C) 
Core 11: +71.0°C (high = +83.0°C, crit = +93.0°C) 
Core 12: +70.0°C (high = +83.0°C, crit = +93.0°C) 
Core 13: +68.0°C (high = +83.0°C, crit = +93.0°C) 
Core 14: +70.0°C (high = +83.0°C, crit = +93.0°C) 
Core 15: +69.0°C (high = +83.0°C, crit = +93.0°C) 




Many thanks, 

Vuong Le 

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

* Re: [dpdk-users] Temperature of CPU when running DPDK App
  2018-03-28 10:47 ` [dpdk-users] Temperature of CPU when running DPDK App vuonglv
@ 2018-03-28 11:08   ` Vincent Jardin
  2018-03-28 12:24     ` Wiles, Keith
  2018-03-29 10:05   ` Richard Nutman
  1 sibling, 1 reply; 6+ messages in thread
From: Vincent Jardin @ 2018-03-28 11:08 UTC (permalink / raw)
  To: vuonglv, users; +Cc: toanln1

Did you try interrupt mode ?

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

* Re: [dpdk-users] Temperature of CPU when running DPDK App
  2018-03-28 11:08   ` Vincent Jardin
@ 2018-03-28 12:24     ` Wiles, Keith
  2018-03-28 13:19       ` Dai, Wei
  0 siblings, 1 reply; 6+ messages in thread
From: Wiles, Keith @ 2018-03-28 12:24 UTC (permalink / raw)
  To: Vincent Jardin; +Cc: vuonglv, users, toanln1



> On Mar 28, 2018, at 6:08 AM, Vincent Jardin <vincent.jardin@6wind.com> wrote:
> 
> Did you try interrupt mode ?
> 

Also look at rte_pause() while you detect nothing to do before going back to interrupt mode can help too.
> 

Regards,
Keith

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

* Re: [dpdk-users] Temperature of CPU when running DPDK App
  2018-03-28 12:24     ` Wiles, Keith
@ 2018-03-28 13:19       ` Dai, Wei
  2018-03-29 14:34         ` vuonglv
  0 siblings, 1 reply; 6+ messages in thread
From: Dai, Wei @ 2018-03-28 13:19 UTC (permalink / raw)
  To: Wiles, Keith, Vincent Jardin; +Cc: vuonglv, users, toanln1

Example/l3fwd-power can be a good reference.

> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Wiles, Keith
> Sent: Wednesday, March 28, 2018 8:24 PM
> To: Vincent Jardin <vincent.jardin@6wind.com>
> Cc: vuonglv@viettel.com.vn; users@dpdk.org; toanln1
> <toanln1@viettel.com.vn>
> Subject: Re: [dpdk-users] Temperature of CPU when running DPDK App
> 
> 
> 
> > On Mar 28, 2018, at 6:08 AM, Vincent Jardin <vincent.jardin@6wind.com>
> wrote:
> >
> > Did you try interrupt mode ?
> >
> 
> Also look at rte_pause() while you detect nothing to do before going back to
> interrupt mode can help too.
> >
> 
> Regards,
> Keith

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

* Re: [dpdk-users] Temperature of CPU when running DPDK App
  2018-03-28 10:47 ` [dpdk-users] Temperature of CPU when running DPDK App vuonglv
  2018-03-28 11:08   ` Vincent Jardin
@ 2018-03-29 10:05   ` Richard Nutman
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Nutman @ 2018-03-29 10:05 UTC (permalink / raw)
  To: users

Hi, 

72c looks to be well within range from the sensor specs you posted below.
You say you have a problem with it, what exactly is the problem ?

Thermal throttling will kick in before the cpu damages itself.

As others have stated you may want to look at inserting some _mm_pause instructions which halt the cpu for around 20-40 cycles and help to reduce heat.
Other than that perhaps look to see if the server is getting adequate cooling.  There is no recommended temperature for DPDK, if the cpu is well within limits then there are no problems.

-Richard.

> -----Original Message-----
> From: vuonglv@viettel.com.vn [mailto:vuonglv@viettel.com.vn]
> Sent: 28 March 2018 11:48
> To: users@dpdk.org
> Cc: toanln1
> Subject: [dpdk-users] Temperature of CPU when running DPDK App
> 
> 
> 
> Hi DPDK team,
> I have big problem with temperature of CPU when running DPDK App (My
> app use all of 16 CPU on socket 1, and all CPU always run with 100%
> work load). As you see in below statistics, temperature of CPU is up to
> 72°C.
> My question: 72°C is too hot, right?. What is the recommend for
> temperature of CPU when running DPDK App?
> 
> 
> 
> 
> Server: HP-BL460C Gen9
> OS: Redhat 7.3
> 
> [root@localhost dataplane]# lscpu
> Architecture: x86_64
> CPU op-mode(s): 32-bit, 64-bit
> Byte Order: Little Endian
> CPU(s): 64
> On-line CPU(s) list: 0-63
> Thread(s) per core: 2
> Core(s) per socket: 16
> Socket(s): 2
> NUMA node(s): 2
> Vendor ID: GenuineIntel
> CPU family: 6
> Model: 79
> Model name: Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz
> Stepping: 1
> CPU MHz: 2600.000
> BogoMIPS: 5200.76
> Virtualization: VT-x
> L1d cache: 32K
> L1i cache: 32K
> L2 cache: 256K
> L3 cache: 40960K
> NUMA node0 CPU(s): 0-15,32-47
> NUMA node1 CPU(s): 16-31,48-63
> 
> [root@localhost ~]# sensors
> ixgbe-pci-0600
> Adapter: PCI adapter
> loc7: +33.0°C (high = +95.0°C, crit = +75.0°C)
> 
> power_meter-acpi-0
> Adapter: ACPI interface
> power1: 0.00 W (interval = 300.00 s)
> 
> coretemp-isa-0000
> Adapter: ISA adapter
> 
> Physical id 0: +61.0°C (high = +83.0°C, crit = +93.0°C)
> Core 0: +55.0°C (high = +83.0°C, crit = +93.0°C)
> Core 1: +54.0°C (high = +83.0°C, crit = +93.0°C)
> Core 2: +54.0°C (high = +83.0°C, crit = +93.0°C)
> Core 3: +54.0°C (high = +83.0°C, crit = +93.0°C)
> Core 4: +56.0°C (high = +83.0°C, crit = +93.0°C)
> Core 5: +53.0°C (high = +83.0°C, crit = +93.0°C)
> Core 6: +53.0°C (high = +83.0°C, crit = +93.0°C)
> Core 7: +53.0°C (high = +83.0°C, crit = +93.0°C)
> Core 8: +52.0°C (high = +83.0°C, crit = +93.0°C)
> Core 9: +52.0°C (high = +83.0°C, crit = +93.0°C)
> Core 10: +52.0°C (high = +83.0°C, crit = +93.0°C)
> Core 11: +52.0°C (high = +83.0°C, crit = +93.0°C)
> Core 12: +52.0°C (high = +83.0°C, crit = +93.0°C)
> Core 13: +53.0°C (high = +83.0°C, crit = +93.0°C)
> Core 14: +53.0°C (high = +83.0°C, crit = +93.0°C)
> Core 15: +54.0°C (high = +83.0°C, crit = +93.0°C)
> 
> coretemp-isa-0001
> Adapter: ISA adapter
> 
> Physical id 1: +72.0°C (high = +83.0°C, crit = +93.0°C)
> Core 0: +72.0°C (high = +83.0°C, crit = +93.0°C)
> Core 1: +71.0°C (high = +83.0°C, crit = +93.0°C)
> Core 2: +69.0°C (high = +83.0°C, crit = +93.0°C)
> Core 3: +67.0°C (high = +83.0°C, crit = +93.0°C)
> Core 4: +70.0°C (high = +83.0°C, crit = +93.0°C)
> Core 5: +71.0°C (high = +83.0°C, crit = +93.0°C)
> Core 6: +70.0°C (high = +83.0°C, crit = +93.0°C)
> Core 7: +70.0°C (high = +83.0°C, crit = +93.0°C)
> Core 8: +70.0°C (high = +83.0°C, crit = +93.0°C)
> Core 9: +69.0°C (high = +83.0°C, crit = +93.0°C)
> Core 10: +71.0°C (high = +83.0°C, crit = +93.0°C)
> Core 11: +71.0°C (high = +83.0°C, crit = +93.0°C)
> Core 12: +70.0°C (high = +83.0°C, crit = +93.0°C)
> Core 13: +68.0°C (high = +83.0°C, crit = +93.0°C)
> Core 14: +70.0°C (high = +83.0°C, crit = +93.0°C)
> Core 15: +69.0°C (high = +83.0°C, crit = +93.0°C)
> 
> 
> 
> 
> Many thanks,
> 
> Vuong Le
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------


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

* Re: [dpdk-users] Temperature of CPU when running DPDK App
  2018-03-28 13:19       ` Dai, Wei
@ 2018-03-29 14:34         ` vuonglv
  0 siblings, 0 replies; 6+ messages in thread
From: vuonglv @ 2018-03-29 14:34 UTC (permalink / raw)
  To: wei dai; +Cc: Keith Wiles, Vincent Jardin, users, toanln1

Hi team,
Thanks for your response, but my question related to safe temperature threshold for CPU. I mean, if temperature of CPU is higher than recommended in long time, it may be reduce service life of CPU.
Do you have any knowledge or reference related to this problem?

Many thanks,
Vuong Le

----- Original Message -----
From: "wei dai" <wei.dai@intel.com>
To: "Keith Wiles" <keith.wiles@intel.com>, "Vincent Jardin" <vincent.jardin@6wind.com>
Cc: vuonglv@viettel.com.vn, users@dpdk.org, "toanln1" <toanln1@viettel.com.vn>
Sent: Wednesday, March 28, 2018 8:19:35 PM
Subject: RE: [dpdk-users] Temperature of CPU when running DPDK App

Example/l3fwd-power can be a good reference.

> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Wiles, Keith
> Sent: Wednesday, March 28, 2018 8:24 PM
> To: Vincent Jardin <vincent.jardin@6wind.com>
> Cc: vuonglv@viettel.com.vn; users@dpdk.org; toanln1
> <toanln1@viettel.com.vn>
> Subject: Re: [dpdk-users] Temperature of CPU when running DPDK App
> 
> 
> 
> > On Mar 28, 2018, at 6:08 AM, Vincent Jardin <vincent.jardin@6wind.com>
> wrote:
> >
> > Did you try interrupt mode ?
> >
> 
> Also look at rte_pause() while you detect nothing to do before going back to
> interrupt mode can help too.
> >
> 
> Regards,
> Keith

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

end of thread, other threads:[~2018-03-29 14:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <126402432.2812576.1522233938671.JavaMail.zimbra@viettel.com.vn>
2018-03-28 10:47 ` [dpdk-users] Temperature of CPU when running DPDK App vuonglv
2018-03-28 11:08   ` Vincent Jardin
2018-03-28 12:24     ` Wiles, Keith
2018-03-28 13:19       ` Dai, Wei
2018-03-29 14:34         ` vuonglv
2018-03-29 10:05   ` Richard Nutman

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