Reputation
387
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 11
Impact
~49k people reached

Jun
3
comment How to set hwclock to UTC?
hwclock shows the local time, even if the hardware clock is on UTC. To find out what's really going on, use timedatectl — "RTC time" is your hardware clock. Use ntpd -qg and hwclock -w to get the hardware clock set right.
Jun
3
comment kswapd often uses 100% CPU when swap is in use
I was still experiencing the problem with swap disabled, so I assumed it would be the same for a small amount of swap. I'm trying it now with a 1GB swap partition, but I'm still seeing 100% CPU usage.
Jun
3
comment kswapd often uses 100% CPU when swap is in use
Doesn't seem to make any difference. Sorry.
Jun
3
comment kswapd often uses 100% CPU when swap is in use
zsh: command not found: sar
Jun
2
comment kswapd often uses 100% CPU when swap is in use
free shows 1.0G used, 545M cache, 425M available. Seems pretty normal to me.
Jun
2
comment kswapd often uses 100% CPU when swap is in use
What are sar majft and pgscank? I couldn't find them on my machine or in my package manager (pacman).
Jun
2
comment kswapd often uses 100% CPU when swap is in use
Unfortunately that has no effect, and /proc/sys/vm/drop_caches stays at 1.
Jun
2
comment kswapd often uses 100% CPU when swap is in use
Regarding SSDs, I think their fragility compared to HDDs is often exaggerated; even with flat out writing and erasing, it can take years to wear out an SSD. Even if I'm wrong and wear my SSD out, I'll should still be able to recover my data, and will only have lost a $30 SSD.
Jun
2
comment kswapd often uses 100% CPU when swap is in use
I added the information to my question. Arch Linux has an AUR package for building Linux with UltraKSM, so I might try that. Thanks for the help!
Jun
2
revised kswapd often uses 100% CPU when swap is in use
add kernel settings information
Jun
2
comment kswapd often uses 100% CPU when swap is in use
@fgbreel: irqbalance is not running. /proc/interrupts seems more or less balanced. The problem really only affects 1 CPU at a time.
Jun
2
revised kswapd often uses 100% CPU when swap is in use
add process name and %CPU
Jun
2
comment How do I tell what process is causing kswapd to be in use?
@Paul: Are you sure? top is telling me that no time is being spent in IO wait, and almost 100% time is being spent in system. More info: kswapd often uses 100% CPU when swap is in use
Jun
2
comment why is kswapd using high CPU on an idle system?
@Tino: Sure. Here's the link if interested: kswapd often uses 100% CPU when swap is in use
Jun
2
asked kswapd often uses 100% CPU when swap is in use
Jun
1
comment How do I tell what process is causing kswapd to be in use?
Even if a machine needs to use a lot of swap space, it shouldn't take 100% CPU to do it. Something is odd.
Jun
1
comment why is kswapd using high CPU on an idle system?
Err, I'm using Linux 4.0, and I'm having this problem.
May
17
comment rsync is just hanging, building file list
Wow strace is cool! You'll probably find that something circular is going on: Like a link that refers to one of its ancestor directories. In my case I was using a virtual filesystem that had no limit on its depth, i.e. it had "infinitely" many subdirectories tagfs/books/+/books/+/books/+/ ...
May
11
comment How to convert a postgres database to sqlite
The same question on StackOverflow.
Sep
24
awarded  Autobiographer