View previous topic :: View next topic |
Author |
Message |
linuxwoody n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Aug 2023 Posts: 4
|
Posted: Tue Aug 01, 2023 3:06 pm Post subject: glusterd drives 14 of 16 cpus to 100% active wait ... |
|
|
Hello,
please can anybody help me? I have a gluster filesystem running fine on two gentoo nodes for more than 1,5 years now using gluster v8.6. Last Weekend I made an complete update of one node mainly to get the latest samba version. The other node is still left untouched. Everything worked fine, and gluster was updated to v10.2-r2.
The problem is that now the updated node runs with 100% active cpu waiting as soon as the gluster daemon starts. When killing the gluster processes everything is fine again. The overall performance is more or less ok, but i can't figure out why the gluster daemon is behaving in such a way.
To test it I setup another node and completely resetted all gluster configurations to a clean start. The same here: Even when there is no configuration done in any way - as soon as glusterd starts 14 of 16 cpus are at 100% io-load.
Now I'm searching for a solution for more than 3 days and it's driving me nuts.
Has anybody experienced this strange behaviour or has an explanation for it?
Any help would be welcome.
Best regards,
Woody _________________ Linux - life is too short for a reboot ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alamahant Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 23 Mar 2019 Posts: 3950
|
Posted: Tue Aug 01, 2023 3:41 pm Post subject: |
|
|
Welcome to Gentoo!
Maybe update the other Gentoo node to same version of glusterfs. _________________
![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goverp Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/152613747847c6fd276c31a.jpg)
Joined: 07 Mar 2007 Posts: 2204
|
Posted: Tue Aug 01, 2023 6:46 pm Post subject: |
|
|
Woody, what kernel are you running? There's a minor bug in 6.4.3 or later (or maybe 6.4.4 or later) where io_uring causes a CPU to be marked 100% busy despite being in IOWait. IIUC it's minor because the CPU is not doing anything, it's just being incorrectly marked busy. There should be a fix in 6.4.8 coming.
Of course, if your system is showing symptoms of being overloaded then it's not this bug, which is only "cosmetic". AFAIK this bug should only mark one cpu busy, not 14 out of 16, so it might be something about gluster, or it might be a different problem. _________________ Greybeard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxwoody n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Aug 2023 Posts: 4
|
Posted: Fri Aug 04, 2023 8:41 am Post subject: |
|
|
Hi alamahant
Quote: | Maybe update the other Gentoo node to same version of glusterfs. |
Definitely not - this bug shows up as soon as you start an even non-configured gluster daemon. _________________ Linux - life is too short for a reboot ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxwoody n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Aug 2023 Posts: 4
|
Posted: Fri Aug 04, 2023 9:30 am Post subject: |
|
|
Hi Goverp
Quote: | what kernel are you running? |
Bull's eye - that's it! The kernel was 6.4.7, and after an upgrade to 6.4.8 on a test server everythings is fine now. I startet the not yet configured glusterd and all cpu states are normal.
Thanks a lot for your help
Best regards, Woody _________________ Linux - life is too short for a reboot ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Fri Aug 04, 2023 2:51 pm Post subject: |
|
|
If you are satisfied that your problem is solved, please edit your opening post to include the text [SOLVED] in its subject line, so that the index will show this thread is resolved. If you want to be especially helpful to future readers (although this problem seems unlikely to show up again in the future with the same solution), also edit the body of your first post to briefly summarize the solution, or point readers to the post where you described the solution. This way, anyone who finds this thread can quickly apply your solution. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|