Indeed, that patch looks very promising. If I understand it correctly,
it could help with reducing swapping, reducing memory usage, and
decreasing CPU utilization. Let's hope someone has the ability to test
this patch to verify it solves this bug.

** Changed in: linuxdcpp
       Status: New => Incomplete

** Tags added: core hashing

-- 
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++: Incomplete

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



_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to