Low performance and high CPU after FW upgrade to 4.3.3
-
- New here
- Posts: 3
- Joined: Mon Aug 21, 2017 8:36 pm
Low performance and high CPU after FW upgrade to 4.3.3
Greetings,
we have an TS-1679U-RP with 16 WD4000F9YZ-09N20L0 HDs used as a respository for our veeam backup.
Last week I upgraded from 4.1.0 to 4.3.3, since then we have performace (throughput not higher than 7 MB/s) problems and a high CPU IO WAIT (~33%) and CPU usage (~35%)
after running "top" I found that kswapd0 is resonsable for the high cpu rate. After rebooting the NAS the CPU goes down to normal but as soon as the backup starts the cpu goes up and stays that way.
Any Ideas?
Thx,
James
we have an TS-1679U-RP with 16 WD4000F9YZ-09N20L0 HDs used as a respository for our veeam backup.
Last week I upgraded from 4.1.0 to 4.3.3, since then we have performace (throughput not higher than 7 MB/s) problems and a high CPU IO WAIT (~33%) and CPU usage (~35%)
after running "top" I found that kswapd0 is resonsable for the high cpu rate. After rebooting the NAS the CPU goes down to normal but as soon as the backup starts the cpu goes up and stays that way.
Any Ideas?
Thx,
James
- dolbyman
- Guru
- Posts: 35244
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: Low performance and high CPU after FW upgrade to 4.3.3
what raid level and storage configuration are you using?(thick or thin ..etc)
- Toxic17
- Ask me anything
- Posts: 6477
- Joined: Tue Jan 25, 2011 11:41 pm
- Location: Planet Earth
- Contact:
Re: Low performance and high CPU after FW upgrade to 4.3.3
perhaps Raid Scrubbing is running?
Regards Simon
Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following
NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following
NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
- dolbyman
- Guru
- Posts: 35244
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: Low performance and high CPU after FW upgrade to 4.3.3
I guess you could be right .. is the scrubbing invoking the kswap ?Toxic17 wrote:perhaps Raid Scrubbing is running?
- Trexx
- Ask me anything
- Posts: 5393
- Joined: Sat Oct 01, 2011 7:50 am
- Location: Minnesota
Re: Low performance and high CPU after FW upgrade to 4.3.3
from googling:
How much memory do you have? Please paste the output of the following:kswapd is managing swap space in response to memory demands greater than physically available for all processes.
It is process agnostic, it is only interested in what pages are access and when (it is more complex than this of course but to keep things simple we may as well view it this way).
So the real question is "what processes have the greatest burden on memory that are causing kswapd to need to page all the time".
That is most easily answered using 'top' and switching to memory usage sort mode.
Code: Select all
free
Paul
Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350
Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350
Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
-
- New here
- Posts: 3
- Joined: Mon Aug 21, 2017 8:36 pm
Re: Low performance and high CPU after FW upgrade to 4.3.3
what raid level and storage configuration are you using?(thick or thin ..etc)
We are using RAID 5, 30 TB thin
perhaps Raid Scrubbing is running?
no
[~] # free
total used free shared buffers cached
Mem: 1859532 1579680 279852 251036 575024 261376
-/+ buffers/cache: 743280 1116252
Swap: 530108 1172 528936
We are using RAID 5, 30 TB thin
perhaps Raid Scrubbing is running?
no
[~] # free
total used free shared buffers cached
Mem: 1859532 1579680 279852 251036 575024 261376
-/+ buffers/cache: 743280 1116252
Swap: 530108 1172 528936
- Trexx
- Ask me anything
- Posts: 5393
- Joined: Sat Oct 01, 2011 7:50 am
- Location: Minnesota
Re: Low performance and high CPU after FW upgrade to 4.3.3
You aren't short of memory, as you have roughly 1GB free of your 2GB of memory. And your minimal swap usage also confirms that as well.
Thin LUNs are by their very nature causing some overhead/performance loss do to allocating blocks on demand. And that also would correspond to CPU IO Wait (waiting for disk I/O) as new blocks are being allocated/mapped.
Have you run SMART tests on your drives lately or a check filesystem?
Thin LUNs are by their very nature causing some overhead/performance loss do to allocating blocks on demand. And that also would correspond to CPU IO Wait (waiting for disk I/O) as new blocks are being allocated/mapped.
Have you run SMART tests on your drives lately or a check filesystem?
Paul
Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350
Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350
Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
-
- New here
- Posts: 3
- Joined: Fri Sep 01, 2017 10:05 pm
Re: Low performance and high CPU after FW upgrade to 4.3.3
Same problem here on a QNAP TS-670 Pro since FW 4.3.3. CPU load is around 25 % (kswapd0).
Raid scrubbing is enabled on this device.
Code: Select all
total used free shared buffers cached
Mem: 1865400 1694744 170656 250156 77872 1137180
-/+ buffers/cache: 479692 1385708
Swap: 17307320 1032 17306288
- Trexx
- Ask me anything
- Posts: 5393
- Joined: Sat Oct 01, 2011 7:50 am
- Location: Minnesota
Re: Low performance and high CPU after FW upgrade to 4.3.3
Have you opened a helpdesk ticket with QNAP? You don't say which build of 4.3.3 you are using.fichtenelch wrote:Same problem here on a QNAP TS-670 Pro since FW 4.3.3. CPU load is around 25 % (kswapd0).
Raid scrubbing is enabled on this device.Code: Select all
total used free shared buffers cached Mem: 1865400 1694744 170656 250156 77872 1137180 -/+ buffers/cache: 479692 1385708 Swap: 17307320 1032 17306288
Paul
Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350
Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350
Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
-
- New here
- Posts: 3
- Joined: Fri Sep 01, 2017 10:05 pm
Re: Low performance and high CPU after FW upgrade to 4.3.3
It's build 4.3.3.0262. No ticket opened yet. I will investigate if raid scrubbing is triggering this issue.
-
- New here
- Posts: 8
- Joined: Mon Oct 31, 2011 9:14 am
Re: Low performance and high CPU after FW upgrade to 4.3.3
Updated my TS-879u-rp yesterday to 4.3.3.0262 and also experiencing the same issues with kswapd0 using 25% CPU constantly and the NAS rebooting randomly.
Anyone found a solution to this yet?
I Just opened a helpdesk ticket with qnap but seeinging if anyone has a quick fix for it
Anyone found a solution to this yet?
I Just opened a helpdesk ticket with qnap but seeinging if anyone has a quick fix for it
-
- New here
- Posts: 3
- Joined: Mon Aug 21, 2017 8:36 pm
Re: Low performance and high CPU after FW upgrade to 4.3.3
I opened a Helpdesk ticket on 8/12 and no real help except the suggestion to upgrade to 4.3.3.0299 which didn't help at all. I downgraded to 4.2.5. and everything is back to normal. Will wait an see if QNAP offers a working solution. Based on the experience with the helpdesk so far I`m not very optimistic...
-
- New here
- Posts: 8
- Joined: Mon Oct 31, 2011 9:14 am
Re: Low performance and high CPU after FW upgrade to 4.3.3
Did you downgrade by just downloading older firmware and uploading it via the web gui?james_66 wrote:I opened a Helpdesk ticket on 8/12 and no real help except the suggestion to upgrade to 4.3.3.0299 which didn't help at all. I downgraded to 4.2.5. and everything is back to normal. Will wait an see if QNAP offers a working solution. Based on the experience with the helpdesk so far I`m not very optimistic...
Any loss of data or configuration when downgrading?
-
- New here
- Posts: 3
- Joined: Fri Sep 01, 2017 10:05 pm
Re: Low performance and high CPU after FW upgrade to 4.3.3
RAID scrubbing is definitely not the cause of the problem. Got this log entry (no task was running at this time):
On my other QNAP device (TVS-882 - same firmware, 4.3.3.0299) no problems so far. This machine has 8 GB of RAM.
Code: Select all
Type Date Time Users Source IP Computer name Content
Information 10.09.2017 20:51:16 System 127.0.0.1 localhost [Swap Memory] Swap Memory is currently been used to free out space for physical memory. When it is required to unplug disk(s) where Swap Partition(s) are located, please unplug them one by one.
- Trexx
- Ask me anything
- Posts: 5393
- Joined: Sat Oct 01, 2011 7:50 am
- Location: Minnesota
Re: Low performance and high CPU after FW upgrade to 4.3.3
Make sure and keep QNAP updated on any changes you have made and bugging them for a fix.james_66 wrote:I opened a Helpdesk ticket on 8/12 and no real help except the suggestion to upgrade to 4.3.3.0299 which didn't help at all. I downgraded to 4.2.5. and everything is back to normal. Will wait an see if QNAP offers a working solution. Based on the experience with the helpdesk so far I`m not very optimistic...
Paul
Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350
Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350
Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq