Hi,
I noticed that the [kswapd0] thread was eating 3-7% cpu time but no
swapspace has been used yet. This is with a just booted 2.6.25.4 system,
currently with some disk i/o going on.
So I figured that kswapd might not be responsible for "swapping" after
all, although the name suggests it. Grep'ing Documentation/ for kswapd did
not reveal much. Is the paper from Kanoj[0] still valid for 2.6 kernels?
The SGI page referenced in Documentation/kernel-docs.txt is down, but
there's a .txt version on [1] which tells me:
"When memory runs low, and a process can not find a free page, it wakes
up kswapd, the memory stealer"
So, if I'd run low on memory, kswapd would be active. But I don't see that
in free(1):
# free -m
total used free shared buffers cached
Mem: 2023 1662 360 0 820 315
-/+ buffers/cache: 526 1496
Swap: 1505 0 1505
If you're interested, there are more details at
http://nerdbynature.de/bits/2.6.25.4/kswapd
Thanks,
Christian.
[0] http://reality.sgi.com/kanoj_engr/vm229.html
[1] http://www.cse.unsw.edu.au/~neilb/oss/linux-commentary/
--
BOFH excuse #197:
I'm sorry a pentium won't do, you need an SGI to connect with us.
--
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Linux 2.6.27 |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
git: | |
| Denis Bueno | Recovering from repository corruption |
| Linus Torvalds | I'm a total push-over.. |
| J. Bruce Fields | "failed to read delta base object at..." |
| Robin Rosenberg | Re: [wishlist] graphical diff |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Real men don't attack straw men |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Paolo Supino | order |
| Simon Horman | Possible regression in HTB |
| Corey Hickey | SFQ: backport some features from ESFQ (try 4) |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Ingo Molnar | Re: [crash] kernel BUG at net/core/dev.c:1328! |
| usb mic not detected | 17 minutes ago | Applications and Utilities |
| Problem in Inserting a module | 1 hour ago | Linux kernel |
| Treason Uncloaked | 6 hours ago | Linux kernel |
| Shared swap partition | 17 hours ago | Linux general |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 2 days ago | Linux general |
| Where/when DNOTIFY is used? | 2 days ago | Linux kernel |
