This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

High CPU on idle. Related to USB?

Hard disks, HDD, RAID Hardware, disk controllers, SATA, PATA, SCSI, IDE, On Board, USB, Firewire, CF (Compact Flash)
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

High CPU on idle. Related to USB?

Post by yanqc »

Hi,

I recently did a fresh instal of 9.2.0.1 (972) and imported previous settings (ZFS and jails created under 9.1). Since then my CPU has been running 100% on idle. Previously, as I am using adaptive power (low consumption), my usage level would go down and I'm not sure how to fix this as I played with nas4free services as well as bios options disabling and enabling different elements to see if it would fix my issue. Most of my services are disabled as well as my jails except plex. Here's some info I gathered:

Thanks for your help!

Code: Select all

$ top -SH
last pid:  1180;  load averages:  0.86,  0.79,  0.76  up 0+13:29:19    23:42:56
368 processes: 3 running, 348 sleeping, 17 waiting

Mem: 90M Active, 131M Inact, 1057M Wired, 16M Buf, 6381M Free
ARC: 759M Total, 488M MFU, 219M MRU, 16K Anon, 9651K Header, 43M Other
Swap: 


  PID USERNAME     PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
   11 root         155 ki31     0K    32K RUN     0 789:14 100.00% idle{idle: cpu0}
   12 root         -88    -     0K   272K WAIT    1 483:07 48.10% intr{irq18: uhci2 ehc}
   11 root         155 ki31     0K    32K RUN     1 322:10 40.19% idle{idle: cpu1}
   12 root         -88    -     0K   272K WAIT    0   2:19  0.00% intr{irq22: atapci1+}
    0 root         -16    0     0K  3632K sched   0   2:08  0.00% kernel{swapper}
   12 root         -60    -     0K   272K WAIT    1   1:16  0.00% intr{swi4: clock}
 1867 root          20    0 12084K  1628K select  0   1:04  0.00% powerd
    0 root         -16    0     0K  3632K -       0   0:34  0.00% kernel{zio_write_issue_}
    0 root         -16    0     0K  3632K -       0   0:34  0.00% kernel{zio_write_issue_}
   12 root         -92    -     0K   272K WAIT    1   0:27  0.00% intr{irq257: mskc0}
   13 root          -8    -     0K    48K -       1   0:24  0.00% geom{g_down}
 2198 root          52    0 39416K  5392K kqread  0   0:19  0.00% lighttpd
   21 root          16    -     0K    16K syncer  0   0:17  0.00% syncer
    0 root         -16    0     0K  3632K -       0   0:17  0.00% kernel{zio_null_issue}
 2688 root          20    0 81168K 14164K select  1   0:17  0.00% smbd
   12 root         -88    -     0K   272K WAIT    0   0:12  0.00% intr{irq256: siis0}
    6 root          -8    -     0K    96K tx->tx  0   0:09  0.00% zfskern{txg_thread_enter}
   13 root          -8    -     0K    48K -       0   0:08  0.00% geom{g_up}

Code: Select all

$ vmstat -i
interrupt                          total       rate
irq1: atkbd0                           6          0
irq6: fdc0                             1          0
irq16: uhci0+                      32468          0
irq18: uhci2 ehci0+           9330126829     191863
irq20: hpet0                    55103111       1133
irq22: atapci1+                  2229607         45
irq23: uhci3 ehci1                 33309          0
irq256: siis0                    1349629         27
irq257: mskc0                    1456460         29
Total                         9390331420     193101
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: High CPU on idle. Related to USB?

Post by raulfg3 »

perhaps you have a IRQ storm, search wiki and google a bit how to solve.

http://wiki.nas4free.org/doku.php?id=faq:0049
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

Re: High CPU on idle. Related to USB?

Post by yanqc »

Thanks Raulfg3,

this is the results I get by identifying the culprit. In bios, I tried disabling and enabling USB 2.0 options as well as the the lan and nothing gives. I've tried changing my Sata settings from IDE to AHCI just in case.
People say they fixed this problem by moving the cards on my pcie slots, but my usb and lan are integrated to the motherboard. Any idea?

