← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 376896] Re: Excessive swapping during hash

 

Rebuilt with hashmanager from dcpp fith debug=true (not sure whether
this matters here). Started from terminal and turned on system log (also
not sure). There are no error messages from mmap/madvise either in the
terminal nor in system.log

Did I do everything right?

-- 
Excessive swapping during hash
https://bugs.launchpad.net/bugs/376896
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.

Status in Linux DC++: New

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