cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Highlighted

No of Core mismatched with number of CPU

Hi,

We have cluster R77.30 hosted in open server with 4 cores assigned for the compute. However, in one gateway we are seeing one CPU is functional in top.  fw ctl get int fwlic_num_of_allowed_cores out shows four core is allowed.

Then what could be the issue?

GW#fw ctl get int fwlic_num_of_allowed_cores

fwlic_num_of_allowed_cores = 4

 

GW# fw ctl affinity -l -r

CPU 0:

All:    eth2 eth3 eth4 eth10 eth11

        fw_0 fw_1 fw_2

        in.geod mpdaemon fwd cprid cpd

 

Regards

Dipayan Nayak

 

 

 

 

0 Kudos
3 Replies

Re: No of Core mismatched with number of CPU

Looks like a possible "core crunch" as described on p. 240 of my book, please provide output from the following commands for analysis:

  • fwaccel stat
  • grep -c ^processor /proc/cpuinfo
  • /sbin/cpuinfo
  • fw ctl affinity -l -r
  • sim affinity -l
  • fw ctl multik stat
  • tail $FWDIR/conf/fwaffinity.conf

 

"IPS Immersion Training" Self-paced Video Class
Now Available at http://www.maxpowerfirewalls.com
0 Kudos

Re: No of Core mismatched with number of CPU

Hi Timothy

[GW]# fwaccel stat
Accelerator Status : off

Accelerator Features Mask : not available
Cryptography Features Mask : not available

[GW]# grep -c ^processor /proc/cpuinfo /sbin/cpuinfo
/proc/cpuinfo:1
/sbin/cpuinfo:0
[GW]# fw ctl affinity -l -r
CPU 0:
All: eth2 eth3 eth4 eth10 eth11
fw_0 fw_1 fw_2
in.geod mpdaemon fwd cprid cpd
[Expert@MY633-KU3-FW-EXT001:0]# sim affinity -l
Cannot change affinity because only one processor exists
[GW]# fw ctl multik stat
ID | Active | CPU | Connections | Peak
----------------------------------------------
0 | Yes | all | 794 | 2213
1 | Yes | all | 681 | 1044
2 | Yes | all | 449 | 1362
[GW]# tail $FWDIR/conf/fwaffinity.conf
# a. For interfaces, you can also write "default", and the setting would apply to any interface not
# mentioned in the file.
# 3. The desired affinity. Either:
# a. One or more CPU numbers.
# b. "all" - all CPUs are eligible.
# c. "ignore" - do nothing for this entry.
# d. "auto" - use any free CPU. A free CPU is one that doesn't appear in any line in this file,
# and doesn't run a worker thread.
#
i default auto

Regards

Dipayan Nayak

0 Kudos

Re: No of Core mismatched with number of CPU

Hi Timothy

[GW]# fwaccel stat
Accelerator Status : off

Accelerator Features Mask : not available
Cryptography Features Mask : not available

[GW]# grep -c ^processor /proc/cpuinfo /sbin/cpuinfo
/proc/cpuinfo:1
/sbin/cpuinfo:0
[GW]# fw ctl affinity -l -r
CPU 0:
All: eth2 eth3 eth4 eth10 eth11
fw_0 fw_1 fw_2
in.geod mpdaemon fwd cprid cpd
[Expert@MY633-KU3-FW-EXT001:0]# sim affinity -l
Cannot change affinity because only one processor exists
[GW]# fw ctl multik stat
ID | Active | CPU | Connections | Peak
----------------------------------------------
0 | Yes | all | 794 | 2213
1 | Yes | all | 681 | 1044
2 | Yes | all | 449 | 1362
[GW]# tail $FWDIR/conf/fwaffinity.conf
# a. For interfaces, you can also write "default", and the setting would apply to any interface not
# mentioned in the file.
# 3. The desired affinity. Either:
# a. One or more CPU numbers.
# b. "all" - all CPUs are eligible.
# c. "ignore" - do nothing for this entry.
# d. "auto" - use any free CPU. A free CPU is one that doesn't appear in any line in this file,
# and doesn't run a worker thread.
#
i default auto
0 Kudos