Code: Select all

$ dmesg | grep irq\ 18
uhci2: <Intel 82801I (ICH9) USB controller> port 0x9c00-0x9c1f irq 18 at device 26.2 on pci0
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xf9fffc00-0xf9ffffff irq 18 at device 26.7 on pci0
pcib5: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
mskc0: <Marvell Yukon 88E8056 Gigabit Ethernet> port 0xc800-0xc8ff mem 0xfe9fc000-0xfe9fffff irq 18 at device 0.0 on pci3
uhci5: <Intel 82801I (ICH9) USB controller> port 0x9480-0x949f irq 18 at device 29.2 on pci0
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: High CPU on idle. Related to USB?

Post by raulfg3 »

If disable USB do not work, perhaps is NOT a IRQ storm. (disable USB must eliminate High CPU if is a IRQ Storm)

what do you have on USB connected?
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

Re: High CPU on idle. Related to USB?

Post by yanqc »

I have my NAS4FREE on usb and that's it.

Something strange just happened as I was testing. I tried an old install of 9.1 on USB, cleared and imported disk config in disk management. The idle problem remained.

I went back to my fresh install 9.2 and didn't import disks and now there's no idle and system works perfectly, though disks remain unimported... I fear that if I clear config and import disks it will go back to idle state.

What do you think?

Thanks.
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

Re: High CPU on idle. Related to USB?

Post by yanqc »

Update :

I tried rebooting my server multiple times. One out of ten time will get me a boot clear of my idle problem but the issue comes back as soon as I reboot. Any idea of what would cause this freak idling?

Code: Select all

$ vmstat -i
interrupt                          total       rate
irq6: fdc0                             1          0
irq16: uhci0+                       2810          0
irq18: uhci2 ehci0+              1542549        372
irq20: hpet0                     1205128        290
irq23: uhci3 ehci1                  3651          0
irq256: siis0                      12782          3
irq257: mskc0                      47039         11
irq258: ahci0                      31174          7
Total                            2845134        686
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: High CPU on idle. Related to USB?

Post by b0ssman »

can you tell us which motherboard this is?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

Re: High CPU on idle. Related to USB?

Post by yanqc »

b0ssman wrote:can you tell us which motherboard this is?
Hi, it is an ASUS P5E.

thanks
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

Re: High CPU on idle. Related to USB?

Post by yanqc »

I'm still stuck with this issue. Anyone has any idea?
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: High CPU on idle. Related to USB?

Post by b0ssman »

have you disabled the JMicron® PATA and SATA controller
and the VIA VT6308P IEEE 1394?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

Re: High CPU on idle. Related to USB?

Post by yanqc »

I did it before with no result. I just disabled both of them again with the same result. :\

Code: Select all

PID USERNAME     PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
   11 root         155 ki31     0K    32K RUN     0   2:29 100.00% idle{idle: cpu0}
   12 root         -88    -     0K   272K RUN     1   1:39 51.86% intr{irq18: uhci2 ehc}
   11 root         155 ki31     0K    32K RUN     1   1:01 39.79% idle{idle: cpu1}
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: High CPU on idle. Related to USB?

Post by b0ssman »

Give the 9.3 beta from the forum a try.


Sent from my iPhone using Tapatalk
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: High CPU on idle. Related to USB?

Post by raulfg3 »

You can download here: viewtopic.php?f=69&t=5365
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

Re: High CPU on idle. Related to USB?

Post by yanqc »

thank you,

option are disabled, version 9.3 installed, cpu is till high but seems fixed and now I'm facing irq 18 throttling interrupt source :(
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: High CPU on idle. Related to USB?

Post by b0ssman »

If you are dead set on using that board. Try disabling USB altogether and install nas4free on a cf card with a cf to Sata adapter. Or an old notebook hd.


Sent from my iPhone using Tapatalk
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

Post Reply

Return to “Hard disk & controller”