Excessive swapping during hash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LinuxDC++ |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
There is a reproducable problem in linuxdcpp (or maybe it is the kernel/libc?), where hashing a large file causes excessive swapping to occur, while memory usage is far from 100%. I've seen this on at least two different machines, both working under gentoo amd64 and both using 2.6.29.2 kernel.
Steps to reproduce:
1. Start X/GNOME/KDE, some programs in the background to give system something to swap
2. Start hashing some _big_ files (say, 2GIG and more on a system with 4GiGs of RAM)
3. See swapping to occur
I don't know whether thisi is a kernel or stdlib or linuxdcpp issue, but I only see such swapping with linuxdcpp
Here is a "vmstat 2" output during hashing of two big files in the attachment
Unable to reproduce. Gentoo x86, 2.6.27-gentoo-r10, 4G RAM.
Hashed 4G file without swapping.
--RZ