SOLVED 20% CPU at idle [EHCI problem]

Status
Not open for further replies.

Mouftik

Dabbler
Joined
May 12, 2014
Messages
41
Hi all,

I am using the last FreeNAS version and I am expecting some strage behavior. After some uptime, the server rank up to 20% CPU and don't leave this state. My CRON jobs and everything working only by night, but diring the day, I keep having 20% CPU, only a reboot calm down things for maybee some minutes.

My configuration is :
Gigabyte GA-H97N-WIFI
16GB of Crucial Memory
Intel Pentium G3220 (3 GHz)
6 * 4Tb Seagate hard drives.

I am using the Intel NIC, because I saw some threads where other NIC are not very relyable. And for the configuration I have AFP/CIFS up and a Plex Server. 20% seems a little high due to the choosen processor and used services ... What do you think about, and do you have some clue about how to fix it ?
Or can it be some wierd reporting bug ?
 
Joined
Jan 9, 2015
Messages
430
Can you run "top" at the command line and post the output here?
 

Mouftik

Dabbler
Joined
May 12, 2014
Messages
41
I am at work now but I already done a top in the shell and nothing was wrong, juste python running at 0.1% and nothing elsse.
 

Mouftik

Dabbler
Joined
May 12, 2014
Messages
41
I have something in top yes:

PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
12 root -88 - 0K 192K WAIT 1 64:29 44.97% [intr{irq16: e
2972 root 20 0 361M 171M usem 0 0:03 0.20% /usr/local/bin
17896 root 20 0 108M 20632K select 1 0:00 0.20% python: webshe
17946 root 20 0 26868K 5524K CPU1 1 0:00 0.20% top -SHIz
2972 root 20 0 361M 171M usem 1 0:03 0.10% /usr/local/bin
17896 root 20 0 108M 20632K select 0 0:01 0.10% python: webshe

Maybee not related to #9101 because mine is stable at 20% no picks.
 

Mouftik

Dabbler
Joined
May 12, 2014
Messages
41
After looking on FreeBSD forums i have the interruptions cause by something:

root@Horreo ~]# vmstat -i
interrupt total rate
irq16: ehci0 3070054365 252950
irq23: ehci1 66003 5
cpu0:timer 1745601 143
irq264: em0 71254 5
irq266: ahci0 6374 0
cpu1:timer 13179254 1085
Total 3085122851 254191

seems to come from USB "High Speed" sort of thing, which can be disabled in the BIOS, I will check and give you an answer to that question.
 

Mouftik

Dabbler
Joined
May 12, 2014
Messages
41
Digging into the hardware i have this information :

ehci0@pci0:0:26:0: class=0x0c0320 card=0x50061458 chip=0x8cad8086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB

So that's what I thought, coming from Intel USB hardware.

EDIT : After checking BIOS, everything is working fine, the 20% are gone, it's a EHCI Hand-Off, which let the Motherboard decide if he use EHCI or not, this is disabled by default because most recent OS did the same job, but FreeBSD apparently not !
 

Mouftik

Dabbler
Joined
May 12, 2014
Messages
41
Last message, for thoses which may have the same problem, the EHCI Hand-Off was not working so I keep it like that but in the Tunnables of FreeNAS I have added xhci_load to TRUE, and the problem was gone.

Hope it could help someone.
 
Status
Not open for further replies.
Top