Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 34

Thread: Why is my hexacore Xeon at 100% for copying some files via samba?

  1. #21

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    Now I started in Dolphin on TW-Dell a copy from an older odroid NAS (mdadm RAID1 2x 1TB WDred) to the fresh odroid NAS (2x4TB WDred).

    Believe it or not, the same second kwalletd5 thread started using 100% in htop, while smb is not very prominent.

    It's a total of 31.4 GiB, throughput is about 56 MiB/s...

    https://paste.opensuse.org/16d1b97e

    btw: all these 9 smbd threads during my first experiment with 100% load on all cores where by user "root"... WHY that?!?

    I found these root /usr/sbin/smbd threads even for the current smb copy process, but only 7 threads in htop and 0% CPU load...
    Kind regards

    raspu

  2. #22
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,726
    Blog Entries
    2

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    Keep in mind it's common modern OS behavior to not kill processes and threads immediately or soon after a task is completed... on the chance the process can be re-used if/when a task is repeated.

    Instead, it's placed in a garbage collection queue and when the resources are needed for something else, only then depending on its position in the queue, the process is then killed, returning resources to a pool.

    This behavior is often confused with memory leaks which never return resources to the pool...

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #23

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    100% load on 6 cpu cores for more than 30 hours is not eactly what I would expect from "a garbage collection queue"...

    ;-)
    Kind regards

    raspu

  4. #24
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,726
    Blog Entries
    2

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    Quote Originally Posted by suse_rasputin View Post
    100% load on 6 cpu cores for more than 30 hours is not eactly what I would expect from "a garbage collection queue"...

    ;-)
    True, but even at 100%, does your system suffer any latency?
    After a bit, try doing various somethings different that don't involve disk writes and see if those processes aren't killed on their own.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #25

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    Quote Originally Posted by tsu2 View Post
    True, but even at 100%, does your system suffer any latency?
    After a bit, try doing various somethings different that don't involve disk writes and see if those processes aren't killed on their own.

    TSU
    Yepp, the whole system was VERY sluggish, which resolved only after the reboot...
    Kind regards

    raspu

  6. #26
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,726
    Blog Entries
    2

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    I wrote a Wiki page that describes how to properly read the output of the Free tool...

    At the end,
    I describe a command which can be used to clear allocated memory buffers and cache.
    A full analysis might reveal that your latencies are related to memory resource starvation and not processor usage (you'd be surprised what a processor is capable of which is far more than simple disk writes), if that is your real problem then the command can make your system responsive again without a reboot.

    https://en.opensuse.org/User:Tsu2/free_tool

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  7. #27

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    But this has nothing to do with my initial question: What did these 9 smb threads do to use 100% cpu?

    Distraction is not really helpful here (as usual...).
    Kind regards

    raspu

  8. #28
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,903
    Blog Entries
    1

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    Quote Originally Posted by suse_rasputin View Post
    But this has nothing to do with my initial question: What did these 9 smb threads do to use 100% cpu?
    Hard to tell, see: https://www.google.com/search?client...g+high+cp+load
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  9. #29

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    ...so basically the only solace is

    https://www.youtube.com/watch?v=pAyK...6F724062B245B6

    :-(
    Kind regards

    raspu

  10. #30
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,077
    Blog Entries
    1

    Default Re: Why is my hexacore Xeon at 100% for copying some files via samba?

    Bug report perhaps? I don't observe such crippling behaviour when transferring large numbers of files (~500MB) from a samba client to a server for example.
    openSUSE Leap 15.2; KDE Plasma 5

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •