DC uses CPU too much

Asked by Olorin

I use Intel Pentium Northwood 2.6. DC always use more than 10%. What esle does the program do, excluding answer searches, file transfer and hash? I know the CPU is old but I use utorrent with more than 1000 connections a time with 5-10% CPU usage. Could you enlight the code, please! It can be very usefull for terabyte shares...

Question information

Language:
English Edit question
Status:
Solved
For:
DC++ Edit question
Assignee:
No assignee Edit question
Solved by:
Olorin
Solved:
Last query:
Last reply:
Revision history for this message
Olorin (vivliofika) said :
#1

I use Intel Pentium Northwood 2.6. DC always use more than 10%. What esle does the program do, excluding answer searches, file transfer and hash? I know the CPU is old but I use utorrent with more than 1000 connections a time with 5-10% CPU usage. Could you enlight the code, please! It can be very usefull for terabyte shares...

Revision history for this message
eMTee (realprogger) said :
#2

Please go through the attached faq for tips about your problem.
If the problem still exists, we'd like to know your OS, DC++ version the size of your download queue and the number of hubs you're in. If your queue is large and you visit many hubs with large usercount, this cpu usage is normal on your CPU.

..and please do NOT modify any >bug status< in our bug tracker, thank you!

Revision history for this message
eMTee (realprogger) said :
#3

eMTee suggests this article as an answer to your question:
FAQ #591: “My DC++ lags or uses 100% CPU. What can I do?”.

Revision history for this message
Olorin (vivliofika) said :
#4

queue is empty. I use 4 hubs with 50k users. It's new at all. It's only 10 years old... Share is 752GB and 5k files. Does 13-15% of CPU is normal? I used linux on P3 700MGz DRAM133 2 years ago (share was 450GB and 20k users), but CPU usage was about 5% with gigabit ethernet. It's fast ethernet now and 2.4 GGz+1Gb DDR. LinuxDCPP uses your core 701.

sorry if I changed something wrong.

Revision history for this message
Olorin (vivliofika) said :
#5

why don't you think the code can be enlited? Did you, DC team, already worked about?

Revision history for this message
Olorin (vivliofika) said :
#6

**** The machine is new at all, the computer.

Revision history for this message
eMTee (realprogger) said :
#7

Your problem is under Linux with LinuxDC++?

Revision history for this message
Olorin (vivliofika) said :
#8

I use windows version now.

Revision history for this message
eMTee (realprogger) said :
#9

I've just logged in to the 3 largest hubs with about 50000 online users overall and the CPU usage is 8-10% for me. I have an AMD X2 5200+ which isn't a new one either but at least two times faster than yours... So I suppose it's normal.

And yes, every code can be improved but given the fact that most people use CPUs with 6-8 cores these days, it isn't a serious problem for most people. The time and the effort required simply wouldn't pay off in my opinion.

Revision history for this message
Olorin (vivliofika) said :
#10

ok-ok... please, just note slow machines when make a new code, please! It's impotant. - This is my opinion.