Periodic CPU Spikes *RESOLVED*

General support for problems installing or using Deluge
Post Reply
BK201
Member
Member
Posts: 26
Joined: Fri Aug 01, 2008 2:35 pm

Periodic CPU Spikes *RESOLVED*

Post by BK201 »

Finally upgraded from .5x to 1.1.1 and I'm loving the new hotness. Only issue is I am seeing periodic cpu spikes, every few minutes usage on one core (dual core cpu) will spike to 100% for 30 seconds or so, bringing the cpu out of idle (cool n quiet). It doesn't seem to matter if I'm downloading/uploading anything for this to occur.

system is

Code: Select all

$ emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r0, 2.6.27.8 x86_64)
=================================================================
System uname: Linux-2.6.27.8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.2.5
Timestamp of tree: Wed, 28 Jan 2009 02:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3 -mtune=athlon64 -mfpmath=sse"
boost version is 1.35.0
libtorrent is 0.12.2

I'm not sure if its a bug in deluge or something with my system, anyone else experiencing this?

EDIT: I should mention that deluged is the process responsible, the deluge process behaves fine.
Last edited by BK201 on Fri Jan 30, 2009 10:44 pm, edited 1 time in total.
Love Snowball

Re: Periodic CPU Spikes

Post by Love Snowball »

I have an older version of Deluge (0.5.9.3) that is behaving similarly. After a very short testing it seems that the problem is caused by throttling downloading speed.
k3rnelmust4rd
New User
New User
Posts: 5
Joined: Thu Jan 29, 2009 9:46 pm

Re: Periodic CPU Spikes

Post by k3rnelmust4rd »

Every few minutes? It happens to me sometimes too, but I'm not sure it's that often. I'm using 1.0.7-r1 on gentoo, I've had download throttling (not much) on for the whole test, but it seemed when heavy upload throttling was on for it to be a bit worse.
BK201
Member
Member
Posts: 26
Joined: Fri Aug 01, 2008 2:35 pm

Re: Periodic CPU Spikes

Post by BK201 »

I'm not using any throttling down but I am throttling up. I do have 22 torrents seeding ranging from 1GB to 10GB each.

Yes, its every few minutes. I tracked the cpu usage with conky and it shows the spikes at steady intervals.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Periodic CPU Spikes

Post by andar »

This is a known issue with boost.asio in 1.35.. Please either use 1.34 or 1.36+
BK201
Member
Member
Posts: 26
Joined: Fri Aug 01, 2008 2:35 pm

Re: Periodic CPU Spikes

Post by BK201 »

>= boot-1.36 is still hard masked in portage, but 1.34 fixes the problems.

keep up the good work! best BT client around 8-)
Love Snowball

Re: Periodic CPU Spikes *RESOLVED*

Post by Love Snowball »

It seems that my problem with periodic CPU spikes is a different problem. As I said I have a older version of Deluge (the version that is available in ubuntu 8.10.) and the problem might be already fixed in later versions. It only manifests when downloading speed is throttled. I have 1.34.1 versions of the libboost-packages.
Frye

Re: Periodic CPU Spikes *RESOLVED*

Post by Frye »

Just confirming that indeed both boost 1.37 and 1.34-1r2 solved this for the versions i tested (1.1.1 and 1.1.2) on Gentoo. Boost 1.37 was hard masked for good reason (stay clear!) and 1.35 should not have been flagged as stable in my humble opinion, so 1.34 would be the way to go. Anyways, great job on Deluge, fast becoming the utorrent of linux.
Post Reply